Commit 52ea594e by Fred Smith Committed by GitHub

Merge pull request #3777 from edx/derf/to_boldly_go_without_auth_on_stage

Exclude Enterprise API from auth.
parents 785f0c9b db1715aa
...@@ -192,6 +192,11 @@ error_page {{ k }} {{ v }}; ...@@ -192,6 +192,11 @@ error_page {{ k }} {{ v }};
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
} }
#enterprise API
location /enterprise/api {
try_files $uri @proxy_to_lms_app;
}
# Need a separate location for the image uploads endpoint to limit upload sizes # Need a separate location for the image uploads endpoint to limit upload sizes
location ~ ^/api/profile_images/[^/]*/[^/]*/upload$ { location ~ ^/api/profile_images/[^/]*/[^/]*/upload$ {
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