Преглед на файлове

caddy example fixes

- caddy v1 requires a path in the header directive
- msisd has been replaced in favour of ma1sd
pull/1359/head
jariz преди 4 години
committed by GitHub
родител
ревизия
0a10077c63
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      examples/caddy/matrix-synapse

+ 3
- 3
examples/caddy/matrix-synapse Целия файл

@@ -5,7 +5,7 @@ https://matrix.DOMAIN {

root /matrix/static-files

header {
header / {
Access-Control-Allow-Origin *
Strict-Transport-Security "mag=age=31536000;"
X-Frame-Options "DENY"
@@ -13,10 +13,10 @@ https://matrix.DOMAIN {
}

# Identity server traffic
proxy /_matrix/identity matrix-msisd:8090 {
proxy /_matrix/identity matrix-ma1sd:8090 {
transparent
}
proxy /_matrix/client/r0/user_directory/search matrix-msisd:8090 {
proxy /_matrix/client/r0/user_directory/search matrix-ma1sd:8090 {
transparent
}



Зареждане…
Отказ
Запис