Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How to make possible something like this?

   location /download/ {
      limit_conn addr 2;

      if ($arg_C) {
          limit_conn addr 1;
      }
   }

Gives me:

Restarting nginx: nginx: [emerg] "limit_conn" directive is not allowed here in /etc/nginx/sites-enabled/www.mypage.com:60
share|improve this question
    
if you get no answer, please ask this in the nginx-forum –  that guy from over there Sep 11 '13 at 22:33
    
thanks sir, will do. –  Wiggler Jtag Sep 11 '13 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.