proxy: add new env: FORWARDER_URL to script health check (#310)

This commit is contained in:
nadoo committed 2022-01-27 12:42:49 +08:00
1 parent fac4b86f60
commit 9b2f00f4c8
7 files changed
+21 -15

No files matched your search

+1 -1
View File
@@ -195,7 +195,7 @@ maxfailures=3
# check=http://HOST[:PORT][/URI][#expect=REGEX_MATCH_IN_RESP_LINE]
# check=https://HOST[:PORT][/URI][#expect=REGEX_MATCH_IN_RESP_LINE]
# e.g. check=https://www.netflix.com/title/81215567#expect=301|404
# check=file://SCRIPT_PATH: run a check script, healthy when exitcode=0, environment variables: FORWARDER_ADDR
# check=file://SCRIPT_PATH: run a check script, healthy when exitcode=0, environment variables: FORWARDER_ADDR,FORWARDER_URL
# check=disable: disable health check
check=http://www.msftconnecttest.com/connecttest.txt#expect=200