summaryrefslogtreecommitdiff
path: root/etc/systemd/system/acme.sh.service.d/override.conf
blob: 058446db8115ca03361551973c72fd227301631e (plain)
1
2
3
4
5
6
7
# Note need both /etc/nginx and /var/log/nginx, else acme.sh will error: "It
# seems that the nginx config is not correct, cannot continue." By editing
# /usr/share/acme.sh/acme.sh to change `nginx -t >/dev/null 2>&1` to `nginx
# -t`, we can see nginx's error log: "open() "/var/log/nginx/access.log"
# failed", this is the reason why /var/log/nginx is also included
[Service]
ReadWritePaths=/etc/acme.sh /var/log/acme.sh /etc/postfix /etc/nginx /var/log/nginx