tpotce/docker/hellpot/dist/config.toml

43 lines
1.5 KiB
TOML
Raw Normal View History

2022-10-14 14:55:28 +00:00
[deception]
# Used as "Server" HTTP header. Note that reverse proxies may hide this.
server_name = "nginx"
2021-07-02 22:12:47 +00:00
[http]
2022-10-14 14:55:28 +00:00
# TCP Listener (default)
2021-07-02 22:12:47 +00:00
bind_addr = "0.0.0.0"
bind_port = "8080"
2022-10-14 14:55:28 +00:00
# this contains a list of blacklisted useragent strings. (case sensitive)
# clients with useragents containing any of these strings will receive "Not found" for any requests.
uagent_string_blacklist = ["Cloudflare-Traffic-Manager", "curl"]
# Unix Socket Listener (will override default)
2022-10-14 14:55:28 +00:00
unix_socket_path = "/var/run/hellpot"
unix_socket_permissions = "0666"
use_unix_socket = false
2022-10-14 14:55:28 +00:00
[http.router]
# Toggling this to true will cause all GET requests to match. Forces makerobots = false.
catchall = true
# Toggling this to false will prevent creation of robots.txt handler.
makerobots = true
# Handlers will be created for these paths, as well as robots.txt entries. Only valid if catchall = false.
paths = ["wp-json/omapp/v1/support", "wp-login.php", "wp-login"]
2021-07-02 22:12:47 +00:00
[logger]
2022-10-14 14:55:28 +00:00
# verbose (-v)
2021-07-02 22:12:47 +00:00
debug = true
2022-10-14 14:55:28 +00:00
# extra verbose (-vv)
trace = false
# JSON log files will be storn in the below directory.
directory = "/var/log/hellpot/"
# disable all color in console output. when using Windows this will default to true.
nocolor = true
# toggles the use of the current date as the names for new log files.
use_date_filename = false
[performance]
# max_workers is only valid if restrict_concurrency is true
max_workers = 256
2022-10-14 14:55:28 +00:00
restrict_concurrency = false