blob: bad53fc074fcdbd709d8294a212763e840ee32f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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. Including
# both /etc/nginx and /var/log/nginx is also what I did on old studio laptop,
# see config_local_arch_studio repo.
#
# v0.1.3 added `ReadWritePaths=/etc/acme.sh /var/log/acme.sh` so now I don't
# need to add these two, so I choose to keep the original and adding to the
# list. I think if I want to clear the list first, I should do a line of
# `ReadWritePaths=` first. Not tested
[Service]
ReadWritePaths=/etc/postfix /etc/nginx /var/log/nginx
|