AndesOps-AI / nginx.conf
Álvaro Valenzuela Valdes
fix: Move DB to /tmp for write permissions and simplify Nginx network rules
512ad5f
raw
history blame contribute delete
447 Bytes
server {
listen 7860;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
location /api {
proxy_pass http://127.0.0.1:8000;
proxy_set_header Host $host;
}
location /health {
proxy_pass http://127.0.0.1:8000/api/health;
}
}