I found a solution to this by using nginx as a reverse proxy for the FS and
the external server.

On Fri, May 11, 2018 at 2:35 PM, Michael Ducharme <[email protected]>
wrote:

> Hello,
>
> I am trying the following provision to fetch a config file from an
> external server:
>
> let serial = declare("VirtualParameters.UUID", {value: 1}).value[0];
> declare("Downloads.[FileType:3 Vendor Configuration File]",
>     {path: 1}, {path: 1});
>   declare("Downloads.[FileType:3 Vendor Configuration File].FileName",
>     {value: 1}, {value: "http://mydomain.ca/foo/getconf.php?id="; +
> serial});
>   declare("Downloads.[FileType:3 Vendor Configuration File].Download",
>     {value: 1}, {value: Date.now()});
>
> Unfortunately it looks like GenieACS is prefixing https://FS_IP:FS_PORT/
> before the filename. Is there a way to override this behavior for this
> provision only?
>
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to