Update fusionpbx.conf

This commit is contained in:
FusionPBX 2017-04-02 21:39:34 -06:00 committed by GitHub
parent 85d41ac1a3
commit 7c702af45a
1 changed files with 4 additions and 4 deletions

View File

@ -58,10 +58,10 @@ server {
}
#rewrite rule - send to https with an exception for provisioning
#if ($uri !~* ^.*provision.*$) {
# rewrite ^(.*) https://$host$1 permanent;
# break;
#}
if ($uri !~* ^.*provision.*$) {
rewrite ^(.*) https://$host$1 permanent;
break;
}
#rewrite rule - REST api
if ($uri ~* ^.*/api/.*$) {