Last active
April 23, 2020 07:31
-
-
Save lucnap/c250be1333475736ddd77ad2dea854ef to your computer and use it in GitHub Desktop.
Cloudflare htaccess restrict IP
This file contains 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
SetEnvIF CF-Connecting-IP "10.20.30.40" MySecretIP | |
<Files index.php> | |
order allow,deny | |
allow from env=MySecretIP | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment