Reapply "fix: that didnt fix the nav issues?"

This reverts commit 77d75ef5a9.
This commit is contained in:
not-nullptr 2025-04-13 13:50:56 +01:00
parent a86c00abf3
commit dda20f13a6
1 changed files with 13 additions and 4 deletions

View File

@ -3,14 +3,23 @@ server {
server_name vert;
root /usr/share/nginx/html;
index index.html;
client_max_body_size 10M;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2?|eot|ttf|svg|otf|webp)$ {
expires 6M;
access_log off;
add_header Cache-Control "public";
}
error_page 404 /index.html;
add_header Cross-Origin-Embedder-Policy "require-corp";
add_header Cross-Origin-Opener-Policy "same-origin";
add_header Cross-Origin-Resource-Policy "cross-origin";
location / {
try_files $uri /index.html;
}
}