Allow to override ExApp HOST for Admins
Closed this issue · 1 comments
In some fairly common situations AppAPI does not work because ExApp issues a command to map host 127.0.0.1
We need to optionally add the ability to override this value for the selected daemon.
In the advanced deployment options, add a “+” button, when clicked, a new input field is added.
The administrator must be able to enter the value key and the value itself.
We will write these values in “deploy_config” in “additional_options”
This will be a fairly general way to expand the functionality of AppAPI without complicating the basic existing interface.
Reference:
From docs:
Starting with AppAPI version 2.5.0, the optional additional parameter OVERRIDE_APP_HOST can be used to override the host that will be used for ExApp binding.
It can be 0.0.0.0 in some specific configurations, when VPN is used or both Nextcloud instance and ExApps are one the same physical machine but different virtual environments.
Also you can specify something like 10.10.2.5 and in this case ExApp wil try to bind to that address and AppAPI will try to send request s directly to this address assuming that ExApp itself bound on it.
Closing as resolved.