Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
5b15cbee
Commit
5b15cbee
authored
5 years ago
by
Jörn Künsemöller
Browse files
Options
Downloads
Patches
Plain Diff
LEI-40
: Updated routing config for serving LSMR
parent
8bec871e
No related branches found
No related tags found
1 merge request
!90
Resolve LEI-40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SAS/LSMR/docker/lsmr-testenv/nginx.conf
+1
-1
1 addition, 1 deletion
SAS/LSMR/docker/lsmr-testenv/nginx.conf
SAS/LSMR/src/lsmr/urls.py
+2
-1
2 additions, 1 deletion
SAS/LSMR/src/lsmr/urls.py
with
3 additions
and
2 deletions
SAS/LSMR/docker/lsmr-testenv/nginx.conf
+
1
−
1
View file @
5b15cbee
...
...
@@ -5,7 +5,7 @@ http {
listen
5000
;
proxy_http_version
1.1
;
proxy_set_header
Host
$host
;
proxy_set_header
Host
$
http_
host
;
proxy_set_header
Upgrade
$http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
X-Real-IP
$remote_addr
;
...
...
This diff is collapsed.
Click to expand it.
SAS/LSMR/src/lsmr/urls.py
+
2
−
1
View file @
5b15cbee
...
...
@@ -16,6 +16,7 @@ Including another URLconf
from
django.contrib
import
admin
from
django.urls
import
path
,
re_path
from
django.conf.urls
import
url
,
include
from
django.views.generic.base
import
TemplateView
from
rest_framework
import
routers
,
permissions
...
...
@@ -141,4 +142,4 @@ router.register(r'task_blueprint_B', viewsets.TaskBlueprintViewSetReactJSONform)
router
.
register
(
r
'
task_blueprint_C
'
,
viewsets
.
TaskBlueprintViewSetJSONeditorOnline
)
#router.register(r'json_editor', viewsets.JSONEditorViewSet)
urlpatterns
.
extend
(
router
.
urls
)
urlpatterns
+=
[
url
(
r
'
^api/
'
,
include
(
router
.
urls
)
)]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment