Fix nginx config for index file with spaces
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled

This commit is contained in:
Neon Vortex
2025-11-21 20:03:28 -05:00
parent f947438a7d
commit 45ed88a3cd

View File

@@ -3,7 +3,7 @@ server {
server_name _; server_name _;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index Neon\ Vortex.html; index "Neon Vortex.html";
# Enable gzip compression # Enable gzip compression
gzip on; gzip on;
@@ -29,7 +29,7 @@ server {
add_header Cross-Origin-Opener-Policy "same-origin" always; add_header Cross-Origin-Opener-Policy "same-origin" always;
location / { location / {
try_files $uri $uri/ /Neon\ Vortex.html; try_files $uri $uri/ "/Neon Vortex.html";
} }
# Cache static assets # Cache static assets