瀏覽代碼

Added missing X-Forwarded-Proto header

pull/1182/head
Toorero 4 年之前
父節點
當前提交
b5ab31240f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      examples/apache/matrix-synapse.conf

+ 2
- 0
examples/apache/matrix-synapse.conf 查看文件

@@ -32,6 +32,7 @@
ProxyPreserveHost On
ProxyRequests Off
ProxyVia On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}

# Keep some URIs free for different proxy/location
ProxyPassMatch ^/.well-known/matrix/client !
@@ -111,6 +112,7 @@ Listen 8448
ProxyPreserveHost On
ProxyRequests Off
ProxyVia On
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}

# Proxy all remaining traffic to the Synapse port
# Beware: In this example the local traffic goes to the local synapse server at 127.0.0.1


Loading…
取消
儲存