How to have GenieACS trigger download from different web server?

Michael Ducharme mducharme at gmail.com
Sun May 13 18:11:19 EDT 2018


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 <mducharme at gmail.com>
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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180513/b92c359c/attachment.html>


More information about the Users mailing list