Commit f4828620 by Joel Barciauskas Committed by GitHub

Merge pull request #3985 from edx/jbarciauskas/apis-skip-basic-auth

Copy pattern for delegating auth to the api, skipping basic auth
parents 69662bea 43d85953
......@@ -125,6 +125,13 @@ error_page {{ k }} {{ v }};
try_files $uri @proxy_to_cms_app;
}
# The api is accessed using OAUTH2 which
# uses the authorization header so we can't have
# basic auth on it as well.
location /api {
try_files $uri @proxy_to_cms_app;
}
{% include "robots.j2" %}
{% include "static-files.j2" %}
......
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