Update monolith-sample.conf (#2087)

* Update monolith-sample.conf

-Replaced undefined monolith value  with server_name  (my.hostname.com) value in reference tho ths issue https://github.com/matrix-org/dendrite/issues/2078

* Update monolith-sample.conf

Changed IP to location of monolith server

Co-authored-by: kegsay <kegan@matrix.org>
This commit is contained in:
FORCHA 2022-01-21 15:37:59 +01:00 committed by GitHub
parent 0bf5104bbb
commit 3c92b55bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,7 @@
#change IP to location of monolith server
upstream monolith{
server 127.0.0.1:8008;
}
server {
listen 443 ssl; # IPv4
listen [::]:443 ssl; # IPv6
@ -23,6 +27,6 @@ server {
}
location /_matrix {
proxy_pass http://monolith:8008;
proxy_pass http://monolith;
}
}