Tagged Questions
2
votes
1answer
1k views
nginx proxy rewrite not matching
I'm setting Nginx to forward requests to several backend services using proxy_pass
A few of them I have to add rewrite rules to strip the folder off, however for this particular service, the rewrite ...
3
votes
1answer
403 views
What does the '^' mean in “rewrite ^ http://test.com permanent;”
I found some configuration of nginx contains:
if($args ^~ post=140) {
rewrite ^ http://test.com/ permanent;
}
What does the ^ mean in rewrite ^ http://test.com/ permanent?