0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 01:09:53 +00:00
packages/net/acme-common
Toke Høiland-Jørgensen 76f17ab15b acme-common: Create challenge directory on boot
The challenge directory (for webroot challenges) is on a tmpfs, which
means it doesn't exist on boot. Some web servers (uhttpd in particular)
don't like being configured to serve files from a non-existent
directory. So add a boot() section to the ACME init script that just
creates the challenge directory, and make sure it runs relatively early.
That should take care of the non-existent directory issue, while still
keeping the actual certificate renewal controlled by cron.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2024-12-12 20:49:06 +01:00
..