I am trying to run Pydio Cells behind an HTTP proxy (not a reverse proxy: an HTTP proxy for requests going out to S3). I did not find documentation about how to achieve this. I try a naive approach based on environment variables HTTP_PROXY and HTTPS_PROXY but this broke other requests.
On the first screen of the installation some requests are sent to the server for exemple to https://localhost:8080/install but the response payload is a rejection page of the proxy for a request to http://172.22.0.3:36283/install. I am using Docker and the IP is the Cells container’s one. There I would be tempted to use a NO_PROXY environment variable, except that since the IP is not the loopback one so it is not know before the container starts. I tried to add a NO_PROXY set to localhost and 127.0.0.1 without success. I am out of ideas! Hopefully someone will have a solution for this
Here is a quick reproduction path:
- Start an HTTP proxy that will reject everything:
docker run -p 3128:3128 sameersbn/squid:3.5.27-2
- Start Cells with env variables:
docker run -p 8080:8080 -e CELLS_BIND=localhost:8080 -e CELLS_EXTERNAL=localhost:8080 -e CELLS_NO_SSL=1 -e HTTP_PROXY=host.docker.internal:3128 -e HTTPS_PROXY=host.docker.internal:3128 -e NO_PROXY=localhost,127.0.0.1 pydio/cells:latest