fix: serve frontend and configure local web port
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user