mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
domain specific config file #301
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ksingvo on GitHub (Mar 14, 2018).
At the moment all config files in CONFIG_D/* are included when running dehydrated.
I'm asking to include a domain specific configuration file, which relies on the domains read from DOMAINS_TXT, to get ability of domain specific configuration settings, like CONTACT_EMAIL or any other.
Example:
domains.txt consists of:
When processing domain example.com a config file named "directory"/"example.com".sh should be parsed, but not "directory"/"example.net".sh
Similar when processing domain example.net: config file named "directory"/"example.net".sh should be parsed, but not "directory"/"example.com".sh
I'm open regarding the implementation details, and "directory" is only to be seen as a placeholder. :)
@txr13 commented on GitHub (Mar 14, 2018):
Please see the per-certificate config file - https://github.com/lukas2511/dehydrated/blob/master/docs/per-certificate-config.md.
@ksingvo commented on GitHub (Mar 14, 2018):
Thanks. Wasn't aware.
But CONTACT_EMAIL isn't a supported option, is it?
@txr13 commented on GitHub (Mar 14, 2018):
CONTACT_EMAIL is set on the account level, not on the certificate level. To have a different CONTACT_EMAIL, you would need to create a completely separate account on the ACME server.
@ksingvo commented on GitHub (Mar 14, 2018):
I see. Thanks for explanation.
@ksingvo commented on GitHub (Mar 14, 2018):
As it is already implemented or not possible (reason given), this issue can be closed from my point of view.