소스 검색

append websocket upgrade rule to apache example config

pull/4524/head
mcnesium 8 달 전
committed by Slavi Pantaleev
부모
커밋
3462196eb3
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      examples/reverse-proxies/apache/matrix-domain.conf

+ 6
- 0
examples/reverse-proxies/apache/matrix-domain.conf 파일 보기

@@ -33,6 +33,12 @@
ProxyRequests Off
ProxyVia On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
ProxyTimeout 86400

RewriteEngine On
RewriteCond %{HTTP:Connection} Upgrade [NC]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://127.0.0.1:81/$1 [P,L]

AllowEncodedSlashes NoDecode
ProxyPass / http://127.0.0.1:81/ retry=0 nocanon


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