What is official way to upload nginx.conf on server

Jerry OELoo oyljerry at gmail.com
Fri Apr 10 08:05:37 UTC 2015


Hi.
I have running nginx on server, when I modify nginx.conf setting, I
need to use sftp to upload file to server, as nginx.conf is at
/usr/local/ folder, it need root privilege.

So currently, I will upload file to /home/doc folder, then use 'sudo
mv' to deploy nginx.conf. Then I will reload nginx with command line.

I want to know what is recommend way to do this? Thanks!

-- 
Rejoice,I Desire!



More information about the nginx mailing list