Turn off IPv6 when using your own Nginx server

Docker apparently doesn't like IPv6.
This commit is contained in:
Aaron Raimist
2019-02-04 09:03:43 -06:00
parent 52d5e540c0
commit 58ca2e7dfd
2 changed files with 3 additions and 4 deletions

View File

@ -110,6 +110,7 @@ server {
{% else %}
{# Generic configuration for use outside of our container setup #}
proxy_pass http://{{ matrix_nginx_proxy_proxy_matrix_client_api_addr_sans_container }};
resolver 127.0.0.1 ipv6=off;
{% endif %}
proxy_set_header Host $host;