configuration problem with subdomain and proxy_pass

Fasih faskiri.devel at gmail.com
Wed Nov 23 17:17:39 UTC 2011


Your Apache is not set correctly. Please make sure that the VirtualHost is
setup correctly.
Basically normal wget is working but if you set the host: header apache
rejects the request.

I think you have explicity put a VirtualHost domain:8080

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.

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

> For: wget http://127.0.0.1:8080/subdomain/  otuput:
>
>
> --2011-11-23 17:09:10--  http://127.0.0.1:8080/subdomain/
> Connecting to 127.0.0.1:8080... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4761 (4.6K) [text/html]
> Saving to: `index.html'
>
>
> 100%[===========================================================================================>]
> 4,761       --.-K/s   in 0s
>
> 2011-11-23 17:09:10 (413 MB/s) - `index.html' saved [4761/4761]
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,218793,218869#msg-218869
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111123/01b0247d/attachment.html>


More information about the nginx mailing list