On Wed, Feb 26, 2014 at 10:14 PM, aravindaraj d <[email protected]> wrote: > On Wed, Feb 26, 2014 at 6:21 PM, Shrinivasan T <[email protected]>wrote: > >> I am running a rails application using nginix and wordpress using >> apache in same server. >> >> nginix runs on port 80 and apache runs in port 3000. >> >> In the current setup, >> example.com => nginix >> blog.example.com:3000 =>apache >> >> all the configurations are here. >> >> http://goinggnu.wordpress.com/2014/02/20/how-to-run-apache-and-ngnix-in-same-server/ >> >> Now, I want to remove the port no 3000 in the url >> http://blog.example.com:3000 >> >> Is it possible? >> If so how to do that? >> > > Hope we can use reverse proxy in nginx and redirect the request of > blog.example.com from port 80 to 3000. > http://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.html
I think you are in the right direction. Alternate ... in Apache write a ReWrite rule to forward the URI > I might sound wrong, but just an idea. Please let me know if this works. +1. A follow up with a SOLVED (first line) would be much helpful for others who are looking for a similar solution. -- Arun Khan _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ILUGC Mailing List Guidelines: http://ilugc.in/mailinglist-guidelines
