W
W
Whois2016-01-05 22:16:05
Nginx
Whois, 2016-01-05 22:16:05

Limiting concurrent connections by key?

Hello. I use X-Accel-Redirect to upload files, but I can't figure out how to limit the number of simultaneous connections by a special api key that is passed in the download link url.
I would arrange limit_zone, but I don’t understand how to point it to the key.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-01-05
@andrey_id123456789

nginx.org/ru/docs/http/ngx_http_limit_req_module.h...
you can use any variable as a key

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question