Forum Discussion
helm123_141710
Jun 24, 2015Nimbostratus
Should have replied back long ago that we got this working with the below.
When HTTP REQUEST { switch -glob [HTTP::uri] {
"/external/lifts/docs" -
"/internal/sites" {
pool CompanyA set doSSL 1 } "/external/boats/docs" -
"/internal/states" { pool CompanyB set doSSL 2 } } } when SERVER_CONNECTED { if { $doSSL == 1 } { SSL::enable serverside SSL::profile SSL_2Way } elseif { $doSSL == 2 } { SSL::enable serverside SSL::profile SSL_1Way }
}
- helm123_141710Jun 24, 2015NimbostratusShould have replied back long ago that we got this working with the below. When HTTP REQUEST { switch -glob [HTTP::uri] { "/external/lifts/docs" - "/internal/sites" { pool CompanyA set doSSL 1 } "/external/boats/docs" - "/internal/states" { pool CompanyB set doSSL 2 } } } when SERVER_CONNECTED { if { $doSSL == 1 } { SSL::enable serverside SSL::profile SSL_2Way } elseif { $doSSL == 2 } { SSL::enable serverside SSL::profile SSL_1Way } }