Adding geoip module and instituting a deny variable for vhosts to consume #45

Open
DarkFeather wants to merge 10 commits from geoip into main
Showing only changes of commit 18cc3380d6 - Show all commits

View File

@@ -13,6 +13,12 @@ server {
# include conf/local.conf;
include conf/letsencrypt.conf;
# GeoIP block
if ($deny) {
return 503;
}
# Handle the location
location /
{
proxy_set_header Host $http_host;