Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've been testing the hosting_le module with apache, but kept getting 403 forbidden when validating the challenges. It seems that for the Alias
directives added in ccce1ca to work we also need to allow access to the /var/aegir/tools/le/.acme-challenges
directory.
I didn't know if this belonged here or in hosting_le, but since the Alias directives were added in the config template files I'm reporting it here.
Comment | File | Size | Author |
---|---|---|---|
#2 | provision-allow_access_to_acme_challenges-2730977-1.patch | 2.17 KB | mpv |
Comments
Comment #2
mpv CreditAttribution: mpv at gcoop Cooperativa de Software Libre commentedHere's a patch that is working for me.
Comment #3
mpv CreditAttribution: mpv at gcoop Cooperativa de Software Libre commentedComment #5
omega8cc CreditAttribution: omega8cc commentedGood catch. Thanks for the patch!
Comment #6
ergonlogicPlease revert that commit. As in #2731605: Hardcoded hosting_le code limits behavior with regards to the .well-known directory, this should really be in implementations of drush_hook_provision_nginx_dir_config(), and the Apache equivalent, that live in hosting_le.module.
Comment #7
mpv CreditAttribution: mpv at gcoop Cooperativa de Software Libre commentedOk, I agree.
I've started testing with this hook in hosting_le (only apache), will play with it a little more when I get the time.
Thanks for the review.
Comment #8
omega8cc CreditAttribution: omega8cc commentedThis has been already reverted in: #2731605: Hardcoded hosting_le code limits behavior with regards to the .well-known directory
The commit: http://cgit.drupalcode.org/provision/commit/?id=9c74c16
Comment #9
omega8cc CreditAttribution: omega8cc commented@mpv -- we have implemented this in hosting_le instead.