mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
24 lines
510 B
Nginx Configuration File
24 lines
510 B
Nginx Configuration File
server {
|
|
listen 8080;
|
|
server_name localhost;
|
|
|
|
root /app;
|
|
gzip_static on;
|
|
gzip_vary on;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
|
}
|
|
|
|
# assets can be cached because they have hashed filenames
|
|
location /assets {
|
|
add_header Cache-Control "public, immutable, max-age=31536000";
|
|
}
|
|
|
|
location /apple-app-site-association {
|
|
default_type application/json;
|
|
}
|
|
}
|
|
|