# Proxy pass based on html header attribute

**URL:** <https://www.ruby-forum.com/t/proxy-pass-based-on-html-header-attribute/148158>\
**Category:** Rails\
**Created:** [September 9, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/proxy-pass-based-on-html-header-attribute/148158 "2008-09-09T22:26:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [September 9, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/proxy-pass-based-on-html-header-attribute/148158/1 "2008-09-09T22:26:40Z")

</div>

Although this isn’t directly rails related, I am hopefull that I can get  
some advice here… 🙂

I can’t seem to find a way to configure nginx with the standard modules  
included to proxy\_pass based off a custom html header attribute. The  
only possibility I came up with was to write a custom module in c and  
then link it into nginx.

Does anyone know of an alternative to nginx that can accomplish this or  
how to achieve this within nginx.
