Spaces:
Running
Running
Disable caching
Browse files- 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 |
}
|