forked from norman/fusionpbx-install.sh-github-mirror
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:
6
debian/resources/nginx.sh
vendored
6
debian/resources/nginx.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user