diff --git a/roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2 b/roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2 index beea6afa1..6b4ea1a6b 100644 --- a/roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2 +++ b/roles/matrix-nginx-proxy/templates/nginx/conf.d/nginx-http.conf.j2 @@ -5,7 +5,7 @@ # Thus, we ensure a larger bucket size value is used. server_names_hash_bucket_size 64; -{% if matrix_nginx_proxy_http_level_resolver %} +{% if matrix_nginx_proxy_enabled %} resolver {{ matrix_nginx_proxy_http_level_resolver }}; {% endif %}