Atualmente meu arquivo blockips.conf:
#BLOCK IPS LIST
deny 1.32.128.0/18;
deny 1.32.192.0/18;
deny 5.10.64.4/30;
deny 5.10.70.120/29;
deny 5.10.80.68/32;
deny 5.10.88.232/29;
deny 5.153.5.184/29;
deny 5.153.12.16/30;
deny 5.153.14.152/30;
Este é o meu arquivo nginx.conf:
user nginx;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 20480;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
fastcgi_intercept_errors on;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
include /etc/nginx/conf.d/gzip.cfg;
include /etc/nginx/conf.d/cache.cfg;
include /etc/nginx/conf.d/default.conf;
include /etc/nginx/conf.d/blockips.conf;
}
Existe algum problema para os meus dois arquivos de configuração?
Tags networking nginx linux centos http