Evo.Internal/nginx.conf
2023-11-01 09:38:57 +03:00

30 lines
979 B
Nginx Configuration File

server {
listen 80;
gzip on;
gzip_min_length 1000;
gzip_proxied any;
gzip_comp_level 1;
gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/json application/xml application/rss+xml font/truetype font/opentype application/vnd.ms-fontobject image/svg+xml;
gzip_vary on;
gzip_disable "msie6";
include /etc/nginx/mime.types;
location / {
# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html =404;
}
location /download {
proxy_pass $URL_DOWNLOAD;
}
}