Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend-nginx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
nomad-lab
frontend-nginx
Commits
647a6721
Commit
647a6721
authored
Nov 22, 2018
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
fix creedo start and api for labtest
parent
42038db5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
nginx-labtest-nomad.conf
+21
-3
21 additions, 3 deletions
nginx-labtest-nomad.conf
nginx.conf.in
+4
-4
4 additions, 4 deletions
nginx.conf.in
with
25 additions
and
7 deletions
nginx-labtest-nomad.conf
+
21
−
3
View file @
647a6721
...
@@ -134,6 +134,17 @@ http {
...
@@ -134,6 +134,17 @@ http {
}
}
location
/
api
/ {
proxy_pass
http
://
130
.
183
.
207
.
113
:
32600
;
}
location
/
ui
/ {
proxy_pass
http
://
130
.
183
.
207
.
113
:
32600
;
}
location
/
nmi
/ {
proxy_pass
http
://
130
.
183
.
207
.
113
:
32600
;
}
location
/
archive
/ {
location
/
archive
/ {
...
@@ -209,6 +220,13 @@ http {
...
@@ -209,6 +220,13 @@ http {
proxy_pass
http
://
labdev
-
nomad
.
esc
.
rzg
.
mpg
.
de
:
34695
;
proxy_pass
http
://
labdev
-
nomad
.
esc
.
rzg
.
mpg
.
de
:
34695
;
}
}
location
= /
Creedo
{
return
301
$
scheme
://$
server_name
/
Creedo
/
cM
/
start
/;
}
location
/
Creedo
/ {
proxy_pass
https
://
130
.
183
.
207
.
113
:
31833
;
}
rewrite
"^/notebook-edit/(.*)$"
/
beaker
/
cM
/
start
/$
1
last
;
rewrite
"^/notebook-edit/(.*)$"
/
beaker
/
cM
/
start
/$
1
last
;
...
@@ -355,7 +373,7 @@ http {
...
@@ -355,7 +373,7 @@ http {
}
}
location
= /
tutorial
-
SGD
{
location
= /
tutorial
-
SGD
{
return
302
$
scheme
://$
server_name
/
Creedo
;
return
302
$
scheme
://$
server_name
/
Creedo
/
cM
/
start
/
;
}
}
location
= /
tutorial
-
glosim
{
location
= /
tutorial
-
glosim
{
...
@@ -395,11 +413,11 @@ http {
...
@@ -395,11 +413,11 @@ http {
}
}
location
= /
hands
-
on
-
learning
-
atomic
-
charges
{
location
= /
hands
-
on
-
learning
-
atomic
-
charges
{
return
302
https
://$
server_name
/
jupyter
/
notebooks
/
shared
/
afekete
/
tutorial
/
learning_atomic_charges
.
ipynb
;
return
302
https
://$
server_name
/
jupyter
/
cM
/
start
/
data
/
shared
/
afekete
/
tutorial
/
learning_atomic_charges
.
ipynb
;
}
}
location
= /
hands
-
on
-
grain
-
boundaries
{
location
= /
hands
-
on
-
grain
-
boundaries
{
return
302
https
://$
server_name
/
jupyter
/
notebooks
/
shared
/
afekete
/
tutorial
/
GB_tutorial_Berlin_2017
.
ipynb
;
return
302
https
://$
server_name
/
jupyter
/
cM
/
start
/
data
/
shared
/
afekete
/
tutorial
/
GB_tutorial_Berlin_2017
.
ipynb
;
}
}
location
= /
tutorial
-
ClusterX
{
location
= /
tutorial
-
ClusterX
{
...
...
...
...
This diff is collapsed.
Click to expand it.
nginx.conf.in
+
4
−
4
View file @
647a6721
...
@@ -278,7 +278,7 @@ http {
...
@@ -278,7 +278,7 @@ http {
{{#if nomad-container-manager-creedo.0.ports.0.nodePort}}
{{#if nomad-container-manager-creedo.0.ports.0.nodePort}}
location = /Creedo {
location = /Creedo {
proxy_pass {{nomad-container-manager-creedo.0.frontendProtocol}}//{{nomad-container-manager-creedo.0.nodes.[0]}}:{{nomad-container-manager-creedo.0.ports.0.nodePort}}
;
return 301 $scheme://$server_name/Creedo/cM/start/
;
}
}
location /Creedo/ {
location /Creedo/ {
...
@@ -434,7 +434,7 @@ http {
...
@@ -434,7 +434,7 @@ http {
}
}
location = /tutorial-SGD {
location = /tutorial-SGD {
return 302 $scheme://$server_name/Creedo;
return 302 $scheme://$server_name/Creedo
/cM/start/
;
}
}
location = /tutorial-glosim {
location = /tutorial-glosim {
...
@@ -474,11 +474,11 @@ http {
...
@@ -474,11 +474,11 @@ http {
}
}
location = /hands-on-learning-atomic-charges {
location = /hands-on-learning-atomic-charges {
return 302 https://$server_name/jupyter/
notebooks
/shared/afekete/tutorial/learning_atomic_charges.ipynb;
return 302 https://$server_name/jupyter/
cM/start/data
/shared/afekete/tutorial/learning_atomic_charges.ipynb;
}
}
location = /hands-on-grain-boundaries {
location = /hands-on-grain-boundaries {
return 302 https://$server_name/jupyter/
notebooks
/shared/afekete/tutorial/GB_tutorial_Berlin_2017.ipynb;
return 302 https://$server_name/jupyter/
cM/start/data
/shared/afekete/tutorial/GB_tutorial_Berlin_2017.ipynb;
}
}
location = /tutorial-ClusterX {
location = /tutorial-ClusterX {
...
...
...
...
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
sign in
to comment