|
|
@ -214,20 +214,21 @@ element.DOMAIN.tld {
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
#}
|
|
|
|
#}
|
|
|
|
DOMAIN.com {
|
|
|
|
#DOMAIN.com {
|
|
|
|
@wellknown {
|
|
|
|
# Uncomment this if you are following "(Option 3): Setting up reverse-proxying of the well-known files from the base domain's server to the Matrix server" of https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-well-known.md#option-3-setting-up-reverse-proxying-of-the-well-known-files-from-the-base-domains-server-to-the-matrix-server
|
|
|
|
path /.well-known/matrix/*
|
|
|
|
# @wellknown {
|
|
|
|
}
|
|
|
|
# path /.well-known/matrix/*
|
|
|
|
|
|
|
|
# }
|
|
|
|
handle @wellknown {
|
|
|
|
#
|
|
|
|
reverse_proxy https://matrix.DOMAIN.com {
|
|
|
|
# handle @wellknown {
|
|
|
|
header_up Host {http.reverse_proxy.upstream.hostport}
|
|
|
|
# reverse_proxy https://matrix.DOMAIN.com {
|
|
|
|
}
|
|
|
|
# header_up Host {http.reverse_proxy.upstream.hostport}
|
|
|
|
}
|
|
|
|
# }
|
|
|
|
# Configration for the base domain goes here
|
|
|
|
# }
|
|
|
|
# handle {
|
|
|
|
# # Configration for the base domain goes here
|
|
|
|
# header -Server
|
|
|
|
# # handle {
|
|
|
|
# encode zstd gzip
|
|
|
|
# # header -Server
|
|
|
|
# reverse_proxy localhost:4020
|
|
|
|
# # encode zstd gzip
|
|
|
|
# }
|
|
|
|
# # reverse_proxy localhost:4020
|
|
|
|
}
|
|
|
|
# # }
|
|
|
|
|
|
|
|
#}
|
|
|
|