We have angularJs website and currently we have a requirement we need to do a 301 redirect from the site for example if user access \"A\"page mysite.com/A, we need to redirect t
Add this to your nginx server config:
location = /A { return 301 http://mysite.A.com/; }