Forum Discussion
NGX_IT_134965
Nimbostratus
Nov 26, 2018Do not allow IP through https
Hello,
I am inquiring on how to do the following:
Do not allow IP access through HTTPS
Example:
https://33.33.33.33 < - Don't allow this
https://dns.name.com < - Allow this only
...
Nov 26, 2018
Try this:
when HTTP_REQUEST {
if { !([string tolower [HTTP::host]] equals "dns.name.com") } {
reject
}
}
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
