Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyaindigo authored May 4, 2022
1 parent b5545d5 commit a1fbf79
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ epoll_events 512;

http {

# антибот
limit_req_zone $binary_remote_addr zone=antibot:16m rate=6r/m;
limit_req_log_level warn;
limit_req_status 423;

##
# Basic Settings
##
Expand Down Expand Up @@ -57,7 +62,7 @@ error_log /var/log/nginx/error.log crit;
# Gzip Settings
##

gzip off;
gzip on;

##
# Virtual Host Configs
Expand Down

0 comments on commit a1fbf79

Please sign in to comment.