mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Set WELLKNOWN path per subdomain #87
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 @ghost on GitHub (Apr 15, 2016).
Hi,
I'm currently running into the issue when trying to validate a domain + multiple subdomains.
The script tries to validate the acme challenge file under:
WELLKNOWN="${BASEDIR}/public_html/.acme-challenge"
Which is the challenge directory in the website root. This works for validating example.com & www.example.com, but it doesn't work for subdomain.example.com
This subdomain is located under /public_html/subdomain/
Is it possible to set up multiple WELLKNOWN paths for the different subdomains I'm trying to validate?
One of the docs recommends to set up an alias but I'm unable to modify the apache config file. Modifying this file is restricted on the server I'm running this website on.
https://github.com/lukas2511/letsencrypt.sh/blob/master/docs/wellknown.md
@lukas2511 commented on GitHub (Apr 15, 2016):
Currently there is no way for a per-domain configuration of this path.
I'd suggest creating a symlink if that is possible, or create a hook script that moves the files to the correct directory using the
deploy_challengehook.In the future this may change, kinda related to #105.
@ghost commented on GitHub (Apr 15, 2016):
Thank you!