Re: pgadmin4 running behind nginx

Поиск
Список
Период
Сортировка
Искать
От
Dave Page
Тема
Re: pgadmin4 running behind nginx
Дата
Msg-id
CA+OCxowC52YahBFAvZxD4ePvmRQbttknewLH1zWZkTfr-hHAMw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[pgadmin-support] pgadmin4 running behind nginx jbiskofski <jbiskofski@gmail.com>
Re: [pgadmin-support] pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: [pgadmin-support] pgadmin4 running behind nginx Harshal Dhumal <harshal.dhumal@enterprisedb.com>
Re: [pgadmin-support] pgadmin4 running behind nginx Harshal Dhumal <harshal.dhumal@enterprisedb.com>
Re: [pgadmin-support] pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: [pgadmin-support] pgadmin4 running behind nginx Ashesh Vashi <ashesh.vashi@enterprisedb.com>
Re: [pgadmin-support] pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: [pgadmin-support] pgadmin4 running behind nginx jbiskofski <jbiskofski@gmail.com>
Re: [pgadmin-support] pgadmin4 running behind nginx Dan Davis <dansmood@gmail.com>
Re: pgadmin4 running behind nginx rhuddbiz <rhuddbiz@gmail.com>
Re: pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: pgadmin4 running behind nginx rhuddbiz <rhuddbiz@gmail.com>
Re: pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: pgadmin4 running behind nginx rhuddbiz <rhuddbiz@gmail.com>
Re: pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: pgadmin4 running behind nginx rhuddbiz <rhuddbiz@gmail.com>
Re: pgadmin4 running behind nginx Dave Page <dpage@pgadmin.org>
Re: pgadmin4 running behind nginx jbiskofski <jbiskofski@gmail.com>
On Sun, Apr 2, 2017 at 9:00 PM, rhuddbiz  wrote:
> how can i specify a path for the python application behind nginx ?  we want
> to enable security with our existing ssl cert .  we have https://foo.com/
> and we want to forward https://foo.com/pgadmin/ to our python wrapper around
> pgadmin4.  unfortunately, the naive approach does not work as the href links
> all appear to be  absolute on the login page.  i'm hoping for a simple env
> variable.

With Apache I just do something like the following, and it just works
(the underlying Flask framework figures out the path prefix
automatically):
   WSGIDaemonProcess pgadmin processes=1 threads=25   WSGIScriptAlias /pgadmin4 /opt/pgAdmin4/web/pgAdmin4.wsgi
          WSGIProcessGroup pgadmin       WSGIApplicationGroup %{GLOBAL}       Require all granted   

I'm afraid I don't know nginx well enough to suggest specifics for that server.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgadmin-support по дате отправления
От: rhuddbiz
Дата:
От: rhuddbiz
Дата:
FAQ