# Cannot get HTTP HEADERS in Mongrel Handler with Nginx

**URL:** <https://www.ruby-forum.com/t/cannot-get-http-headers-in-mongrel-handler-with-nginx/157317>\
**Category:** Mongrel\
**Created:** [January 9, 2009, 10:47am UTC](https://www.ruby-forum.com/t/cannot-get-http-headers-in-mongrel-handler-with-nginx/157317 "2009-01-09T10:47:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sathish\_303](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a9adbd/32.png) [@sathish\_303](https://www.ruby-forum.com/u/sathish_303)\
**Post date:** [January 9, 2009, 10:47am UTC](https://www.ruby-forum.com/t/cannot-get-http-headers-in-mongrel-handler-with-nginx/157317/1 "2009-01-09T10:47:51Z")

</div>

Hi,

I am reposting this question because I think that I may have not been  
clear with the earlier question

I am using nginx as a reverse proxy sending the requests to  
mongrel\_handler

This handler is not able to receive any HTTP HEADER variables

## Here is a dump

## HTTP\_VIA nil HTTP\_ACCEPT\_ENCODING nil HTTP\_USER\_AGENT nil SCRIPT\_NAME nil SERVER\_PROTOCOL nil HTTP\_CACHE\_CONTROL nil HTTP\_ACCEPT\_LANGUAGE nil HTTP\_HOST nil REMOTE\_ADDR nil SERVER\_SOFTWARE nil REQUEST\_PATH nil HTTP\_COOKIE nil HTTP\_ACCEPT\_CHARSET nil HTTP\_VERSION nil REQUEST\_URI nil SERVER\_PORT nil GATEWAY\_INTERFACE nil QUERY\_STRING nil HTTP\_ACCEPT nil HTTP\_X\_FORWARDED\_FOR nil HTTP\_CONNECTION nil HTTP\_X\_REAL\_IP nil REQUEST\_METHOD nil

My nginx config is fine, my access log is dumping those variables and a  
rails application is able to receive them whereas mongrel\_handler cannot

Can someone suggest what is the issue?. Thanks in advance

–
