bibekyess commited on
Commit
d9ee019
·
verified ·
1 Parent(s): fe7e82b

Disable caching

Browse files
Files changed (1) hide show
  1. nginx.conf +5 -0
nginx.conf CHANGED
@@ -7,4 +7,9 @@ server {
7
  index index.html;
8
  try_files $uri $uri/ /index.html;
9
  }
 
 
 
 
 
10
  }
 
7
  index index.html;
8
  try_files $uri $uri/ /index.html;
9
  }
10
+
11
+ # Disable caching for all files
12
+ add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
13
+ add_header Pragma "no-cache";
14
+ expires off;
15
  }