about summary refs log tree commit diff
path: root/lychee.toml
blob: 52d3842b0f6f186bf45d7e5622348c9789cdce4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Enable link caching.
cache = true

# Discard all cached requests older than one day.
max_cache_age = "1d"

# Maximum number of allowed retries before a link is declared dead.
max_retries = 3

# User agent to send with each request.
# https://www.whatismybrowser.com/guides/the-latest-user-agent/chrome
user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36"

# Minimum wait time in seconds between retries of failed requests.
retry_wait_time = 3

# Comma-separated list of accepted status codes for valid links.
accept = [200, 403]

# Exclude all private IPs from checking.
exclude_all_private = true