Better handling for SSL reverse proxy
Created by: ghost
Hello Community,
As follow up for issue #98 (closed), I have created this patch to construct the server URLs reverse proxy/virtual host and SSL proxy proof. It relies on HTTP_HOST, which return the request host + port (in case it is a non standard port) instead of SERVER_NAME, which relies on the server configuration.
I have tested the following situations:
You can see at the stylesheet URLs that the hostnames + ports are set correctly.
Best Regards, Stefan