mirror of
https://github.com/plausible/hosting.git
synced 2024-12-22 12:03:18 -06:00
Fix Nginx websocket config: proxy_pass is not inherited
This commit is contained in:
parent
7d18ea8f5a
commit
c5f3386338
@ -10,6 +10,7 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
location = /live/websocket {
|
location = /live/websocket {
|
||||||
|
proxy_pass http://127.0.0.1:8000;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade";
|
proxy_set_header Connection "Upgrade";
|
||||||
|
Loading…
Reference in New Issue
Block a user