Files
neon-vortex/htlm/nginx.conf
Neon Vortex ce8d9029c1
Some checks failed
Build and Push to Harbor / build-and-push (push) Has been cancelled
Fix Neon Vortex button input and add Jellyfin WAL mode
- Comment out CORS headers in nginx.conf to fix button input blocking
- Add WAL enable job for Jellyfin to resolve database locking issues
- Include comprehensive troubleshooting documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 17:51:34 -05:00

44 lines
1.3 KiB
Nginx Configuration File

server {
listen 8080;
server_name _;
root /usr/share/nginx/html;
index "Neon Vortex.html";
# Enable gzip compression
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript application/wasm;
gzip_min_length 1000;
# MIME types for WASM and other assets
types {
application/wasm wasm;
application/javascript js;
text/html html;
application/json json;
image/png png;
}
# Security headers
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
# CORS headers for web workers and WASM
# ONLY NEEDED IF GODOT EXPORT USES THREADS MODE
# These headers can block input if export is "Regular" (non-threaded)
# Commenting out to fix button input issues
# add_header Cross-Origin-Embedder-Policy "require-corp" always;
# add_header Cross-Origin-Opener-Policy "same-origin" always;
location / {
try_files $uri $uri/ "/Neon Vortex.html";
}
# Cache static assets
location ~* \.(png|jpg|jpeg|gif|ico|wasm|js|css)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
}