瀏覽代碼

Merge pull request #652 from 0hlov3/master

Corrects the Caddyfile
pull/653/head
Slavi Pantaleev 5 年之前
committed by GitHub
父節點
當前提交
1ffa871eaf
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      examples/caddy2/Caddyfile

+ 2
- 2
examples/caddy2/Caddyfile 查看文件

@@ -49,7 +49,7 @@ matrix.DOMAIN.tld {

# identity
handle @identity {
reverse_proxy localhost:8090/_matrix/identity {
reverse_proxy localhost:8090 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Forwarded-TlsProto {tls_protocol}
@@ -60,7 +60,7 @@ matrix.DOMAIN.tld {

# search
handle @search {
reverse_proxy localhost:8090/_matrix/client/r0/user_directory/search {
reverse_proxy localhost:8090 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Forwarded-TlsProto {tls_protocol}


Loading…
取消
儲存