Commit 0923c911 by Will Daly

Merge pull request #532 from edx/will/basic-auth-localhost

Disable basic auth for 127.0.0.1
parents e42e5c55 5c6246a9
{% if NGINX_HTPASSWD_USER and NGINX_HTPASSWD_PASS %}
satisfy any;
allow 127.0.0.1;
deny all;
auth_basic "Restricted";
auth_basic_user_file {{ nginx_htpasswd_file }};
index index.html
proxy_set_header X-Forwarded-Proto https;
{% 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