Commit 8f897c94 by Feanil Patel

Merge pull request #1750 from edx/feanil/nginx_oauth

Turn off basic auth for all endpoints below '/api'.
parents 933428cc b519d674
...@@ -84,10 +84,10 @@ error_page {{ k }} {{ v }}; ...@@ -84,10 +84,10 @@ error_page {{ k }} {{ v }};
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
} }
# The VAL api is accessed using OAUTH2 which # The api is accessed using OAUTH2 which
# uses the authorization header so we can't have # uses the authorization header so we can't have
# basic auth on it as well. # basic auth on it as well.
location /api/val { location /api {
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
} }
......
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