I have the following in my server block: set $filename wizard-min; if($cookie_B) { set $filename $cookie_B; } location ~* "^/b/({10})$" { default_type application/javascript; alias /var/www/b/b-$filename.js; sub_filter_types application/javascript; sub_filter '%replace%' '$1'; } I request it using curl:by bluesmoon - Nginx Mailing List - English
Maxim Dounin Wrote: > If you really need to, you may parse $args > yourself, e.g. with > map{} directive using regular expressions. thanks, I'll try that.by bluesmoon - Nginx Mailing List - English
I've also tried ${arg_a.b} and nginx -t tells me that the closing bracket in "arg_a" variable is missingby bluesmoon - Nginx Mailing List - English
Hi, I have a query string parameter that has a dot in it. For example, `a.b`. I need to write this parameter to my log file. How do I reference it? I've tried `$arg_a.b` but that prints `-.b` (ie, it prints the value of $arg_a which is - followed by .b) I've also tried `$arg_a_b` but that just prints `-` since there is no parameter a_b or a-b. What should I do?by bluesmoon - Nginx Mailing List - English