2023-07-13 09:02:17 +00:00
|
|
|
server {
|
|
|
|
|
|
|
|
listen 80;
|
|
|
|
server_name {{ http_host }};
|
|
|
|
|
2023-07-13 09:34:43 +00:00
|
|
|
location / {
|
2023-07-13 09:02:17 +00:00
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_pass http://localhost:3005/;
|
|
|
|
}
|
|
|
|
|
2023-07-13 09:34:43 +00:00
|
|
|
location /api/live/ {
|
2023-07-13 09:02:17 +00:00
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_pass http://localhost:3005/;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|