Commit 5c6246a9 by Will Daly

Added exception for 127.0.0.1 in basic auth

parent e42e5c55
{% if NGINX_HTPASSWD_USER and NGINX_HTPASSWD_PASS %} {% if NGINX_HTPASSWD_USER and NGINX_HTPASSWD_PASS %}
satisfy any;
allow 127.0.0.1;
deny all;
auth_basic "Restricted"; auth_basic "Restricted";
auth_basic_user_file {{ nginx_htpasswd_file }}; auth_basic_user_file {{ nginx_htpasswd_file }};
index index.html index index.html
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
{% endif %} {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment