Are you trying to use a
$ in the destination of your rewrite rule ? Then you may have try escaping it, and found out you can only do it via some LUA scripting you might not want or a third party plugin that you can’t use for X or Y reason. The constant result of this situation ?
Ok so what’s next ? The idea would be to host the
$ inside a variable. Sadly, the
set argument does not allow this and will reject you with the same error. The solution would be to use
geo in your nginx.conf and replace use the key:
1 2 3
And, voila !