fix(docker): update nginx server_name to catch-all for flexible routing

Changed server_name from 'localhost' to '_' in Dockerfile.frontend to make the nginx config a default catch-all server, allowing it to handle requests not matched by other server blocks, improving deployment flexibility beyond localhost.

lemon-mint committed Nov 1, 2025 at 02:43 UTC 5288ea4a1817d7929a29cc172c9f8e75b2e0a73f
1 file changed +1 -1
Dockerfile.frontend
+1 -1
@@ -20,7 +20,7 @@ COPY --from=builder /src/bin/main.wasm /usr/share/nginx/html/main.wasm
20 # Create nginx config for SPA routing
21 RUN echo 'server { \
22 listen 80; \
23 - server_name localhost; \
23 + server_name _; \
24 root /usr/share/nginx/html; \
25 index index.html; \
26 \