Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Limit connection to specific location (4 replies)

$
0
0
Hello,

I'am looking for a way to limit the number of connection in one hour to a
location named /api/

I've looked at the ngx_http_limit_conn_module module but I don't understand
how to limit the amount of connection from a specific ip address per hour.

For example: ip address 33.33.33.33 can only make 20 connections in one hour
to the url /api/

We use nginx as a loadbalancer/proxy.

Does somebody has a example for this?

Thanks.

Regards.
Jaap



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>