Welcome! Log In Create A New Profile

Advanced

Nginx Auth Module auth_basic and Flooding/DoS/DDoS

July 06, 2017 02:19AM
Here is my config :

http {

limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
limit_conn_zone $binary_remote_addr zone=addr:10m;

server {


location /secured/ {

auth_basic "secured area";
auth_basic_user_file conf/htpasswd;

limit_req zone=one burst=5;
limit_conn addr 1;

}


}




My question is with the nginx auth module should i still need to protect that area from flooding / ddos or will the auth module denying access be enough.

Would like to know how well the auth module processes and does compared to the limit_req or limit_conn module and if i should keep those in my configuration or remove them since the auth module could be already doing all the work.

http://www.networkflare.com/
Subject Author Posted

Nginx Auth Module auth_basic and Flooding/DoS/DDoS

c0nw0nk July 06, 2017 02:19AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready