Generalizing GeoIP to be consumed by more services
This commit is contained in:
@@ -2,6 +2,9 @@ server {
|
||||
listen 443 ssl;
|
||||
server_name cyberbrain.aninix.net;
|
||||
|
||||
# GeoIP block
|
||||
if ($deny) { return 503; }
|
||||
|
||||
location ^~ /admin {
|
||||
deny all;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user