Adding geoip module and instituting a deny variable for vhosts to consume
This commit is contained in:
@@ -7,6 +7,7 @@ error_log logs/error.log notice;
|
||||
error_log logs/error.log info;
|
||||
|
||||
load_module /usr/lib/nginx/modules/ngx_http_modsecurity_module.so;
|
||||
load_module /usr/lib/nginx/modules/ngx_http_geoip2_module.so;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -24,6 +25,8 @@ http {
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
|
||||
include conf/geoip.conf;
|
||||
|
||||
# Redirect all HTTP to HTTPS
|
||||
server {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user