need magic subdir of challenges

This commit is contained in:
Randy Bush 2022-01-09 22:31:06 -08:00
parent 4ff55ed58f
commit 20e98e07ac

View file

@ -17,11 +17,14 @@ chmod 700 secrets
chmod 750 challenges chmod 750 challenges
``` ```
challenges has to be readable by the web server, but this hack can only be done by root And challenges needs a self-referential sub-directory
``` ```
chown acme:www-data /home/acme/challenges mkdir /home/acme/challenges/.well-known
``` ln -s /home/acme/challenges /home/acme/challenges/.well-known/acme-challenge
chown -R acme:www-data challenges
chmow og+rx challenges
...
I do not have git on small machines, so just grab the code with fetch. Being lazy, I just fetch the source into /home/acme. I do not have git on small machines, so just grab the code with fetch. Being lazy, I just fetch the source into /home/acme.
@ -192,4 +195,4 @@ You can run the same script as above for certificate renewal. Put
in acme's crontab. in acme's crontab.
2017.08.07 2022.01.09