소스 검색

matrix-ntfy: enable WebSocket proxying

pull/1918/head
Julian Foad 4 년 전
부모
커밋
2a516a16fb
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 파일 보기

@@ -27,6 +27,8 @@
{# Generic configuration for use outside of our container setup #}
proxy_pass http://127.0.0.1:80;
{% endif %}
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

proxy_set_header Host $host;
proxy_set_header X-Forwarded-For {{ matrix_nginx_proxy_x_forwarded_for }};


불러오는 중...
취소
저장