Explorar o código

Add cache-control: no-cache to nginx config

Paul Szymanski %!s(int64=4) %!d(string=hai) anos
pai
achega
ff2d146078
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      nginx/default.conf

+ 4 - 0
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;