Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 16 additions & 71 deletions deploy/multiple-container/combinational-deploy/default.conf
Original file line number Diff line number Diff line change
@@ -1,58 +1,3 @@
upstream idweb {
server id_web_container:80;
}

upstream idapi {
server id_api_container:80;
}

upstream idums {
server id_ums_container:80;
}

upstream biweb {
server bi_web_container:80;
}

upstream biapi {
server bi_api_container:80;
}

upstream bijobs {
server bi_jobs_container:80;
}

upstream bidataservice {
server bi_dataservice_container:80;
}

upstream bietl {
server bi_etl_container:80;
}

upstream boldai {
server bold_ai_container:80;
}
upstream reportsweb {
server reports_web_container:80;
}

upstream reportsapi {
server reports_api_container:80;
}

upstream reportsjobs {
server reports_jobs_container:80;
}

upstream reportsreportservice {
server reports_reportservice_container:80;
}

upstream reportsviewer {
server reports_viewer_container:80;
}

#server {
# listen 80;
# server_name example.com;
Expand Down Expand Up @@ -81,7 +26,7 @@ server {

location / {
root /application/idp/web/wwwroot;
proxy_pass http://idweb/;
proxy_pass http://id-web;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -93,7 +38,7 @@ server {
fastcgi_buffer_size 32k;
}
location /api {
proxy_pass http://idapi/api;
proxy_pass http://id-api/api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -104,7 +49,7 @@ server {
}
location /ums {
root /application/idp/ums/wwwroot;
proxy_pass http://idums/ums;
proxy_pass http://id-ums/ums;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -115,7 +60,7 @@ server {
}
location /bi {
root /application/bi/web/wwwroot;
proxy_pass http://biweb/bi;
proxy_pass http://bi-web/bi;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -125,7 +70,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /bi/api {
proxy_pass http://biapi/bi/api;
proxy_pass http://bi-api/bi/api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -135,7 +80,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /bi/jobs {
proxy_pass http://bijobs/bi/jobs;
proxy_pass http://bi-jobs/bi/jobs;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -146,7 +91,7 @@ server {
}
location /bi/designer {
root /application/bi/designer/wwwroot;
proxy_pass http://bidataservice;
proxy_pass http://bi-dataservice;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -156,7 +101,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /bi/designer/helper {
proxy_pass http://bidataservice/bi/designer/helper;
proxy_pass http://bi-dataservice/bi/designer/helper;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand All @@ -167,7 +112,7 @@ server {
}
location /etlservice/ {
root /application/etl/etlservice/wwwroot;
proxy_pass http://bietl/;
proxy_pass http://bi-etl/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand All @@ -178,7 +123,7 @@ server {
}
location /etlservice/_framework/blazor.server.js {
root /application/etl/etlservice/wwwroot;
proxy_pass http://bietl/_framework/blazor.server.js;
proxy_pass http://bi-etl/_framework/blazor.server.js;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand All @@ -188,7 +133,7 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /aiservice {
proxy_pass http://boldai/aiservice;
proxy_pass http://bold-ai:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand All @@ -199,7 +144,7 @@ server {
}
location /reporting {
root /application/reporting/web/wwwroot;
proxy_pass http://reportsweb/reporting;
proxy_pass http://reports-web/reporting;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -210,7 +155,7 @@ server {
proxy_set_header X-Forwarded-Host $host;
}
location /reporting/api {
proxy_pass http://reportsapi/reporting/api;
proxy_pass http://reports-api/reporting/api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -221,7 +166,7 @@ server {
proxy_set_header X-Forwarded-Host $host;
}
location /reporting/jobs {
proxy_pass http://reportsjobs/reporting/jobs;
proxy_pass http://reports-jobs/reporting/jobs;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -233,7 +178,7 @@ server {
}
location /reporting/reportservice {
root /application/reporting/reportservice/wwwroot;
proxy_pass http://reportsreportservice/reporting/reportservice;
proxy_pass http://reports-reportservice/reporting/reportservice;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand All @@ -245,7 +190,7 @@ server {
}
location /reporting/viewer {
root /application/reporting/viewer;
proxy_pass http://reportsviewer/reporting/viewer;
proxy_pass http://reports-viewer/reporting/viewer;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
Expand Down
Loading