configuration problem with subdomain and proxy_pass

Fasihullah Askiri fasihullah.askiri at gmail.com
Wed Nov 23 15:07:56 UTC 2011


Can you try:

curl http://127.0.0.1:8080/subdomain/ -H "host: subdomain.mydomain.com" -v

or

wget  http://127.0.0.1:8080/subdomain/ --header "host:
subdomain.mydomain.com" --debug

from the nginx machine and send the output, looks like there is some error
in the network configuration

+Fasih

On Wed, Nov 23, 2011 at 7:56 PM, nicksoft <nginx-forum at nginx.us> wrote:

> I found error in nginx log:
>
> 2011/11/22 16:26:12 [error] 1423#0: *1 connect() failed (111: Connection
> refused) while connecting to upstream, client: xxx.yyy.zzz.vvv, server:
> subdomain.mydomain.com, request: "GET / HTTP/1.1", upstream:
> "http://127.0.0.1:8080/subdomain/", host: "subdomain.mydomain.com"
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,218793,218839#msg-218839
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
+Fasih

*Wisdom doesn't automatically come with old age. Nothing does - except
wrinkles. It's true, some wines improve with age. But only if the grapes
were good in the first place*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111123/03e0aa32/attachment-0001.html>


More information about the nginx mailing list