Apache config does not allow non-localhost
The "Require local" in the apache config makes it difficult to use with things such as nginx proxy or https. Is there a flag to not have to use it? After all to use in docker I'm exposing port 80 - to 172.17.x.x - which isn't local.
Cheers
This is how it needs to be configured: https://help.ubuntu.com/community/phpPgAdmin#Access
According to that guide it should needed to replace allow from 127.0.0.0/255.0.0.0 ::1/128 with allow from all in /etc/apache2/conf.d/phppgadmin
Edit:
/etc/apache2/conf.d/phppgadmin is added by the Dockerfile
So the ./phppgadmin.conf file.
Edit:
Strange
Both are in the config, the localhost line and allow from all
Maybe via Allow from env=APACHE_NON_LOCALHOST, enabling it when $APACHE_NON_LOCALHOST is set?
AllowDocumentation When Allow from env=env-variable is specified, then the request is allowed access if the environment variable env-variable exists. When Allow from env=!env-variable is specified, then the request is allowed access if the environment variable env-variable doesn't exist.
The existing config was never used. Thats why. Probably linux changed paths or something.
Good thing I saw #8 before I made #9 myself :/