Generalizing GeoIP to be consumed by more services
This commit is contained in:
@@ -4,7 +4,7 @@ map $http_upgrade $connection_upgrade {
|
||||
}
|
||||
|
||||
server {
|
||||
#listen 443 ssl http2;
|
||||
|
||||
listen 443 ssl;
|
||||
server_name superintendent.aninix.net;
|
||||
|
||||
@@ -14,9 +14,7 @@ server {
|
||||
include conf/letsencrypt.conf;
|
||||
|
||||
# GeoIP block
|
||||
if ($deny) {
|
||||
return 503;
|
||||
}
|
||||
if ($deny) { return 503; }
|
||||
|
||||
# Handle the location
|
||||
location /
|
||||
|
||||
Reference in New Issue
Block a user