News for hackers. Stuff that matters.
Re:Nginx module to turn it into a long-polling message queui... by wizard_2 on Friday October 16, 2009 @03:53PM (#886048)
Quite possible - You'd need to use the rewrite module to pass it as an argument. http://wiki.nginx.org/NginxHttpRewriteModule

Maybe something like this...

  location / {
    rewrite  ^/channel/(.+)$ /channel/?id=$1 last;
  }
  
  location /channel/{
    #stuff
    set $push_channel_id $arg_id; #/?id=239aff3 or somesuch
  }

There are no comments on this comment yet.