Skip to content
Snippets Groups Projects
Commit c6347a19 authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

switching back to production cluster

parent f2aa389e
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ http { ...@@ -130,7 +130,7 @@ http {
} }
location /userapi/ { location /userapi/ {
proxy_pass https://130.183.207.100:30699; proxy_pass https://130.183.207.109:30219;
} }
location /api/ { location /api/ {
...@@ -164,7 +164,7 @@ http { ...@@ -164,7 +164,7 @@ http {
} }
location /jupyter/ { location /jupyter/ {
proxy_pass https://130.183.207.100:32213; proxy_pass https://130.183.207.109:32368;
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.100:32213; proxy_pass https://130.183.207.109:32368;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header Origin https://130.183.207.100:32213; proxy_set_header Origin https://130.183.207.109:32368;
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.100:32213; proxy_pass https://130.183.207.109:32368;
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.100:32213; proxy_pass https://130.183.207.109:32368;
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.100:30792; proxy_pass https://130.183.207.109:32331;
} }
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.100:31880; proxy_pass https://130.183.207.109:31895;
} }
location /Shibboleth.sso/ { location /Shibboleth.sso/ {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
location = /shibboleth { location = /shibboleth {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
location /shibboleth/ { location /shibboleth/ {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
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.100:31880; proxy_set_header Origin https://130.183.207.109:31895;
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
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.100:31880; proxy_set_header Origin https://130.183.207.109:31895;
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
#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.100:31880; proxy_pass https://130.183.207.109:31895;
} }
# version get request # version get request
location = /version { location = /version {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
# version get request # version get request
location /notebook-edit/ { location /notebook-edit/ {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
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.100:31880; proxy_pass https://130.183.207.109:31895;
} }
# user directory # user directory
location /user/ { location /user/ {
proxy_pass https://130.183.207.100:31880; proxy_pass https://130.183.207.109:31895;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment