Welcome! Log In Create A New Profile

Advanced

What is official way to upload nginx.conf on server

Jerry OELoo
April 10, 2015 04:06AM
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
Subject Author Posted

What is official way to upload nginx.conf on server

Jerry OELoo April 10, 2015 04:06AM

Re: What is official way to upload nginx.conf on server

Francis Daly April 10, 2015 06:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready