I have a Pydio Cells test server to evaluate the product. Debian 9.4 up to date, nothing special.
This server is on the local network. Its IP address is 10.0.0.123.
It has to be reached from the inside (http://10.0.0.123) and from the outside (http://cells.example.com).
For the preliminary tests I don’t use HTTPS.
Seems impossible to let Cells accept connections to 10.0.0.123 and to cells.example.com because it discard whatever do not exactly match the external binding (external host). Thus the external host can not be 2 different values at the same time.
One ugly solution is to use a split-brain DNS. Another ugly solution is to modify the hosts file of every local computers (tested: it works).
So I tried to use a proxy. But whatever I do I always get the loading screen and nothing else:
Nothing into the logs, no errors on the console, nothing.
If I don’t use a proxy, everything is fine except I can’t reach Cells either local either externaly.
The proxy correctly rewrite the host HTTP header to present it to Cells (else the loading screen will not show up).
I used Apache2 as a reverse proxy. I also tested the corresponding setup written in the online documentation.
I used nginx.
I used HAproxy.
All of them work perfectly fine for everyday needs, but Cells refuse get pass the loading screen.
Even an iptable NAT from port 80 to port 8080 give the same result!
I don’t understand what is the problem. So I don’t know what can I do.
- how can I configure Cells to ignore the host HTTP header?
- how can I use a working proxy?