Add Public-Reverse-Proxy configuration for new Matrix server
This commit is contained in:
parent
856cc74d90
commit
9b6d909d11
|
@ -7,6 +7,7 @@ map $host $upstream_acme_challenge_host {
|
|||
wiki.ccchh.net 172.31.17.146:31820;
|
||||
onlyoffice.hamburg.ccc.de 172.31.17.147:31820;
|
||||
netbox.hamburg.ccc.de 172.31.17.149:31820;
|
||||
matrix.hamburg.ccc.de 172.31.17.150:31820;
|
||||
default "";
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ stream {
|
|||
wiki.ccchh.net 172.31.17.146:8443;
|
||||
onlyoffice.hamburg.ccc.de 172.31.17.147:8443;
|
||||
netbox.hamburg.ccc.de 172.31.17.149:8443;
|
||||
matrix.hamburg.ccc.de 172.31.17.150:8443;
|
||||
}
|
||||
|
||||
server {
|
||||
|
@ -35,6 +36,14 @@ stream {
|
|||
ssl_preread on;
|
||||
proxy_protocol on;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:8448;
|
||||
listen [::]:8448;
|
||||
proxy_pass 172.31.17.150:8448;
|
||||
ssl_preread on;
|
||||
proxy_protocol on;
|
||||
}
|
||||
}
|
||||
|
||||
# Still have the default http block, so the `acme_challenge.conf` works.
|
||||
|
|
Loading…
Reference in a new issue