HEAD and Nginx nginx-0.6.36-1.el5

Maxim Dounin mdounin at mdounin.ru
Fri Sep 11 19:38:01 MSD 2009


Hello!

On Fri, Sep 11, 2009 at 10:21:44AM -0400, xmichielx wrote:

> Hello Maxim,
> 
> This is my nginx.conf server part:
> 
>     server {
>         listen       80;
>         server_name  _;
> 
> location / {
>             proxy_pass         http://172.23.3.14:81;
>             proxy_redirect     off;
> 
>             proxy_set_header   Host             $host;
>             proxy_set_header   X-Real-IP        $remote_addr;
>             proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;

[...]

> Can you what I am doing wrong here?

I see no obvious problems.  Try looking into Apache config (and 
try tcpdump to see what's happening on the wire between nginx and 
Apache).

Maxim Dounin





More information about the nginx mailing list