mirror of
https://github.com/plausible/hosting.git
synced 2024-11-17 05:15:57 -06:00
allow ws proxying in nginx
Relevant: - https://github.com/plausible/analytics/discussions/3826 - https://github.com/plausible/analytics/discussions/3817#discussioncomment-8615006
This commit is contained in:
parent
9c5b0c9be9
commit
cf97d39241
@ -8,5 +8,8 @@ server {
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8000;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user