nginx: kill cache
This commit is contained in:
parent
56d68c4845
commit
2aa0585e09
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user