From 77d75ef5a9a6385876a64d8d0d36d905ff85e270 Mon Sep 17 00:00:00 2001 From: not-nullptr <62841684+not-nullptr@users.noreply.github.com> Date: Sun, 13 Apr 2025 12:56:07 +0100 Subject: [PATCH] Revert "fix: that didnt fix the nav issues?" This reverts commit a8386ee3f1efc40c37828f780e75cb3a8df4b12b. --- nginx.conf | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/nginx.conf b/nginx.conf index d9cc10f..c921fb8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,23 +3,14 @@ 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; + } } \ No newline at end of file