Merge pull request #652 from 0hlov3/master

Corrects the Caddyfile
This commit is contained in:
Slavi Pantaleev 2020-09-15 15:58:14 +03:00 committed by GitHub
commit 1ffa871eaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}