fix: serve frontend and configure local web port

This commit is contained in:
2026-09-25 11:55:14 +08:00
parent 1605ae6410
commit 53939e1eb9
4 changed files with 7 additions and 2 deletions
+2
View File
@@ -1,5 +1,7 @@
server {
listen 80;
root /usr/share/nginx/html;
index index.html;
location = /health { add_header Content-Type text/plain; return 200 'ok'; }
location /api/ { proxy_pass http://api:8000; proxy_set_header Host $host; client_max_body_size 1m; }
location / { try_files $uri /index.html; }