|
|
@ -28,7 +28,7 @@
|
|
|
|
{# Use the embedded DNS resolver in Docker containers to discover the service #}
|
|
|
|
{# Use the embedded DNS resolver in Docker containers to discover the service #}
|
|
|
|
resolver 127.0.0.11 valid=5s;
|
|
|
|
resolver 127.0.0.11 valid=5s;
|
|
|
|
set $backend "{{ matrix_ldap_registration_proxy_registration_addr_with_container }}";
|
|
|
|
set $backend "{{ matrix_ldap_registration_proxy_registration_addr_with_container }}";
|
|
|
|
proxy_pass http://$backend/register;;
|
|
|
|
proxy_pass http://$backend/register;
|
|
|
|
{% else %}
|
|
|
|
{% else %}
|
|
|
|
{# Generic configuration for use outside of our container setup #}
|
|
|
|
{# Generic configuration for use outside of our container setup #}
|
|
|
|
proxy_pass http://{{ matrix_ldap_registration_proxy_registration_addr_sans_container }}/register;
|
|
|
|
proxy_pass http://{{ matrix_ldap_registration_proxy_registration_addr_sans_container }}/register;
|
|
|
|