|
|
|
@@ -161,7 +161,7 @@ server { |
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_enabled %} |
|
|
|
auth_basic "protected"; |
|
|
|
auth_basic_user_file /nginx-data/matrix-synapse-metrics-htpasswd; |
|
|
|
auth_basic_user_file {{ matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_path }}; |
|
|
|
{% endif %} |
|
|
|
} |
|
|
|
{% endif %} |
|
|
|
@@ -177,7 +177,7 @@ server { |
|
|
|
|
|
|
|
{% if matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_enabled %} |
|
|
|
auth_basic "protected"; |
|
|
|
auth_basic_user_file /nginx-data/matrix-synapse-metrics-htpasswd; |
|
|
|
auth_basic_user_file {{ matrix_nginx_proxy_proxy_synapse_metrics_basic_auth_path }}; |
|
|
|
{% endif %} |
|
|
|
} |
|
|
|
{% endif %} |
|
|
|
|