mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update nginx.sh
This commit is contained in:
parent
dd17414b71
commit
7a7e2b89c8
|
|
@ -4,8 +4,9 @@ SCRIPT_NAME="nginx.sh"
|
|||
|
||||
# Registra el inicio en /opt/curl.txt
|
||||
echo "Inicio: $SCRIPT_NAME" >> /opt/curl.txt
|
||||
if [ ! -f "/etc/nginx/sites-available/000" ]; then
|
||||
sudo apt-get install nginx php-fpm -y
|
||||
|
||||
fi
|
||||
if [ -f "/etc/nginx/sites-enabled/default" ]; then
|
||||
rm /etc/nginx/sites-enabled/default
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue