fix: that didnt fix the nav issues?

This commit is contained in:
not-nullptr 2025-04-13 12:44:01 +01:00
parent 36e186c90d
commit a8386ee3f1
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;
}
}