Parcourir la source

Add cache-control: no-cache to nginx config

Paul Szymanski il y a 4 ans
Parent
commit
ff2d146078
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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;