Add 127.0.0.1:80, 443, and rewrite rules to the nginx config

This commit is contained in:
Mark J Crane
2017-03-26 10:06:51 -06:00
parent 318abae8d7
commit 50359e7230
2 changed files with 218 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ if [ ."$php_version" = ."7" ]; then
fi
#enable fusionpbx nginx config
#cp nginx/fusionpbx.conf /usr/local/etc/nginx/conf.d/fusionpbx
cp nginx/fusionpbx.conf /usr/local/etc/nginx/conf.d/fusionpbx
#self signed certificate
#ln -s /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/private/nginx.key
@@ -44,4 +44,3 @@ mkdir -p /var/www/letsencrypt/
service php-fpm restart
service nginx restart