mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-17 05:00:26 +00:00
In one or more `include` arguments are specified, only check the URLs that match the patterns. In case `exclude` arguments are also specified, make an exception from the excluded URLs if they also match the `include` patterns.
68 lines
1.3 KiB
TOML
68 lines
1.3 KiB
TOML
###
|
|
### Display
|
|
###
|
|
# Verbose program output
|
|
verbose = false
|
|
|
|
# Show progress
|
|
progress = false
|
|
|
|
|
|
###
|
|
### Runtime
|
|
###
|
|
# Number of threads to utilize.
|
|
# Defaults to number of cores available to the system if omitted.
|
|
#threads = 2
|
|
|
|
# Maximum number of allowed redirects
|
|
max_redirects = 10
|
|
|
|
|
|
###
|
|
### Requests
|
|
###
|
|
# User agent to send with each request
|
|
user_agent = "curl/7.71.1"
|
|
|
|
# Website timeout from connect to response finished
|
|
timeout = "20"
|
|
|
|
# Comma-separated list of accepted status codes for valid links.
|
|
# Omit to accept all response types.
|
|
#accept = "text/html"
|
|
|
|
# Proceed for server connections considered insecure (invalid TLS)
|
|
insecure = false
|
|
|
|
# Only test links with the given scheme (e.g. https)
|
|
# Omit to check links with any scheme
|
|
#scheme = "https"
|
|
|
|
# Request method
|
|
method = "get"
|
|
|
|
# Custom request headers
|
|
headers = []
|
|
|
|
|
|
###
|
|
### Exclusions
|
|
###
|
|
# Exclude URLs from checking (supports regex)
|
|
exclude = []
|
|
|
|
include = []
|
|
|
|
# Exclude all private IPs from checking
|
|
# Equivalent to setting `exclude_private`, `exclude_link_local`, and `exclude_loopback` to true
|
|
exclude_all_private = false
|
|
|
|
# Exclude private IP address ranges from checking
|
|
exclude_private = false
|
|
|
|
# Exclude link-local IP address range from checking
|
|
exclude_link_local = false
|
|
|
|
# Exclude loopback IP address range from checking
|
|
exclude_loopback = false
|