matrix-ntfy: enable WebSocket proxying
This commit is contained in:
parent
ec9f8e2931
commit
2a516a16fb
|
@ -27,6 +27,8 @@
|
||||||
{# Generic configuration for use outside of our container setup #}
|
{# Generic configuration for use outside of our container setup #}
|
||||||
proxy_pass http://127.0.0.1:80;
|
proxy_pass http://127.0.0.1:80;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For {{ matrix_nginx_proxy_x_forwarded_for }};
|
proxy_set_header X-Forwarded-For {{ matrix_nginx_proxy_x_forwarded_for }};
|
||||||
|
|
Loading…
Reference in a new issue