comment out lines that breaks nginx config file (#383)
It doesn't seem to have any purpose. If someone knows the purpose feel free to update in a way that doesn't break the config
This commit is contained in:
parent
413ee56196
commit
d6edf06a26
|
|
@ -68,9 +68,9 @@ ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/certs/nginx.crt
|
|||
rm /etc/nginx/sites-enabled/default
|
||||
|
||||
#update config if LetsEncrypt folder is unwanted
|
||||
if [ .$letsencrypt_folder = .false ]; then
|
||||
sed -i '151,155d' /etc/nginx/sites-available/fusionpbx
|
||||
fi
|
||||
# if [ .$letsencrypt_folder = .false ]; then
|
||||
# sed -i '151,155d' /etc/nginx/sites-available/fusionpbx
|
||||
# fi
|
||||
|
||||
#add the letsencrypt directory
|
||||
if [ .$letsencrypt_folder = .true ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue