How to upgrade Nginx safely?

mentik_yusmantara

Verified User
Joined
Jun 5, 2020
Messages
117
Location
Bali, Indonesia
I currently using Nginx v1.17.10, this custombuild look like

NameCurrent VersionAvailable Version
DirectAdminUpdate1.61.01.61.2
NginxUpdate1.17.101.19.0
s-nailUpdate14.9.1714.9.19
RoundCubeUpdate1.4.41.4.5

i am looking another people see the problem when upgrading from custombuild
Please suggest another way and safer way for it?
Thanks
 
Only problem I encounter with nginx updates (./build) is that rules in \etc\modsecurity.d\ are deleted and reinstalled. I've made a \etc\modsecurity.custom\ directory for keeping my modifications and then symlink to \etc\modsecurity.d\
 
Only problem I encounter with nginx updates (./build) is that rules in \etc\modsecurity.d\ are deleted and reinstalled. I've made a \etc\modsecurity.custom\ directory for keeping my modifications and then symlink to \etc\modsecurity.d\
thanks, wanabo... i'll try update nginx
Can you suggest how to upgrade nginx using (./build) in command line?
 
I would just hit the update button in the custombuild gui.
I'm not very comfortable with build commands and it might also depend on your webserver setup. Is it just nginx or apache_nginx.

You can find more info on build here, Custom Build FAQ.
I would try.
Code:
cd /usr/local/directadmin/custombuild
./build update
./build nginx

Best wait on confirmation on the manual ./build from another user.
 
I would just hit the update button in the custombuild gui.
I'm not very comfortable with build commands and it might also depend on your webserver setup. Is it just nginx or apache_nginx.

You can find more info on build here, Custom Build FAQ.
I would try.
Code:
cd /usr/local/directadmin/custombuild
./build update
./build nginx

Best wait on confirmation on the manual ./build from another user.
I using nginx only,,, thanks for the command line :)
 
Back
Top