fixed nginx
Fixed an error with new 1.14.0 stable version not properly starting the nginx service.
This commit is contained in:
parent
64b5c64021
commit
a5e714ec07
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue