Commit 5a3b2d18 by Joel Barciauskas Committed by Ned Batchelder

Copy pattern for delegating auth to the api, skipping basic auth, from the LMS to CMS

(cherry picked from commit 43d85953)
parent cb4fba66
......@@ -123,6 +123,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