configuration problem with subdomain and proxy_pass

nicksoft nginx-forum at nginx.us
Wed Nov 23 17:08:44 UTC 2011


This is otput from console (Debian 6 min.):

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


DEBUG output created by Wget 1.12 on linux-gnu.

--2011-11-23 17:04:15--  http://127.0.0.1:8080/subdomain/
Connecting to 127.0.0.1:8080... connected.
Created socket 3.
Releasing 0x08dfc180 (new refcount 0).
Deleting unused 0x08dfc180.

---request begin---
GET /jaspresso/ HTTP/1.0
User-Agent: Wget/1.12 (linux-gnu)
Accept: */*
host: subdomain.mydomain.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Date: Wed, 23 Nov 2011 17:04:15 GMT
Connection: close

---response end---
400 Bad Request
Closed fd 3
2011-11-23 17:04:15 ERROR 400: Bad Request.



Strange... What could it be?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218793,218867#msg-218867



More information about the nginx mailing list