mirror of
https://github.com/sileht/bird-lg.git
synced 2024-12-22 20:44:43 +01:00
22db058e99
This makes sure that the actual configuration is not tracked in git, simplifying deployment.
29 lines
844 B
Plaintext
29 lines
844 B
Plaintext
# Configuration file example for lgproxy.py
|
|
# Adapt and copy to lgproxy.cfg
|
|
|
|
DEBUG=False
|
|
|
|
LOG_FILE="/var/log/lg-proxy/lg-proxy.log"
|
|
LOG_LEVEL="WARNING"
|
|
# Keep log history indefinitely by default.
|
|
LOG_NUM_DAYS=0
|
|
|
|
BIND_IP = "0.0.0.0"
|
|
BIND_PORT = 5000
|
|
|
|
# Used to restrict access to lgproxy based on source IP address.
|
|
# Empty list = any IP is allowed to run queries.
|
|
ACCESS_LIST = ["91.224.149.206", "178.33.111.110", "2a01:6600:8081:ce00::1"]
|
|
|
|
# Used to restrict access to lgproxy based on a shared secret (must also be configured in lg.cfg)
|
|
# Empty string or unset = no shared secret is required to run queries.
|
|
SHARED_SECRET="ThisTokenIsNotSecret"
|
|
|
|
# Used as source address when running traceroute (optional)
|
|
IPV4_SOURCE="198.51.100.42"
|
|
IPV6_SOURCE="2001:db8:42::1"
|
|
|
|
BIRD_SOCKET="/var/run/bird/bird.ctl"
|
|
BIRD6_SOCKET="/var/run/bird/bird6.ctl"
|
|
|