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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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