forked from norman/fusionpbx-install.sh-github-mirror
Add an to the firmware on the rewrite rule.
This commit is contained in:
2
debian/resources/nginx/fusionpbx
vendored
2
debian/resources/nginx/fusionpbx
vendored
@@ -61,7 +61,7 @@ server {
|
||||
}
|
||||
|
||||
#rewrite rule - send to https with an exception for provisioning
|
||||
if ($uri !~* ^.*(provision|xml_cdr).*$) {
|
||||
if ($uri !~* ^.*(provision|xml_cdr|firmware).*$) {
|
||||
rewrite ^(.*) https://$host$1 permanent;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user