Update nginx.sh

This commit is contained in:
FusionPBX 2019-08-20 17:40:58 -06:00 committed by GitHub
parent fde336671d
commit 7686b4877c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -22,6 +22,17 @@ if [ ."$cpu_architecture" = ."arm" ]; then
fi
fi
#set the version of php
if [ ."$os_codename" = ."buster" ]; then
php_version=7.3
fi
if [ ."$os_codename" = ."stretch" ]; then
php_version=7.1
fi
if [ ."$os_codename" = ."jessie" ]; then
php_version=7.1
fi
#enable fusionpbx nginx config
cp nginx/fusionpbx /etc/nginx/sites-available/fusionpbx