EnglishPages: 1
My webserver configuration is:
Internet -> Varnish (piwig.mydomain.com:80) -> Lighttpd (localhost:8081)
i.e. connections from the internet first hit the reverse proxy (Varnish) on port 80, and are then forwarded to the lighttpd webserver backend running on port 8081.
For the most part (browsing images, uploading images), it works fine, but some links (e.g. "Home") direct to the correct domain (piwig.mydomain.com), but the internal port (8081), which is not (and should not be) accessible from the internet.
I have looked in the piwig_config table in the database, and grepped the piwig installation directory, but can't find anywhere to set the site url without the internal port number.
Is there any way to use pwigo behind a reverse proxy like this?
Offline
Here is my piwigo installation for you to see/test:
http://piwigo.robinclarke.net/
Offline
I believe that you have to manually modify in file include/functions_url.inc.php, function get_absolute_root_url, the part with SERVER_PORT ...
Offline
Pages: 1