Merge pull request #1359 from jariz/patch-1

caddy example fixes
This commit is contained in:
Slavi Pantaleev 2021-10-28 14:33:13 +03:00 committed by GitHub
commit 28fe9ffed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ https://matrix.DOMAIN {
root /matrix/static-files root /matrix/static-files
header { header / {
Access-Control-Allow-Origin * Access-Control-Allow-Origin *
Strict-Transport-Security "mag=age=31536000;" Strict-Transport-Security "mag=age=31536000;"
X-Frame-Options "DENY" X-Frame-Options "DENY"
@ -13,10 +13,10 @@ https://matrix.DOMAIN {
} }
# Identity server traffic # Identity server traffic
proxy /_matrix/identity matrix-msisd:8090 { proxy /_matrix/identity matrix-ma1sd:8090 {
transparent transparent
} }
proxy /_matrix/client/r0/user_directory/search matrix-msisd:8090 { proxy /_matrix/client/r0/user_directory/search matrix-ma1sd:8090 {
transparent transparent
} }