From bc661397ef40a5bba8a8f7234095ca383078c253 Mon Sep 17 00:00:00 2001 From: Aytac Ozkan Date: Mon, 14 Sep 2020 10:32:31 +0200 Subject: [PATCH] ***env.. --- login/nginx/nginx.conf | 2 +- portal/.env | 20 ++++++++++---------- portal/nginx/nginx.conf | 2 +- search/.env | 10 +++++----- search/nginx/nginx.conf | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/login/nginx/nginx.conf b/login/nginx/nginx.conf index f80ae98..e51e212 100644 --- a/login/nginx/nginx.conf +++ b/login/nginx/nginx.conf @@ -19,7 +19,7 @@ upstream backend_keycloak { server { listen 8081 default_server; - server_name -; + server_name w3.avignon.inra.fr/bas_insylva/login/; server_tokens off; diff --git a/portal/.env b/portal/.env index 33d9303..8361184 100644 --- a/portal/.env +++ b/portal/.env @@ -1,14 +1,14 @@ -REACT_APP_IN_SYLVA_GATEKEEPER_HOST=/gatekeeper -REACT_APP_IN_SYLVA_SOURCE_MANAGER_HOST=/source-manager -REACT_APP_IN_SYLVA_KEYCLOAK_HOST=/keycloak -REACT_APP_IN_SYLVA_LOGIN_HOST=http://localhost:8081 +REACT_APP_IN_SYLVA_GATEKEEPER_HOST=/bas_insylva/portal/gatekeeper +REACT_APP_IN_SYLVA_SOURCE_MANAGER_HOST=/bas_insylva/portal/source-manager +REACT_APP_IN_SYLVA_KEYCLOAK_HOST=/bas_insylva/portal/keycloak +REACT_APP_IN_SYLVA_LOGIN_HOST=http://w3.avignon.inra.fr/bas_insylva/login/ REACT_APP_IN_SYLVA_CLIENT_ID=in-sylva.user.app REACT_APP_IN_SYLVA_GRANT_TYPE=password REACT_APP_IN_SYLVA_REALM=in-sylva REACT_APP_PORT=3000 -REACT_APP_IN_SYLVA_KIBANA_URL=http://localhost:5601/ -REACT_APP_IN_SYLVA_POSTGRESQL_URL=http://localhost:5050/login?next=%2F -REACT_APP_IN_SYLVA_MONGODB_URL=http://localhost:8881/ -REACT_APP_IN_SYLVA_ELASTICSEARCH_URL=http://localhost:9200 -REACT_APP_IN_SYLVA_KEYCLOAK_URL=http://localhost:7000/keycloak/auth/ -REACT_APP_IN_SYLVA_PORTAINER_URL=http://localhost:9000/#/init/admin \ No newline at end of file +REACT_APP_IN_SYLVA_KIBANA_URL=http://147.100.20.44:5601/ +REACT_APP_IN_SYLVA_POSTGRESQL_URL=http://147.100.20.44:5050/login?next=%2F/ +REACT_APP_IN_SYLVA_MONGODB_URL=http://147.100.20.44:8881/ +REACT_APP_IN_SYLVA_ELASTICSEARCH_URL=http://147.100.20.44:9200/ +REACT_APP_IN_SYLVA_KEYCLOAK_URL=http://147.100.20.44:7000/keycloak/auth// +REACT_APP_IN_SYLVA_PORTAINER_URL=http://147.100.20.44:9000/#/init/admin/ \ No newline at end of file diff --git a/portal/nginx/nginx.conf b/portal/nginx/nginx.conf index bcdab21..fc65f4e 100644 --- a/portal/nginx/nginx.conf +++ b/portal/nginx/nginx.conf @@ -34,7 +34,7 @@ server { listen 3000; listen [::]:3000; - server_name -; + server_name w3.avignon.inra.fr/bas_insylva/portal/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/search/.env b/search/.env index 6679f75..c9022f2 100644 --- a/search/.env +++ b/search/.env @@ -1,8 +1,8 @@ -REACT_APP_IN_SYLVA_GATEKEEPER_HOST=/gatekeeper -REACT_APP_IN_SYLVA_SOURCE_MANAGER_HOST=/source-manager -REACT_APP_IN_SYLVA_KEYCLOAK_HOST=/keycloak -REACT_APP_IN_SYLVA_SEARCH_HOST=/search-api -REACT_APP_IN_SYLVA_LOGIN_HOST=http://localhost:8081 +REACT_APP_IN_SYLVA_GATEKEEPER_HOST=/bas_insylva/search/gatekeeper +REACT_APP_IN_SYLVA_SOURCE_MANAGER_HOST=/bas_insylva/search/source-manager +REACT_APP_IN_SYLVA_KEYCLOAK_HOST=/bas_insylva/search/keycloak +REACT_APP_IN_SYLVA_SEARCH_HOST=/bas_insylva/search/search-api +REACT_APP_IN_SYLVA_LOGIN_HOST=http://w3.avignon.inra.fr/bas_insylva/login/ REACT_APP_IN_SYLVA_CLIENT_ID=in-sylva.user.app REACT_APP_IN_SYLVA_GRANT_TYPE=password REACT_APP_IN_SYLVA_REALM=in-sylva diff --git a/search/nginx/nginx.conf b/search/nginx/nginx.conf index a8ed38d..6448a39 100644 --- a/search/nginx/nginx.conf +++ b/search/nginx/nginx.conf @@ -32,7 +32,7 @@ server { listen 3001; listen [::]:3001; - server_name -; + server_name w3.avignon.inra.fr/bas_insylva/search/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;