Install cert and reload nginx without root? #4433
Replies: 2 comments
-
I am putting a flag somewhere, if it exists a cron job reloads nginx/apache |
Beta Was this translation helpful? Give feedback.
0 replies
-
you can configure that the "reload" doens't require "sudo" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
acme.sh documentation states that root is not required for issuing a cert and that is true, however how can I use the script to automatically install and reload nginx as non-root user? So first we have to install cert for example to
/etc/nginx/ssl-cert
directory and doservice nginx force-reload
. Both commands require root/sudo. What's the recommended solution? Right now I installed acme.sh as root user on my server, however I feel like this is not right approach.Beta Was this translation helpful? Give feedback.
All reactions