Tag Info

Hot answers tagged


That's strange. On Ubuntu 15.04's nginx 1.6.2 with all the default modules, I can do location / { rewrite ^/foo… http://example.com permanent; } ...and get the expected redirect. Assuming you have reloaded nginx and disabled your browser cache, are you sure the rewrite is happening in a location block that matches /info-cry…? It's also possible that ...

Only top voted, non community-wiki answers of a minimum length are eligible