Comments on Running Mailman On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04/11.10
Running Mailman On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04/11.10 The Mailman package from the Debian/Ubuntu repositories comes with a configuration for Apache, but not for nginx. This tutorial shows how you can use the Debian Squeeze/Ubuntu 11.04/11.10 Mailman package in an nginx vhost. Nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files.
2 Comment(s)
Comments
Hello. Thanks for this nice tutorial. Since mod_cgi on my lighttpd box is really somehow slow, and apache2 istoo much of an overkill, i thought i might give this one a try. However, could you please update your tutorial in a way that the cgi-bin disapears from the mailman urls, and that when you type www.example.com the page with the public mailing lists apears? I just don't want my users to type /cgi-bin/ or /mailman/. Thanks a lot.
Hi,I had a series of issues with your howto, in particular when getting lower into the administration of mailman: pages like /cgi-bin/mailman/admindb/mylist would actually load as /admindb/mylist and generate an error message. I found adding the following bits before the "location /cgi-bin/mailman" block helped (a lot):
location = / { rewrite ^ /cgi-bin/mailman/listinfo;}location /admin { rewrite ^/admin/(.*)$ /cgi-bin/mailman/admin/$1;}location /admindb { rewrite ^/admindb/(.*)$ /cgi-bin/mailman/admindb/$1;}location /listinfo { rewrite ^/listinfo(.*)$ /cgi-bin/mailman/listinfo$1;}