Skip to content
Snippets Groups Projects
Commit 77d29271 authored by ynerant's avatar ynerant Committed by ynerant
Browse files

[mailman] Use multiple domains for mailman-web


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent e242818a
No related branches found
No related tags found
1 merge request!235Mailman 3
......@@ -74,6 +74,8 @@ glob_mailman3:
restadmin_pass: "{{ vault.mailman3_restadmin_pass }}"
archiver_key: "{{ vault.mailman3_archiver_key }}"
web_secret_key: "{{ vault.mailman3_web_secret_key }}"
web_domain: "mailman.crans.org"
web_domains:
- "mailman.crans.org"
- "lists.crans.org"
default_domain: "crans.org"
postfix_domain: "crans.org"
......@@ -16,9 +16,9 @@ ADMINS = (
# is meant to run behind a webserver reverse proxy anyway.
ALLOWED_HOSTS = [
"localhost", # Archiving API from Mailman, keep it.
"{{ mailman3.web_domain }}",
# Add here all production URLs you may have.
#'*'
{% for domain in mailman3.web_domains %}
"{{ domain }}",
{% endfor %}
]
# Mailman API credentials
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment