Add an to the firmware on the rewrite rule.

This commit is contained in:
FusionPBX
2020-07-21 15:59:10 -06:00
committed by GitHub
parent a6c3d51cbf
commit 6d537d3f27

View File

@@ -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;
}