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 49839d1333 - Show all commits

View File

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