Files
whale-town-front-v2/deploy/nginx/whaletown-front-v2.conf.example
xiangwang fc6c3c1bd3 feat: expand multiplayer, chat, and release support
- add network NPC synchronization and dialogue interactions
- add world bulletin publishing and display
- improve authentication, session refresh, and appearance sync
- synchronize player direction and movement animations
- improve input focus and progressive Web loading
- add macOS/Windows builds and deployment configuration
- include required fonts, shaders, and runtime assets
2026-09-08 21:37:43 +08:00

36 lines
796 B
Plaintext

server {
listen 80;
server_name whaletown.novamailio.com;
root /var/www/whale-town-front-v2/build/web;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-cache";
}
location ~* \.wasm$ {
default_type application/wasm;
expires 5m;
add_header Cache-Control "public, max-age=300";
try_files $uri =404;
}
location ~* \.pck$ {
default_type application/octet-stream;
expires 5m;
add_header Cache-Control "public, max-age=300";
try_files $uri =404;
}
location ~* \.(?:js|png|ico)$ {
expires 5m;
add_header Cache-Control "public, max-age=300";
try_files $uri =404;
}
}