Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

What is official way to upload nginx.conf on server (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>