[Mailman-Users] moderator page behind nginx with SSL

John Griessen john at cibolo.com
Fri Jun 24 11:09:19 EDT 2016


On 06/21/2016 12:10 PM, Mark Sapiro wrote:
> On 06/21/2016 10:01 AM, John Griessen wrote:
>> > I could not find any examples of people using mailman behind TLS cert so
>> > I disabled the redirecting to https and the moderator function works
>> > that way.
>> > Either way the general admin pages including membership work as expected.
>
> See the reply at
> <https://mail.python.org/pipermail/mailman-users/2016-June/080916.html>
> which tells you exactly how to fix this.

I checked and my configuration had:
DEFAULT_URL_HOST   = 'cibolo.us'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
DEFAULT_EMAIL_HOST = 'cibolo.us'
MTA='Postfix'

nginx was set to serve www.cibolo.us and cibolo.us by redirecting to  https://cibolo.us

the subdirectories are set to be rewritten as in
https://www.nginx.com/resources/wiki/start/topics/recipes/mailman/


location /mailman
location /images/mailman
location /pipermail


After noting these settings, I reran

sudo /usr/sbin/withlist -l -r fix_url sandbox

then cleared the browser cache,
then browsed
https://cibolo.us/mailman/listinfo

where I see an overall lists list

I use those links to navigate to

https://cibolo.us/mailman/listinfo/sandbox
https://cibolo.us/mailman/admin/sandbox
https://cibolo.us/mailman/admindb/sandbox

and when I change action to take to discard
and click submit,

a security warning pops up saying info will not be encrypted,
I click continue,

The radio button for discard goes back to Defer, the state it was in before.

All other functions of the admin pages work normally except for this.

=======================================================
If I change nginx to not redirect, but serve http without TLS certs when asked,
the user interface for moderation works normally.
====================================================

Is there some special rewrite needed for

https://cibolo.us/mailman/admindb/sandbox
?






More information about the Mailman-Users mailing list