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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
frontend-nginx
Commits
f1b34191
Commit
f1b34191
authored
6 years ago
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
prod -> dev backend
parent
b8ab316b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nginx-labtest-nomad.conf
+53
-60
53 additions, 60 deletions
nginx-labtest-nomad.conf
with
53 additions
and
60 deletions
nginx-labtest-nomad.conf
+
53
−
60
View file @
f1b34191
...
...
@@ -115,7 +115,7 @@ http {
alias
"/usr/share/nginx/html/.well-known/"
;
}
location
/
nexus
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
31
629
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
31
542
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
...
...
@@ -130,44 +130,41 @@ http {
}
location
/
userapi
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
30
782
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
30
699
;
}
location
/
api
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
32600
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
30448
;
}
location
/
ui
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
32600
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
30448
;
}
location
/
nmi
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
32600
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
30448
;
}
location
/
analytics
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
31842
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
30155
;
}
location
/
archive
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
31
596
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
31
179
;
}
location
/
dev
/ {
proxy_pass
http
://
130
.
183
.
207
.
113
:
31596
;
}
location
/
stats
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
31
393
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
31
577
;
}
location
/
apitest
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
31
393
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
31
577
;
}
location
/
jupyter
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
32
141
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
32
213
;
proxy_set_header
Host
$
http_host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
...
...
@@ -181,16 +178,16 @@ http {
}
location
= /
jupyter
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
32
141
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
32
213
;
proxy_set_header
Host
$
host
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
13
:
32
141
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
00
:
32
213
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
}
location
~
"^/jupyter/api/kernels/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
32
141
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
32
213
;
proxy_set_header
Host
$
host
;
# websocket support
proxy_http_version
1
.
1
;
...
...
@@ -202,7 +199,7 @@ http {
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
}
location
~
"^/jupyter/terminals/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
32
141
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
32
213
;
proxy_set_header
Host
$
host
;
# websocket support
proxy_http_version
1
.
1
;
...
...
@@ -227,37 +224,37 @@ http {
}
location
/
Creedo
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31833
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
30792
;
}
rewrite
"^/notebook-edit/(.*)$"
/
beaker
/
cM
/
start
/$
1
last
;
location
= /
Shibboleth
.
sso
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
/
Shibboleth
.
sso
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
= /
shibboleth
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
/
shibboleth
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
= /
login
{
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
/
login
/ {
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
#location = /beaker/#/control {
...
...
@@ -269,21 +266,21 @@ http {
}
location
/
beaker
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
# version get request
location
= /
version
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
# version get request
location
/
notebook
-
edit
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/beaker/rest/util/version"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
...
...
@@ -292,21 +289,21 @@ http {
# forward websockets, auth using path instead of token
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/beaker/cometd-[a-z0-9]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/r.[0-9]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/ipython.[0-9]+/api/kernels/[0-9a-z-]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
...
...
@@ -315,7 +312,7 @@ http {
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/ipython.[0-9]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
...
...
@@ -324,7 +321,7 @@ http {
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/python3.[0-9]+/api/kernels/[0-9a-z-]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
...
...
@@ -333,45 +330,45 @@ http {
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/python3.[0-9]+/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_set_header
Origin
"http://127.0.0.1:8805"
;
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/beaker/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
}
location
~
"^/[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]/"
{
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
# user directory
location
/
user
/ {
proxy_pass
https
://
130
.
183
.
207
.
1
13
:
31
548
;
proxy_pass
https
://
130
.
183
.
207
.
1
00
:
31
880
;
}
location
= /
nomad
-
query
-
gui
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
sommerregen
/
nomad
-
query
/
nomad
-
query
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
nomad
-
query
/
nomad
-
query
.
bkr
;
}
location
= /
tutorial
-
metal
-
nonmetal
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorial
sNew
/
sisso
/
sisso
-
metal
-
nonmetal
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorial
/
sisso
/
sisso
-
metal
-
nonmetal
.
bkr
;
}
location
= /
tutorial
-
LASSO
-
L0
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
LASSO_L0
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
lasso
/
LASSO_L0
.
bkr
;
}
location
= /
tutorial
-
LASSO_L0
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
LASSO_L0
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
lasso
/
LASSO_L0
.
bkr
;
}
location
= /
tutorial
-
embedding
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
Embedding
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
embedding
/
Embedding
.
bkr
;
}
location
= /
tutorial
-
SGD
{
...
...
@@ -379,39 +376,35 @@ http {
}
location
= /
tutorial
-
glosim
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
SOAP_similarity
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
soap
-
similiarity
/
SOAP_similarity
.
bkr
;
}
location
= /
tutorial
-
krr
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
brprototype3
.
bkr
;
}
location
= /
tutorial
-
query
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
notebooks
/
query_example_v1_1
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
prototype
/
brprototype3
.
bkr
;
}
location
= /
tutorial
-
SIS
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis_cscl
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis
/
sis
_cscl
.
bkr
;
}
location
= /
tutorial
-
SIS
-
L0
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis_cscl
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis
/
sis
_cscl
.
bkr
;
}
location
= /
tutorial
-
SIS_L0
{
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis_cscl
.
bkr
;
return
302
$
scheme
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sis
/
sis
_cscl
.
bkr
;
}
location
= /
tutorial
-
sisso
-
metal
-
non
-
metal
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sisso
-
metal
-
nonmetal
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
sisso
/
sisso
-
metal
-
nonmetal
.
bkr
;
}
location
= /
tutorial
-
FF
-
fit
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
FF
-
fit
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
ff
-
fit
/
FF
-
fit
.
bkr
;
}
location
= /
tutorial
-
FF_fit
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
FF
-
fit
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
ff
-
fit
/
FF
-
fit
.
bkr
;
}
location
= /
hands
-
on
-
learning
-
atomic
-
charges
{
...
...
@@ -427,11 +420,11 @@ http {
}
location
= /
tutorial
-
errorbars
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
errorbars_html
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
errorbars
/
errorbars
_html
.
bkr
;
}
location
= /
tutorial
-
periodic
-
table
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
periodic
-
table
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
periodic
-
table
/
periodic
-
table
.
bkr
;
}
location
= /
hands
-
on
-
cs
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
emrea
/
hands
-
on
-
tutorial_CS
.
bkr
;
...
...
@@ -442,7 +435,7 @@ http {
}
location
= /
custom
-
analytics
-
example
{
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
New
/
custom
-
analytics
-
example
/
custom
-
analytics
-
example
.
bkr
;
return
302
https
://$
server_name
/
notebook
-
edit
/
data
/
shared
/
tutorials
/
custom
-
analytics
-
example
/
custom
-
analytics
-
example
.
bkr
;
}
}
...
...
@@ -465,7 +458,7 @@ http {
#proxy_max_temp_file_size 2G;
location
/ {
proxy_pass
http
://
130
.
183
.
207
.
1
13
:
30170
;
proxy_pass
http
://
130
.
183
.
207
.
1
00
:
32692
;
proxy_set_header
Host
$
host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
...
...
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