From: | Yogesh Mahajan <yogesh(dot)mahajan(at)enterprisedb(dot)com> |
---|---|
To: | Dhilip Kumar <dhilipkumarbalraj(at)gmail(dot)com> |
Cc: | pgadmin-support(at)lists(dot)postgresql(dot)org |
Subject: | Re: Running pgadmin in custom path. |
Date: | 2024-04-22 05:00:29 |
Message-ID: | CAMa=N=Px9jXPVi5y_E1DDciM30ARmo6n=mm0vRzgRta2yGbU=w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi,
You need to use an X-script name to host pgadmin under
different subdirectory. Please refer to this
<https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html#http-via-nginx>
documentation.
Thanks,
Yogesh Mahajan
EnterpriseDB
On Sat, Apr 20, 2024 at 8:09 PM Dhilip Kumar <dhilipkumarbalraj(at)gmail(dot)com>
wrote:
> Dear all,
>
> Hope everything is good.
>
> Let me explain my setup. I have AWS Load balancer, where I have path
> mapping to '/pg' which points ecs pgadmin container.
>
> When I try to connect mydomain.com/pg , it's reaching container, but
> pgadmin says, no such folder /pg exists. No such url found.
>
> Pgadmin looking for location /pg and failed to load site.
>
> Also, I'm passing SERVER HOST URL as /pg as param in ecs container. It
> fails constructs URL.
>
> AWS support says Load balancer forwards path as it is to pgadmin and
> container should take care of it.
>
> How can I host pgadmin in /pg ? I use public docker image, should I build
> custom docker file with any change?
>
> Need your help.
>
> Thank you
> Dhilip Kumar
>
From | Date | Subject | |
---|---|---|---|
Next Message | Akshay Joshi | 2024-04-22 08:23:22 | Re: Ssh tunnel hosts changing... |
Previous Message | Dhilip Kumar | 2024-04-20 14:39:34 | Running pgadmin in custom path. |