caddy example fixes
- caddy v1 requires a path in the header directive - msisd has been replaced in favour of ma1sd
This commit is contained in:
parent
c81ac90a05
commit
0a10077c63
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user