nginx: kill cache

This commit is contained in:
Chika 2022-12-09 15:08:27 +03:00
parent 56d68c4845
commit 2aa0585e09

View File

@ -28,6 +28,13 @@ server {
location / {
auth_request /auth;
# kill cache
add_header Last-Modified $date_gmt;
add_header Cache-Control 'no-store, no-cache';
if_modified_since off;
expires off;
etag off;
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html =404;
}