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
c6347a19
Commit
c6347a19
authored
6 years ago
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Options
Downloads
Patches
Plain Diff
switching back to production cluster
parent
f2aa389e
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
+28
-28
28 additions, 28 deletions
nginx-labtest-nomad.conf
with
28 additions
and
28 deletions
nginx-labtest-nomad.conf
+
28
−
28
View file @
c6347a19
...
@@ -130,7 +130,7 @@ http {
...
@@ -130,7 +130,7 @@ http {
}
}
location
/
userapi
/ {
location
/
userapi
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
30
69
9
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
30
21
9
;
}
}
location
/
api
/ {
location
/
api
/ {
...
@@ -164,7 +164,7 @@ http {
...
@@ -164,7 +164,7 @@ http {
}
}
location
/
jupyter
/ {
location
/
jupyter
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
32
213
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
32
368
;
proxy_set_header
Host
$
http_host
;
proxy_set_header
Host
$
http_host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
...
@@ -178,16 +178,16 @@ http {
...
@@ -178,16 +178,16 @@ http {
}
}
location
= /
jupyter
{
location
= /
jupyter
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
32
213
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
32
368
;
proxy_set_header
Host
$
host
;
proxy_set_header
Host
$
host
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
0
:
32
213
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
9
:
32
368
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
}
}
location
~
"^/jupyter/api/kernels/"
{
location
~
"^/jupyter/api/kernels/"
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
32
213
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
32
368
;
proxy_set_header
Host
$
host
;
proxy_set_header
Host
$
host
;
# websocket support
# websocket support
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
...
@@ -199,7 +199,7 @@ http {
...
@@ -199,7 +199,7 @@ http {
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
proxy_set_header
X
-
Forwarded
-
Proto
"https"
;
}
}
location
~
"^/jupyter/terminals/"
{
location
~
"^/jupyter/terminals/"
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
32
213
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
32
368
;
proxy_set_header
Host
$
host
;
proxy_set_header
Host
$
host
;
# websocket support
# websocket support
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
...
@@ -224,37 +224,37 @@ http {
...
@@ -224,37 +224,37 @@ http {
}
}
location
/
Creedo
/ {
location
/
Creedo
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
3
0792
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
3
2331
;
}
}
rewrite
"^/notebook-edit/(.*)$"
/
beaker
/
cM
/
start
/$
1
last
;
rewrite
"^/notebook-edit/(.*)$"
/
beaker
/
cM
/
start
/$
1
last
;
location
= /
Shibboleth
.
sso
{
location
= /
Shibboleth
.
sso
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
location
/
Shibboleth
.
sso
/ {
location
/
Shibboleth
.
sso
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
location
= /
shibboleth
{
location
= /
shibboleth
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
location
/
shibboleth
/ {
location
/
shibboleth
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
location
= /
login
{
location
= /
login
{
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
location
/
login
/ {
location
/
login
/ {
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Host
analytics
-
toolkit
.
nomad
-
coe
.
eu
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_set_header
Origin
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
#location = /beaker/#/control {
#location = /beaker/#/control {
...
@@ -266,21 +266,21 @@ http {
...
@@ -266,21 +266,21 @@ http {
}
}
location
/
beaker
/ {
location
/
beaker
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
# version get request
# version get request
location
= /
version
{
location
= /
version
{
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
# version get request
# version get request
location
/
notebook
-
edit
/ {
location
/
notebook
-
edit
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
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"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
Connection
"upgrade"
;
...
@@ -289,21 +289,21 @@ http {
...
@@ -289,21 +289,21 @@ http {
# forward websockets, auth using path instead of token
# 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]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"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]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"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-]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
Connection
"upgrade"
;
...
@@ -312,7 +312,7 @@ http {
...
@@ -312,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]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
Connection
"upgrade"
;
...
@@ -321,7 +321,7 @@ http {
...
@@ -321,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-]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"upgrade"
;
proxy_set_header
Connection
"upgrade"
;
...
@@ -330,24 +330,24 @@ http {
...
@@ -330,24 +330,24 @@ 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]+/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_set_header
Origin
"http://127.0.0.1:8805"
;
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/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
proxy_http_version
1
.
1
;
proxy_http_version
1
.
1
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Upgrade
$
http_upgrade
;
proxy_set_header
Connection
"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]/"
{
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
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
# user directory
# user directory
location
/
user
/ {
location
/
user
/ {
proxy_pass
https
://
130
.
183
.
207
.
10
0
:
318
80
;
proxy_pass
https
://
130
.
183
.
207
.
10
9
:
318
95
;
}
}
...
...
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