26 lines
640 B
Plaintext
26 lines
640 B
Plaintext
server {
|
|
listen 80;
|
|
|
|
gzip_static on;
|
|
gzip_proxied expired no-cache no-store private auth;
|
|
gzip on;
|
|
gzip_min_length 1k;
|
|
gzip_buffers 4 16k;
|
|
gzip_http_version 1.0;
|
|
gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png;
|
|
gzip_vary on;
|
|
|
|
gzip_comp_level 9;
|
|
gzip_disable "MSIE [1-6]\.";
|
|
location / {
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /config.json {
|
|
default_type application/json;
|
|
alias /usr/share/nginx/html/config.json;
|
|
}
|
|
}
|