Skip to content

Instantly share code, notes, and snippets.

@lucnap
Last active April 23, 2020 07:31
Cloudflare htaccess restrict IP
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