summaryrefslogtreecommitdiff
path: root/configs/nginx
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-12-18 04:31:35 +0300
committerDevaev Maxim <[email protected]>2018-12-18 04:31:35 +0300
commit4fb188b93eb4f5b47ff5ec2d619c87b3269e829a (patch)
tree095ab5c307b10e450782970c3c88f2805218df62 /configs/nginx
parent568e6cb02231ef8710a8842db52aa95c14ead227 (diff)
fixed cache-control
Diffstat (limited to 'configs/nginx')
-rw-r--r--configs/nginx/loc-nocache.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/nginx/loc-nocache.conf b/configs/nginx/loc-nocache.conf
index b088783b..077aec3a 100644
--- a/configs/nginx/loc-nocache.conf
+++ b/configs/nginx/loc-nocache.conf
@@ -1 +1,2 @@
-include /etc/nginx/loc-nocache.conf;
+add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, pre-check=0, post-check=0, max-age=0";
+expires -1;