1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-14 02:34:22 +02:00

Switch to rule-based hosts for certificate generation

This commit is contained in:
kaiyou 2017-09-17 12:09:08 +02:00
parent 52daccb74e
commit 01182d3708
3 changed files with 5 additions and 9 deletions

View File

@ -23,8 +23,10 @@ BIND_ADDRESS=127.0.0.1
# Main mail domain
DOMAIN=mailu.io
# Exposed mail-server hostname
# Main hostname for announces, and list of all available hostnames, separated
# by comas
HOSTNAME=mail.mailu.io
HOSTNAMES=mail.mailu.io,alternative.mailu.io,yetanother.mailu.io
# Postmaster local part (will append the main mail domain)
POSTMASTER=admin

View File

@ -22,10 +22,3 @@ domain = "{{ DOMAIN }}"
watch = true
exposedbydefault = false
[acme]
email = "{{ POSTMASTER }}@{{ DOMAIN }}"
storageFile = "/certs/acme.json"
onDemand = true
entryPoint = "https"

View File

@ -22,7 +22,8 @@ exposedbydefault = false
[acme]
email = "{{ POSTMASTER }}@{{ DOMAIN }}"
storageFile = "/certs/acme.json"
onDemand = true
onDemand = false
OnHostRule = true
entryPoint = "https"