Przeglądaj źródła

matrix-ntfy: enable WebSocket proxying

pull/1918/head
Julian Foad 3 lat temu
rodzic
commit
2a516a16fb
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-ntfy.conf.j2

+ 2
- 0
roles/matrix-nginx-proxy/templates/nginx/conf.d/matrix-ntfy.conf.j2 Wyświetl plik

@@ -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 }};


Ładowanie…
Anuluj
Zapisz