File size: 447 Bytes
f59c380 512ad5f f59c380 e644ec6 f59c380 e644ec6 f59c380 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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;
}
}
|