↧
Answer by Richard Smith for How to redirect with query string in Nginx
But the q parameter is empty on redirection.I don't see that problem. When I test the configuration as written, it creates a redirection loop because the original keywords='value' is appended to the...
View ArticleHow to redirect with query string in Nginx
I would like to redirect:something.com/search?keywords='value'tosomething.com/search?q='value'Here is my Nginx config:location ~ /search { if ($args ~* "keywords=(.*)") { rewrite ^.*$...
View Article