rename nginx template file

This commit is contained in:
Romain Bazile 2020-12-05 03:13:01 +01:00
parent 8cf8711e35
commit 849d6188fd
2 changed files with 1 additions and 0 deletions

View file

@ -28,6 +28,7 @@ function special(){
if [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
${log} "Updating the old nginx config"
sudo rm /etc/nginx/sites-available/gallery.conf
sudo rm /etc/nginx/sites-enabled/gallery.conf
fi
if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then
${log} "Nginx config is not installed, doing that now"