Commit fa9f131d by Feanil Patel

Update lms-xml site to not be a copy of lms-preview

parent 125c2392
...@@ -3,8 +3,8 @@ server { ...@@ -3,8 +3,8 @@ server {
listen 80; listen 80;
server_name trace-lms-preview.* server_name trace-lms-xml.*
preview.lms-dev.m.edx.org; xml.lms-dev.m.edx.org;
# #
# Send error response when request host isn't under our control # Send error response when request host isn't under our control
...@@ -40,21 +40,21 @@ server { ...@@ -40,21 +40,21 @@ server {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_redirect off; proxy_redirect off;
proxy_pass http://lms-preview-backend; proxy_pass http://lms-xml-backend;
} }
location / { location / {
try_files $uri @proxy_to_lms-preview_app; try_files $uri @proxy_to_lms-xml_app;
} }
# No basic auth security on the github_service_hook url, so that github can use it for cms # No basic auth security on the github_service_hook url, so that github can use it for cms
location /github_service_hook { location /github_service_hook {
try_files $uri @proxy_to_lms-preview_app; try_files $uri @proxy_to_lms-xml_app;
} }
# No basic auth security on the heartbeat url, so that ELB can use it # No basic auth security on the heartbeat url, so that ELB can use it
location /heartbeat { location /heartbeat {
try_files $uri @proxy_to_lms-preview_app; try_files $uri @proxy_to_lms-xml_app;
} }
# Check security on this # Check security on this
......
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