Forum Discussion
BenConrad_10265
Nimbostratus
May 27, 2011Can a custom HTTP monitor work with a JSON response?
Hi,
My Devs have created a health check page on our Tst web servers that returns a JSON response.
HTTP/1.1 200 OK (application/json)
So, a couple of questions/comments:...
Deb_Allen_18
Jun 18, 2007Historic F5 Account
If you're intending to pass encrypted traffic to an HTTPS server for only this traffic, and all other traffic unencrypted to the default pool, you'd need to apply a serverSSL profile to the virtual and selectively disable SSL on the server side like this:
when HTTP_REQUEST {
set reencrypt 0
if { [HTTP::uri] contains "node=alpha" }{
node xxx.xxx.xxx.xxx 443
set reencrypt 1
}
}
when SERVER_CONNECTED {
if { $reencrypt == 0 }{
SSL::disable
}
}
/deb
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects