argos/dmp-frontend/nginx.conf.CI

35 lines
763 B
Plaintext
Raw Permalink Normal View History

2020-09-24 16:20:33 +02:00
server {
listen 8080;
sendfile on;
default_type application/octet-stream;
gzip on;
gzip_http_version 1.1;
gzip_disable "MSIE [1-6]\.";
gzip_min_length 1100;
gzip_vary on;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_comp_level 9;
root /usr/share/nginx/html;
location / {
try_files $uri $uri/ /index.html =404;
2021-01-22 09:32:07 +01:00
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
location = /assets/config.json {
add_header Cache-Control "no-store, no-cache, must-revalidate";
2020-09-24 16:20:33 +02:00
}
}