Luyus
This commit is contained in:
12
nginx.conf
12
nginx.conf
@@ -27,15 +27,3 @@ server {
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml;
|
||||
gzip_min_length 1024;
|
||||
}
|
||||
|
||||
# 禁用缓存 index.html
|
||||
location = /index.html {
|
||||
expires -1;
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
||||
}
|
||||
|
||||
# Gzip 压缩
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml;
|
||||
gzip_min_length 1024;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user