Restore videoreg public guide site with static isolated deployment
Production container deploy / production (push) Failing after 2m34s
Production container deploy / production (push) Failing after 2m34s
This commit is contained in:
1 parent
2ce58fcbc0
commit
53e4f06486
35 files changed
+599
-355
No files matched your search
@@ -0,0 +1,19 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
charset utf-8;
|
||||
server_tokens off;
|
||||
absolute_redirect off;
|
||||
add_header X-Content-Type-Options nosniff always;
|
||||
add_header Referrer-Policy strict-origin-when-cross-origin always;
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'" always;
|
||||
location = /auto.shtml { return 308 /guides/choose; }
|
||||
location /api/ { return 404; }
|
||||
location ~ /showcase/?$ { return 404; }
|
||||
location /_next/static/ { expires 1y; add_header Cache-Control "public, immutable"; }
|
||||
location /health/ { default_type application/json; try_files $uri =503; }
|
||||
location / { try_files $uri $uri.html $uri/ =404; }
|
||||
error_page 404 /404.html;
|
||||
location = /404.html { internal; }
|
||||
}
|
||||
Reference in new issue
Block a user