When I enabled the allow_ping function, I got a failed response from chproxy which informed me that the username and password were missing:
bash-5.0# curl "http://10.104.48.234:9090/ping"
"10.45.132.200:28677": invalid username or password for user "default"; query: ""
But, it succeed if I added username and password:
bash-5.0# curl "http://user1:password1@10.104.48.234:9090/ping"
Ok.
My question: is it necessary to add username and password to allow_ping function? Thanks in advance :)