Quantcast
Channel: How to redirect with query string in Nginx - Server Fault
Browsing all 2 articles
Browse latest View live

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 Article



How 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
Browsing all 2 articles
Browse latest View live


Latest Images

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