Update mikr.us env

This commit is contained in:
Piotr Biernat 2023-06-24 18:17:19 +02:00
parent db87d52012
commit 1c1c2029d2
2 changed files with 10 additions and 32 deletions

View File

@ -138,3 +138,5 @@ services:
- DATABASE_URL=postgres://postgres:12345678@postgres-db:5432/egommerce
- MONGODB_URL=mongodb://mongodb:12345678@mongo-db:27017
- EVENTBUS_URL=amqp://guest:guest@api-eventbus:5672
networks:

View File

@ -1,25 +1,25 @@
upstream egommerce-api-gw {
server 127.0.0.1:48443;
server 135.181.211.5:40056;
}
upstream egommerce-api-gw-dashboard {
server 127.0.0.1:48444;
server 135.181.211.5:40057;
}
upstream egommerce-api-registry-ui {
server 127.0.0.1:48445;
server 135.181.211.5:40058;
}
upstream egommerce-api-eventbus-mngmt {
server 127.0.0.1:48446;
server 135.181.211.5:40059;
}
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/admin.egommerce.pbiernat.dev/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/admin.egommerce.pbiernat.dev/privkey.pem;
listen [2a01:4f9:3a:2910::271]:20271 ssl;
ssl_certificate /home/keedosn/egommerce/deploy/certs/api-gateway/client.cert;
ssl_certificate_key /home/keedosn/egommerce/deploy/certs/api-gateway/client.key;
server_name admin.egommerce.pbiernat.dev;
server_name keshop.bieda.it;
# Traefik redirects
location /dashboard {
@ -94,27 +94,3 @@ server {
error_log /var/log/nginx/admin-egommerce.pbiernat.dev-error.log;
access_log /var/log/nginx/admin-egommerce.pbiernat.dev-access.log combined;
}
#server {
# listen 443 ssl;
# ssl_certificate /etc/letsencrypt/live/egommerce.pbiernat.dev/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/egommerce.pbiernat.dev/privkey.pem;
#
# server_name egommerce.pbiernat.dev;
#
# # Pass all requests to the API Gateway
# location / {
# proxy_pass https://egommerce-api-gw;
# proxy_http_version 1.1;
# proxy_pass_header Server;
# proxy_set_header Host $host;
# 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 $scheme;
# client_max_body_size 0;
# }
#
# error_log /var/log/nginx/egommerce.pbiernat.dev-error.log;
# access_log /var/log/nginx/egommerce.pbiernat.dev-access.log combined;
#}