# Proxy\_cache using a custom Agent

**URL:** <https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844>\
**Category:** NGINX\
**Created:** [July 8, 2014, 12:34pm UTC](https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844 "2014-07-08T12:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 8, 2014, 12:34pm UTC](https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844/1 "2014-07-08T12:34:30Z")

</div>

Can anyone help me find a way to set the Agent header for accessing the  
upstream server when using a proxy\_cache setup.

Posted at Nginx Forum:

> **[proxy\_cache using a custom Agent](https://forum.nginx.org/read.php?2,251534,251534#msg-251534)**
>
> Can anyone help me find a way to set the Agent header for accessing the upstream server when using a proxy\_cache setup.

---

<div class="post-metadata">

**Author:** ![TheBritishGeek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/8c91f0/32.png) [@TheBritishGeek](https://www.ruby-forum.com/u/TheBritishGeek)\
**Post date:** [July 8, 2014, 1:38pm UTC](https://www.ruby-forum.com/t/proxy-cache-using-a-custom-agent/230844/2 "2014-07-08T13:38:54Z")

</div>

Hello!

On Tue, Jul 08, 2014 at 06:34:12AM -0400, TheBritishGeek wrote:

> Can anyone help me find a way to set the Agent header for accessing the  
> upstream server when using a proxy\_cache setup.

> **[Module ngx\_http\_proxy\_module](http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header)**
>
> The ngx\_http\_proxy\_module module allows passing requests to another server.

–  
Maxim D.

> **[nginx](http://nginx.org/)**
