I am running a full dockerized solution with 9 applications, and some of them are Ngninx and PgAdmin.
All the solution is running on a VPS with a domain.
So, my problem is when I am trying to hit my PgAdmin container for show the web page, I get a 502 bad gateway.
I send you my confi here :
server {
listen 80;
server_name domain;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name domain;
"ssl links here"
location /pgadmin {
proxy_pass http://containerIP:port;
}
location / {
proxy_pass http://containerIP:port;
}
}
What should my client url looks like for hit the PgAdmin container?
I tried this but doesn't work : https://domain/pgadmin
I precise all containers work fine, in the same network.
Thanks a lot