Update Mailman archive URLs to use HTTPS

A missed detail of the HTTPS config migration,
/usr/lib/mailman/Mailman/Defaults.py explicitly sets this:

    PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s/'

Override that setting to https:// so that the archive URL embedded
in E-mail headers will no longer unnecessarily rely on our Apache
redirect. Once merged and deployed, fix_url.py will need to be rerun
for all the lists on both servers in order for this update to take
effect.

Change-Id: Ie4a6e04a2ef0de1db7336a2607059a2ad42665c2
This commit is contained in:
Jeremy Stanley 2022-07-06 13:21:17 +00:00
parent 98938a029e
commit 5a37720388
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ MAILMAN_SITE_LIST = 'mailman'
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'

View File

@ -58,6 +58,7 @@ MAILMAN_SITE_LIST = 'mailman'
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'