Last active
May 27, 2018 08:47
-
-
Save OrderAndCh4oS/944765a24716ee0e4bd30a3095f0ca19 to your computer and use it in GitHub Desktop.
GDPR Solved
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
MaxMindDBEnable On | |
MaxMindDBFile DB /opt/GeoIP/GeoLite2-Country.mmdb | |
MaxMindDBEnv MM_COUNTRY_CODE DB/country/iso_code | |
SetEnvIf MM_COUNTRY_CODE ^(AT|BE|BG|HR|CY|CZ|DK|EE|FI|FR|DE|GR|HU|IE|IT|LV|LT|LU|MT|NL|PL|PT|RO|SK|SI|ES|SE|GB|GI|AX|PM|GL|BL|SX|AW|CW|WF|PF|NC|TF|AI|BM|IO|VG|KY|FK|MS|PN|SH|GS|TC|IS|LI|NO|EU) BlockCountry | |
Deny from env=BlockCountry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment