2023-08-05 14:06:39 +08:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
server_name www.19yuke2.cn;
|
|
|
|
|
2023-08-06 14:47:21 +08:00
|
|
|
gzip on;
|
|
|
|
gzip_min_length 1k;
|
|
|
|
gzip_buffers 4 16k;
|
|
|
|
gzip_http_version 1.1;
|
|
|
|
gzip_comp_level 9;
|
|
|
|
gzip_types text/plain application/x-javascript text/css application/xml text/javascript application/javascript application/json;
|
|
|
|
gzip_disable "MSIE [1-6]\.";
|
|
|
|
gzip_vary on;
|
|
|
|
|
2023-08-05 14:06:39 +08:00
|
|
|
location / {
|
2023-08-12 17:51:26 +08:00
|
|
|
root /usr/share/nginx/html;
|
2023-08-13 12:09:28 +08:00
|
|
|
try_files $uri $uri.html /index.html;
|
2023-08-05 14:06:39 +08:00
|
|
|
}
|
|
|
|
}
|