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!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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!
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx