Added comments noting that the TLS Certs might differ when using own certs

This commit is contained in:
jreichmann 2019-04-16 19:41:38 +02:00
parent 6d49fdea21
commit 084be8a194
No known key found for this signature in database
GPG key ID: 03624C433676E465
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,5 @@
https://riot.DOMAIN { https://riot.DOMAIN {
# These might differ if you are supplying your own certificates
tls /matrix/ssl/config/live/riot.DOMAIN/fullchain.pem /matrix/ssl/config/live/riot.DOMAIN/privkey.pem tls /matrix/ssl/config/live/riot.DOMAIN/fullchain.pem /matrix/ssl/config/live/riot.DOMAIN/privkey.pem
proxy / http://127.0.0.1:8765 { proxy / http://127.0.0.1:8765 {

View file

@ -1,4 +1,5 @@
https://matrix.DOMAIN { https://matrix.DOMAIN {
# If you use your own certificates, your path may differ
tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem tls /matrix/ssl/config/live/matrix.DOMAIN/fullchain.pem /matrix/ssl/config/live/matrix.DOMAIN/privkey.pem
root /matrix/static-files root /matrix/static-files
@ -10,14 +11,15 @@ https://matrix.DOMAIN {
X-XSS-Protection "1; mode=block" X-XSS-Protection "1; mode=block"
} }
# Identity server traffic
proxy /_matrix/identity matrix-msisd:8090 { proxy /_matrix/identity matrix-msisd:8090 {
transparent transparent
} }
proxy /_matrix/client/r0/user_directory/search matrix-msisd:8090 { proxy /_matrix/client/r0/user_directory/search matrix-msisd:8090 {
transparent transparent
} }
# Synapse Client<>Server API
proxy / matrix-synapse:8008 { proxy / matrix-synapse:8008 {
transparent transparent
without /.well-known/ /_matrix/identity/ /_matrix/client/r0/user_directory/search without /.well-known/ /_matrix/identity/ /_matrix/client/r0/user_directory/search