c0nw0nk Wrote: ------------------------------------------------------- > why don't you use > > $uri Is it not so, that $uri will output an encoded url?by chilly_bang - Nginx Mailing List - English
Hi I want to build a construction like location ~* { if ($args ~ *) { add_header Link "<$scheme://$http_host$request_uri>; rel=\"canonical\""; } } but need to get rid of argues from $request_uri. The goal is from any url with parameters to point with canonical auf non-parameter url counterpart. I've realized a method to get rid of argues from $request_by chilly_bang - Nginx Mailing List - English