On 2/16/22 10:00, Élodie BOSSIER via Mailman-users wrote:
I'm using Mailman 3.3.3 (Tom Sawyer) on Debian Bullseye 11.2 from packages :
When you install Debian packages, your primary support resource is Debian.
...
I can access from localhost to http://127.0.0.1:8000/ which move me correctly to http://127.0.0.1:8000/postorius/lists/ and all seem to be correct.
But 127.0.0.1:8000 listen only in localhost : #netstat -tanpu | grep 8000 tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 626175/python3
Which is as it should be.
So I try to use my lighttpd as proxy as recommanded with this config :
scgi.protocol = "uwsgi" scgi.server = ( "/" => (( "host" => "127.0.0.1", "port" => 8000, "check-local" => "disable" )), )
but it's return me a "502 Bad Gateway".
I don't know anything about lighttpd, but the fact that you can access http://127.0.0.1:8000/ from localhost and that seems to work suggests that you shouldn't be using uwsgi protocol, but just a straight http proxy. See https://redmine.lighttpd.net/projects/lighttpd/wiki/HowToPythonWSGI#lighttpd... and https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModProxy
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan