Forum Discussion
ispy_344504
Nimbostratus
Feb 12, 2018http to https not working with nginx
Hi,
I have a problem about F5 iRule, i set the irule on F5 "
when_HTTP_REQUEST {
HTTP::host [HTTP::host]:443;
} " and it's working perfectly.
but when i changed my database from apache to ngin...
ispy_344504
Nimbostratus
Feb 12, 2018Hi Niels van Sluis, You're right, we don't use any serverssl profile, our pool members only listening on port 80, so we need irules to insert host:443, and we'll get the https web. when we changed the web service from apache to nginx, and it's not working. we're wondering if we need to change irules?
The following configuration is our web service and it works well.
destination x.x.x.x:httpsip-protocol tcp
mask 255.255.255.255
pool ltgm_web_pool
profiles {
clientssl-xxxx {
context clientside
}
clientssl-xxxx {
context clientside
}
http { }
http2 { }
oneconnect { }
tcp-lan-optimized {
context serverside
}
tcp-wan-optimized {
context clientside
}
wan-optimized-compression { }
}
rules {
_http_header
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vlans {
external-1
internal-20
}
vlans-enabled
vs-index 63
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
