On May 8, 2017 23:10, "[email protected]" <[email protected]> wrote:
Hello,
Has anyone managed to get the above combination working on FreeBSD? I'm
using fcgiwrap, but it isn't the most elegant solution for a variety of
reasons.
Hi Jim,
I run mailman+nginx+uwsgi on Linux, but without fcgiwrap.
Here's some idea of how I do it:
$ cat /etc/uwsgi/apps-available/mailman.ini
[uwsgi]
plugins = cgi
vhost = true
master = true
touch-reload = %p
pidfile = /run/uwsgi/app/mailman/pid
disable-logging = true
socket = /run/uwsgi/app/mailman/socket
chdir = /
gid = www-data
uid = www-data
threads = 5
# use two mountpoints for cgi
cgi = /cgi-bin/mailman=/usr/lib/cgi-bin/mailman
cgi = /mailman=/usr/lib/cgi-bin/mailman
cgi-index = listinfo
vacuum = true
stats = 127.0.0.1:4999
>From /etc/nginx/sites-available/mailman.conf:
upstream _mailman {
server unix:/run/uwsgi/app/mailman/socket;
}
server {
....
location /mailman {
.....
include uwsgi_params;
proxy_set_header Proxy "";
uwsgi_param UWSGI_SCHEME $scheme;
uwsgi_modifier1 9;
uwsgi_pass _mailman;
}
}
Let me know if you need more info.
-Jim P.
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org