nginx.conf: kill cache for html type

This commit is contained in:
Chika 2022-04-08 14:41:29 +03:00
parent 39b3a0aa8a
commit 24c5514dee

View File

@ -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;
}