Mailing list software that plays nice with nginx - locations help

Ian Evans ianevans at
Wed Nov 9 14:50:05 UTC 2011

On 08/11/2011 1:08 PM, Ian M. Evans wrote:
> Anyway, the settings there seem to be if the list software is installed at
> the document root.
> How would I change the locations if the software is installed at /lists?
> [I suck at locations and haven't had much sleep!]

Here are the locations on the wiki:

location ~* \.(txt|log|inc)$ {

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {

location /config {

location ~* 
fastcgi_split_path_info ^(.|\.php)(/.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

location ~ \.php$ {

If phplists is being installed in /lists and not the root as in the wiki 
example (, how would I change these 

Would it be location ~* /lists\.(txt|log|inc)$ {

And how would I change fastcgi_split_path_info ^(.|\.php)(/.+)$; and 
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;


More information about the nginx mailing list