I have a blog hosted at http://site.com/blog.
How do I instruct nginx to rewrite requests from site.com to site.com/blog?
This should not be permanent.
|
I have a blog hosted at http://site.com/blog. How do I instruct nginx to rewrite requests from This should not be permanent.
| |||
|
feedback
|
This'll just do requests specifically for the root. If you need to catch everything (redirect
| |||
|
feedback
|
rewrite ^/(.*)$ /blog/$1 redirectto the top of your server block. – cyberx86 Nov 27 '11 at 6:15