diff options
author | FORCHA <forchapearl1@gmail.com> | 2022-01-21 15:37:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 14:37:59 +0000 |
commit | 3c92b55bec57519dfd5b5a0f06c32b3ae85f5710 (patch) | |
tree | aa602cb998af61a22c9166a5d6162b0fcb22233b /docs | |
parent | 0bf5104bbbfb34cf869e74bcc17a039db176e935 (diff) |
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>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/nginx/monolith-sample.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/nginx/monolith-sample.conf b/docs/nginx/monolith-sample.conf index 0344aa96..360eb925 100644 --- a/docs/nginx/monolith-sample.conf +++ b/docs/nginx/monolith-sample.conf @@ -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; } } |