Open nsosnsos opened 1 year ago
Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade
If it's still not working, please provide the log with --debug 2
, otherwise, nobody can help you.
Please send the nginx.conf.
acme.sh --issue -d ${SITE_NAME} --nginx --debug
[Sat Mar 4 23:36:19 HKT 2023] Check the nginx conf before setting up. [Sat Mar 4 23:36:19 HKT 2023] nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) 2023/03/04 23:36:19 [warn] 14730#14730: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2023/03/04 23:36:19 [emerg] 14730#14730: open() "/run/nginx.pid" failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed