Skip to content

configure frontend

bokuore edited this page Jul 12, 2018 · 1 revision

FrontEnd Installation and Configuration

Installation Path

the default installation path for the FrondEnd module is /opt/nano/frontend

Automatic Configuration

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.

Service Configuration

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.

Configure Files

The configuration files are saved in the config path of the module and saved in JSON format.

Service Configuration

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

Clone this wiki locally