Prevent stale web shell caching
This commit is contained in:
@@ -82,7 +82,9 @@
|
|||||||
gzip_static on;
|
gzip_static on;
|
||||||
root ${staticAssetsPath};
|
root ${staticAssetsPath};
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
add_header Cache-Control "no-cache, must-revalidate";
|
etag off;
|
||||||
|
if_modified_since off;
|
||||||
|
add_header Cache-Control "no-store" always;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user