add ngnix-status to config

add doc
This commit is contained in:
p5t2vspoqqw
2019-04-17 13:42:09 +02:00
parent d4f2cb91d7
commit deeefac84c
4 changed files with 26 additions and 0 deletions

View File

@ -4,6 +4,15 @@ server {
server_tokens off;
{% if matrix_nginx_proxy_nginx_status_enabled %}
location /nginx_status {
stub_status on;
access_log off;
allow {{ ansible_default_ipv4.address }};
deny all;
}
{% endif %}
location /.well-known/acme-challenge {
{% if matrix_nginx_proxy_enabled %}
{# Use the embedded DNS resolver in Docker containers to discover the service #}