proxy: support https health checking

This commit is contained in:
nadoo committed 2021-12-22 21:20:29 +08:00
1 parent 826695df9a
commit 71c7cd2823
8 files changed
+63 -34

No files matched your search

+1
View File
@@ -193,6 +193,7 @@ maxfailures=3
# Forwarder health check:
# check=tcp[://HOST:PORT]: tcp port connect check
# check=http://HOST[:PORT][/URI][#expect=STRING_IN_RESP_LINE]
# check=https://HOST[:PORT][/URI][#expect=STRING_IN_RESP_LINE]
# check=file://SCRIPT_PATH: run a check script, healthy when exitcode=0, environment variables: FORWARDER_ADDR
# check=disable: disable health check
check=http://www.msftconnecttest.com/connecttest.txt#expect=200