server { listen 80; server_name {{ http_host }}; location / { proxy_set_header Host $http_host; proxy_pass http://localhost:3005/; } location /api/live/ { 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/; } }