rename nginx template file
This commit is contained in:
parent
8cf8711e35
commit
849d6188fd
|
@ -28,6 +28,7 @@ function special(){
|
||||||
if [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
if [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
||||||
${log} "Updating the old nginx config"
|
${log} "Updating the old nginx config"
|
||||||
sudo rm /etc/nginx/sites-available/gallery.conf
|
sudo rm /etc/nginx/sites-available/gallery.conf
|
||||||
|
sudo rm /etc/nginx/sites-enabled/gallery.conf
|
||||||
fi
|
fi
|
||||||
if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
|
||||||
${log} "Nginx config is not installed, doing that now"
|
${log} "Nginx config is not installed, doing that now"
|
||||||
|
|
Loading…
Reference in a new issue