Corrects the Caddyfile
This commit is contained in:
parent
c366e26360
commit
59e1abb072
@ -49,7 +49,7 @@ matrix.DOMAIN.tld {
|
|||||||
|
|
||||||
# identity
|
# identity
|
||||||
handle @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-Port {http.request.port}
|
||||||
header_up X-Forwarded-Proto {http.request.scheme}
|
header_up X-Forwarded-Proto {http.request.scheme}
|
||||||
header_up X-Forwarded-TlsProto {tls_protocol}
|
header_up X-Forwarded-TlsProto {tls_protocol}
|
||||||
@ -60,7 +60,7 @@ matrix.DOMAIN.tld {
|
|||||||
|
|
||||||
# search
|
# search
|
||||||
handle @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-Port {http.request.port}
|
||||||
header_up X-Forwarded-Proto {http.request.scheme}
|
header_up X-Forwarded-Proto {http.request.scheme}
|
||||||
header_up X-Forwarded-TlsProto {tls_protocol}
|
header_up X-Forwarded-TlsProto {tls_protocol}
|
||||||
|
Loading…
Reference in New Issue
Block a user