nginx settings for hangouts bridge login

This commit is contained in:
microchipster 2019-07-29 16:10:35 +00:00
parent 0585889d5a
commit a16347789d

View File

@ -191,6 +191,13 @@ server {
location / { location / {
rewrite ^/$ /_matrix/static/ last; rewrite ^/$ /_matrix/static/ last;
} }
{% if matrix_mautrix_hangouts_enabled %}
location /login {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Forwarded-For $remote_addr;
}
{% endif %}
} }
{% if matrix_nginx_proxy_proxy_matrix_federation_api_enabled %} {% if matrix_nginx_proxy_proxy_matrix_federation_api_enabled %}