Skip to content
Snippets Groups Projects
Commit e5c28c3a authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

LEI-40: Updated routing config for serving LSMR

parent 372e9463
No related branches found
No related tags found
1 merge request!90Resolve LEI-40
......@@ -28,12 +28,11 @@ http {
proxy_pass http://lsmr_test:3000$uri;
}
location /api {
rewrite ^/api(.*) /$1 break;
location /api/ {
proxy_pass http://lsmr_test:8000;
}
location /frontend {
location /frontend/ {
proxy_pass http://lsmr_test:3000;
}
}
......
......@@ -145,4 +145,4 @@ router.register(r'task_blueprint_C', viewsets.TaskBlueprintViewSetJSONeditorOnli
urlpatterns.extend(router.urls)
# prefix everything for proxy
#urlpatterns = [url(r'^api/', include(urlpatterns))]
\ No newline at end of file
urlpatterns = [url(r'^api/', include(urlpatterns))]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment