fixed nginx

Fixed an error with new 1.14.0 stable version not properly starting the nginx service.
This commit is contained in:
Cristhian Martínez Ochoa 2018-04-25 16:06:10 -06:00
parent 64b5c64021
commit a5e714ec07

View file

@ -134,6 +134,7 @@ nginx_install() {
sudo chown root:root /var/www
fi
sudo nginx -t && sudo service nginx start
conf_write nginx true
echo "${gre}Nginx has been installed successfully! ${end}"
}
@ -234,9 +235,7 @@ nginx_optim() {
linux_optim
server_version
conf_write nginx-optim true
sudo nginx -t && sudo service nginx reload
}