Adding geoip block to Superintendent for testing
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user