commit ff2d146078abd125161d7b1ebabf9f3ac50db9d2
parent 3d9a185baf33344ed6f8f1312865b177d25367c6
Author: Paul Szymanski <519954+PaulSzymanski@users.noreply.github.com>
Date: Sun, 12 Jul 2020 19:02:29 +0200
Add cache-control: no-cache to nginx config
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/nginx/default.conf b/nginx/default.conf
@@ -5,6 +5,8 @@ server {
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
+ expires epoch;
+
location / {
root /usr/share/nginx/html;
index index.html index.htm;
@@ -42,6 +44,8 @@ server {
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
+ expires epoch;
+
location / {
root /usr/share/nginx/html;
index index.html index.htm;