Archived
first commit
This commit is contained in:
1 parent
2f9d507bf9
commit
53e7a70d31
1 file changed
+2
-4
@@ -77,12 +77,10 @@ server {
|
||||
}
|
||||
|
||||
location / {
|
||||
index index.html;
|
||||
|
||||
try_files $uri =404;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
if ($static_file) {
|
||||
add_header Cache-Control "public, max-age=31536000, immutable" always;
|
||||
add_header Cache-Control "max-age=600" always;
|
||||
}
|
||||
|
||||
add_header Cache-Control "no-store, no-cache" always;
|
||||
|
||||
Reference in new issue
Block a user