Created
May 22, 2019 10:08
-
-
Save benhuson/1ccecba1dbc36ae8688112214efc2f5d to your computer and use it in GitHub Desktop.
.htaccess block IP behind load balancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Order Deny,Allow | |
Deny from all | |
SetEnvIf X-Forwarded-For "^1\.1\.1\.1" AllowAccess | |
Allow from env=AllowAccess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment