Commit f84331e3 by Jesse Shapiro

Add Consent API to basic auth whitelist

parent 0d0bd3ff
...@@ -199,6 +199,11 @@ error_page {{ k }} {{ v }}; ...@@ -199,6 +199,11 @@ error_page {{ k }} {{ v }};
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
} }
# Consent API
location /consent/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