fix: change default tcp_check_http_method to HEAD (#137)

This commit is contained in:
mzz
2023-06-11 12:47:30 +08:00
committed by GitHub
parent e1d0d8a35a
commit 24433d1479
3 changed files with 4 additions and 4 deletions

View File

@ -43,9 +43,9 @@ global {
#tcp_check_url: 'http://cp.cloudflare.com'
tcp_check_url: 'http://cp.cloudflare.com,1.1.1.1,2606:4700:4700::1111'
# The HTTP request method to `tcp_check_url`. Use 'CONNECT' by default because some server implementations bypass
# The HTTP request method to `tcp_check_url`. Use 'HEAD' by default because some server implementations bypass
# accounting for this kind of traffic.
tcp_check_http_method: CONNECT
tcp_check_http_method: HEAD
# This DNS will be used to check UDP connectivity of nodes. And if dns_upstream below contains tcp, it also be used to check
# TCP DNS connectivity of nodes.