Below you will find pages that utilize the taxonomy term “piwigo”
April 26, 2014
Notes to self: nginx Piwigo rewrite rules
This was inspired by this forum thread on the Piwigo forums. Set up rewrite rules in nginx where “piwigo” is the path the gallery lies in:
location @rewrite { rewrite ^/piwigo/picture((/|$).*)$ /piwigo/picture.php$1 last; rewrite ^/piwigo/index((/|$).*)$ /piwigo/index.php$1 last; # The following is needed for batch operations which use i.php rewrite ^/piwigo/i((/|$).*)$ /piwigo/i.php$1 last; } location /piwigo { index index.php; try_files $uri $uri/ @rewrite; } location ~ ^(?