Add legal consent and reliable external redirects
This commit is contained in:
@@ -41,6 +41,12 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location ~ ^/(terms\.html|privacy\.html|legal-page\.(css|js)|legal/legal_documents\.json|external-redirect\.html)$ {
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
|
||||
add_header X-Content-Type-Options "nosniff" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# Godot exports reuse these filenames across releases. Revalidate them so a
|
||||
# newly deployed index never boots an older cached project package.
|
||||
location ~ ^/(index\.(js|pck|wasm)|ranaze-loader-icon\.png|medmind-inter\.ttf)$ {
|
||||
|
||||
Reference in New Issue
Block a user