the-forest/the-forest.nginx.conf

17 lines
408 B
Plaintext
Raw Normal View History

2024-09-24 22:49:37 -04:00
# another virtual host using mix of IP-, name-, and port-based configuration
server {
listen 8080;
location /api/ {
proxy_pass http://localhost:3001/api/;
# WebSocket support
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
2024-09-24 22:49:37 -04:00
}
location / {
proxy_pass http://localhost:3000/;
}
}