Forum Discussion
Dineshsankar_31
Altostratus
Aug 09, 2017https to https FQDN redirection
What is the irule for redirecting to https://abc.global.com, i tried below i rule but it doesn't help my requirement.
1.
when HTTP_REQUEST {
if { [HTTP::host] contains "abc" } {
HTT...
Yann_Desmarest_
Nacreous
Aug 09, 2017Hi,
Based on your sentence, I would say that you should put in place the below irule
when HTTP_REQUEST {
if { [HTTP::host] eq "abc" } {
HTTP::redirect "https://abc.global.com[HTTP::uri]"
}
}
- Dineshsankar_31Aug 09, 2017
Altostratus
i tried this also But the VIP having certificate. So when i do it will throw SSL error then after it will redirect to Fqdn. I want before ssl error it should redirect.
- Yann_Desmarest_Aug 09, 2017
Nacreous
Hi,
That's not possible like this.
You need to have a valid certificate for abc too.
If you have more than one host name or domain on the same VS, you should use SNI feature at SSL level or a certificate with those names in the SAN field
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