Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Nginx and Thin with multi Apache instance

$
0
0
I have two Apache Instance:

A1 listen on 80 port and A2 listen on 8080 and 8009 port, A1 should listen 80 on all IP addresses.

I added VirtualHost to redirect sub URI of A1's 80 port to A2's 8080 port.

Also I installed thin server which listen on 3000 port and start successfully, after that I start Nginx also listen on port 3000 and returns OK.

But if I use wget http://ip:3000, I got the index page in A1's root directory, not the home page of thin server.

If I use wget http://localhost:3000, I got error Address family not supported by protocol, even I have one record in /etc/hosts.

How can I solve this problem? Thank you in advance.

Viewing all articles
Browse latest Browse all 4759

Trending Articles