Commit e634ddce by Han Su Kim

Merge pull request #1627 from edx/origin/han/nginx-edxapp

Turning off basic auth for segement.io
parents c22e5f42 90d7a316
...@@ -65,6 +65,10 @@ server { ...@@ -65,6 +65,10 @@ server {
{% include "basic-auth.j2" %} {% include "basic-auth.j2" %}
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
} }
# No basic auth for /segmentio/event
location /segmentio/event {
try_files $uri @proxy_to_lms_app;
}
location /notifier_api { location /notifier_api {
try_files $uri @proxy_to_lms_app; try_files $uri @proxy_to_lms_app;
...@@ -87,7 +91,7 @@ server { ...@@ -87,7 +91,7 @@ server {
location /courses { location /courses {
{%- if EDXAPP_ENABLE_RATE_LIMITING -%} {%- if EDXAPP_ENABLE_RATE_LIMITING -%}
# Set Limit # Set Limit
limit_req zone=cookies burst={{ EDXAPP_COURSE_REQUEST_BURST_RATE }}; limit_req zone=cookies burst={{ EDXAPP_COURSE_REQUEST_BURST_RATE }};
error_page 503 = /server/rate-limit.html; error_page 503 = /server/rate-limit.html;
{%- endif -%} {%- endif -%}
......
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