-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I wasn't able to get manual certbot authentication working with this location. I think both conditional cases should use alias not root, right? Or, authenticator.sh.j2 is incorrect and should store files at {{letsencrypt_webroot}}/.well-known/acme-challenge?
location '/.well-known/acme-challenge' {
default_type "text/plain";
{% if letsencrypt_alternative_acme_folder == "" %}
root {{ letsencrypt_webroot }};
{% else %}
alias {{ letsencrypt_webroot }}/{{ letsencrypt_alternative_acme_folder }};
{% endif %}
}
Command run was certbot certonly --agree-tos -m \"ops@appsembler.com\" --manual --manual-public-ip-logging-ok --preferred-challenges=http --manual-auth-hook /opt/scripts/authenticator.sh -d insights.getyouredge.org
which resulted in a 404 response trying to find /var/www/letsencrypt/.well-known/acme-challenge/foo when the file was stored at /var/www/letsencrypt/foo via the /opt/scripts/authenticator.sh script.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels