瀏覽代碼

Update configuring-well-known.md

pull/1820/head
brush 3 年之前
committed by GitHub
父節點
當前提交
34de6c9c66
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 3 行新增4 行删除
  1. +3
    -4
      docs/configuring-well-known.md

+ 3
- 4
docs/configuring-well-known.md 查看文件

@@ -98,16 +98,15 @@ server {
} }
``` ```


**For Apache**, it would be something like this:
**For Apache2**, it would be something like this:


```apache ```apache
<VirtualHost *:443> <VirtualHost *:443>
ServerName DOMAIN ServerName DOMAIN


SSLProxyEngine on SSLProxyEngine on
<Location /.well-known/matrix>
ProxyPass "https://matrix.DOMAIN/.well-known/matrix"
</Location>
ProxyPass /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon
ProxyPassReverse /.well-known/matrix https://matrix.DOMAIN/.well-known/matrix nocanon


# other configuration # other configuration
</VirtualHost> </VirtualHost>


Loading…
取消
儲存