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

calling unique url not more then 1 time per 5 seconds (3 replies)

$
0
0
Hi,

Assuming I have an url like /payout/[hash] , where hash is something unique, and I want to make, that on nginx level it's checked that this url is called not more then 1 time per 5 seconds. 1st time it should be processed by proxy_pass, all the other times it should be replied 403.

Could someone tell me which approach I should use? Is that possible to do that using nginx?

Any thoughts are appreciated.

Regards,

Viewing all articles
Browse latest Browse all 7229

Trending Articles



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