mailman: add MailmanForceSSL env var release_20190109-2
authorClinton Ebadi <clinton@unknownlamer.org>
Thu, 10 Jan 2019 03:02:06 +0000 (22:02 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Thu, 10 Jan 2019 03:02:06 +0000 (22:02 -0500)
commitbd8614c896255ba988644f5c359724e1133d0276
tree697b3317467caaa7d14d798553af32bd8597a9ad
parent4c792c1b279b1f0a99d2cc39d174ee7c3e460f3f
mailman: add MailmanForceSSL env var

Since normal users cannot access the server mailman is on directly,
they also can't set up a vhost to redirect http -> https for mailman.

Use MailmanForceSSL to control generating a redirect to https for http
vhosts. Silently does nothing when used with a vhost with an SSL
cert (would just generate a redirect loop).
lib/defaults.dtl
lib/mailman.dtl
src/plugins/mailman.sml