mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
20 lines
467 B
Nginx Configuration File
20 lines
467 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
gzip on;
|
|
gzip_types text/css application/javascript application/json image/svg+xml;
|
|
gzip_comp_level 9;
|
|
etag on;
|
|
location / {
|
|
try_files $uri $uri/ /browser/index.html;
|
|
}
|
|
location /static/ {
|
|
add_header Cache-Control max-age=31536000;
|
|
}
|
|
location /index.html {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
location /config.json {
|
|
add_header Cache-Control no-cache;
|
|
}
|
|
} |