Your Apache is not set correctly. Please make sure that the VirtualHost is setup correctly.<div>Basically normal wget is working but if you set the host: header apache rejects the request.</div><div><br></div><div>I think you have explicity put a VirtualHost domain:8080</div>
<div><br></div><div>changing that to VirtualHost *:8080 should fix it. In any case, since plain wget also gives you errors, you are better off looking at Apache logs/manual than in nginx.</div><div><br><div class="gmail_quote">
On Wed, Nov 23, 2011 at 10:40 PM, nicksoft <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
For: wget <a href="http://127.0.0.1:8080/subdomain/" target="_blank">http://127.0.0.1:8080/subdomain/</a>  otuput:<br>
<br>
<br>
--2011-11-23 17:09:10--  <a href="http://127.0.0.1:8080/subdomain/" target="_blank">http://127.0.0.1:8080/subdomain/</a><br>
<div class="im">Connecting to 127.0.0.1:8080... connected.<br>
</div>HTTP request sent, awaiting response... 200 OK<br>
Length: 4761 (4.6K) [text/html]<br>
Saving to: `index.html'<br>
<br>
100%[===========================================================================================>]<br>
4,761       --.-K/s   in 0s<br>
<br>
2011-11-23 17:09:10 (413 MB/s) - `index.html' saved [4761/4761]<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,218793,218869#msg-218869" target="_blank">http://forum.nginx.org/read.php?2,218793,218869#msg-218869</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div>