From 4fb188b93eb4f5b47ff5ec2d619c87b3269e829a Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Tue, 18 Dec 2018 04:31:35 +0300 Subject: [PATCH] fixed cache-control --- configs/nginx/loc-nocache.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;