Files
EasyDNS-Web/packaging/easydns-ui.toml
T
Mateusz Gruszczyński a28362b82c
Go quality gates / test (push) Waiting to run
v0.1.2
2026-12-01 00:16:15 +01:00

55 lines
1.9 KiB
TOML

# EasyDNS Web 0.1.2 — Debian panel configuration.
# File: /etc/easydns-ui/config.toml
# Edit with sudo; secrets must remain readable only by root and the panel group.
# sudo chown root:easydns-ui /etc/easydns-ui/config.toml
# sudo chmod 0640 /etc/easydns-ui/config.toml
[panel]
listen = "127.0.0.1:8088"
username = "admin"
# Optional: set a password here (16+ characters) instead of using password_file.
# password = "replace-with-a-long-unique-password"
password_file = "/etc/easydns-ui/panel.password"
session_key_file = "/etc/easydns-ui/session.key"
session_auto = false
# Set true only when accessed via HTTPS and the reverse proxy forwards it.
cookie_secure = false
nodes_dir = "/var/lib/easydns-ui"
[api]
url = "http://127.0.0.1:9953"
# Use the token that EasyDNS itself generates; the panel does NOT mint tokens.
token_file = "/etc/easydns/data/control.token"
# Or set an explicit token instead of reading token_file:
# token = "generated-EasyDNS-control-token"
# For the local control socket, uncomment and ensure group permission:
# socket = "/etc/easydns/data/control.sock"
# Only for private trusted networks when HTTPS is unavailable:
allow_insecure_http = false
[multiserver]
enabled = false
local_name = "Local EasyDNS"
local_role = "primary"
# Optional additional servers (one Primary, two Secondary is a typical setup).
# You can alternatively add and manage servers in the panel UI.
# Changing these settings does NOT reconfigure EasyDNS replication.
# To enable this feature at startup, set enabled = true above.
# Each remote server needs its own control token, generated by that server.
#
# [[servers]]
# slot = 1
# name = "DNS Secondary 1"
# role = "secondary"
# url = "https://dns-secondary-1.example.net:9953"
# token = "generated-on-secondary-1"
# # Or: token_file = "/etc/easydns-ui/secondary-1.token"
#
# [[servers]]
# slot = 2
# name = "DNS Secondary 2"
# role = "secondary"
# url = "https://dns-secondary-2.example.net:9953"
# token = "generated-on-secondary-2"