I have:
How can I "rewrite" doma.in/blog to a blog, but with the same address? (without redirection).
Try this nginx configuration:
location ^/blog { rewrite /blog(.*) $1 break; #cut the /blog path proxy_pass http://blog.com:8000; #then pass it to the blog domain/port proxy_redirect off; #without redirecting proxy_buffering off; #or buffering }
angular, / , SO