Forum Discussion
Check1t_282465
Mar 09, 2018Nimbostratus
irule for https 2 http for specific IP
Any suggestions for an irule (or policy) that would force all http traffic to https except for a specific IP which would be allowed to access http?
Thanks.
Lee_Sutcliffe
Mar 12, 2018Nacreous
Try this
when HTTP_REQUEST {
if {!([IP::client_addr] equals "10.10.10.10")} {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}
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