Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: Rewrite url with "|" character?

$
0
0
You know how it goes... as soon as you ask the question and think about it some more, the solution comes to you and you feel foolish for asking.

Here's how I did it:

rewrite ^/some/path/with[\|]some[\|]parameters$ /some/other/path permanent; # => matches ONLY /some/path/with|some|parameters


Cheers!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>