3 ms·
Quite possible - You'd need to use the rewrite module to pass it as an argument. http://wiki.nginx.org/NginxHttpRewriteModule http://wiki.nginx.org/NginxHttpRew
by wizard_2 17y ago
Quite possible - You'd need to use the rewrite module to pass it as an argument. http://wiki.nginx.org/NginxHttpRewriteModule 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
}