فهرست منبع

Add cache-control: no-cache to nginx config

Paul Szymanski 4 سال پیش
والد
کامیت
ff2d146078
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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;