Hi,
I installed a seafile server together with nginx in a virtual machine. The corresponding virtual webserver in WAF listens to one out of five static IPs.
The nginx webserver connects as reverse proxy to the seafile ports 8000 and 8082 and listens itself to port 80.
So, the virtual webserver in WAF shall communicate to Seafile over port 80 and convert the communication over the internet through port 443.
The certificate is centrally stored on Sophos UTM.
Now the problem is that calling the address https://seafile.domain.de is somehow rewritten to https://seafile.domain.de:80/accounts... which of course cannot work. I have no idea what produces this rewriting. Is there a general problem with nginx working as reverse proxy behind WAF being a reverse proxy as well?
If I define port 8000 in the real webserver configuration instead of port 80, that obviously does not work. Otherwise I could bypass the nginx reverse proxy and address Seafile directly.
Any ideas?
Best, Ralph
This thread was automatically locked due to age.