Przeglądaj źródła

Add an to the firmware on the rewrite rule.

FusionPBX 5 lat temu
rodzic
commit
6d537d3f27
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      debian/resources/nginx/fusionpbx

+ 1 - 1
debian/resources/nginx/fusionpbx

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