nginx.conf: kill cache for html type
This commit is contained in:
parent
39b3a0aa8a
commit
24c5514dee
@ -16,6 +16,13 @@ server {
|
||||
}
|
||||
|
||||
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;
|
||||
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user