2025-04-21 23:22:32 +02:00
|
|
|
mud.iamtalon.me {
|
2026-09-09 13:04:56 +02:00
|
|
|
header {
|
|
|
|
|
Content-Security-Policy "default-src 'self'; connect-src 'self' wss://mud.iamtalon.me; img-src 'self' data:; media-src 'self' https: blob:; style-src 'self' 'unsafe-inline'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'; form-action 'self'"
|
|
|
|
|
Referrer-Policy "no-referrer"
|
|
|
|
|
X-Content-Type-Options "nosniff"
|
|
|
|
|
X-Frame-Options "DENY"
|
|
|
|
|
Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
|
|
|
|
}
|
2025-04-22 00:08:42 +02:00
|
|
|
# For WebSocket requests to /mud-ws, proxy to the WebSocket server on port 3001
|
2025-04-21 23:43:50 +02:00
|
|
|
@websocket {
|
|
|
|
|
path /mud-ws*
|
|
|
|
|
}
|
2026-09-09 13:04:56 +02:00
|
|
|
reverse_proxy @websocket svelte-mud-proxy:3001
|
2025-04-21 23:43:50 +02:00
|
|
|
|
|
|
|
|
# For all other requests, proxy to the SvelteKit app on port 3000
|
2026-09-09 13:04:56 +02:00
|
|
|
reverse_proxy svelte-mud-app:3000
|
2025-04-21 23:22:32 +02:00
|
|
|
}
|