-
Notifications
You must be signed in to change notification settings - Fork 67
configure frontend
the default installation path for the FrondEnd module is /opt/nano/frontend
When the module starts, it checks whether the configuration file exists. If omitted, it will automatically prompt the user to confirm the configuration and create it.
parameters need to configure:
-
Web Listening Address (Listen Address). The IP address inputs in the browser to access the web portal. If only one IP address available, the module will choose it automated otherwise prompt to select.
-
Web Listening Port (Listen Port). The port number needs to access the web portal. The default is TCP 5870.
-
Backend Service Address.the backend address of API service that the portal called, same as the listening address in default.
-
Backend Service Port. The listening port of the API service, the default is TCP 5850.
The configuration files are saved in the config path of the module and saved in JSON format.
File name:frontend.cfg
Parameters:
-
"address":Web Listening Address, string in the IPv4 format
-
"port":Web Listening Port, integer
-
"service_host":Backend Service Address, string in the IPv4 format
-
"service_port":Backend Service Port, integer