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

オープン
DarkFeathergeoip から main への 10 コミットのマージを希望しています
コミット 49839d1333 の変更だけを表示しています - すべてのコミットを表示

ファイルの表示

@@ -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;