Forum Discussion
Daniel_Wolf
Jan 21, 2021MVP
For my backend I am using nginx with SSL and Basic auth. The following curl works:
[root@awaf:Active:Standalone] config # curl -k https://10.100.153.50/api/status.json --user user1:P@$$w0rd
{
"status": "up and running"
}
And the following monitor will mark the backend as green
[root@awaf:Active:Standalone] config # tmsh list ltm monitor https mon_api_json_https
ltm monitor https mon_api_json_https {
adaptive disabled
defaults-from https
interval 5
ip-dscp 0
password ********
recv "HTTP/1.(0|1) 200.*up and running"
recv-disable "HTTP/1.(0|1) 200.*maintenance"
send "GET /api/status.json HTTP/1.1\r\nHost: localhost\r\nConnection: Close\r\n\r\n"
time-until-up 0
timeout 16
username user1
}