Server/Configuration
From Bondix Wiki
Server Configuration
By default, the server configuration in /etc/saneserver.json
allows to set up many things via the web interface - environments and tunnels that are created dynamically (via the web interface) are stored in /etc/bondix/.
However, you can customize S.A.NE server to adjust your requirements, such as:
- Have the web interface only accessible on a dedicated IP/port
- Disable the webinterface completely
- Set up tunnels statically
Configuration Layout for /etc/saneserver.json
Configuration is stored in JSON, as an array of configuration commands. Lets inspect the default configuration:
[ {"target": "tunnel", "action": "set-settings-location", "directory": "/etc/bondix/"}, {"target": "server", "action": "add-https", "host": "0.0.0.0", "port": "443", "allowMonitor": true}, {"target": "server", "action": "add-http", "host": "0.0.0.0", "port": "80", "allowMonitor": true}, {"target": "server", "action": "add-user", "user": "admin", "password": "password"}, {"target": "server", "action": "set-web-login", "password": "password"} ]