# As Proxy

**URL:** <https://www.ruby-forum.com/t/as-proxy/224609>\
**Category:** NGINX\
**Created:** [November 19, 2012, 9:53am UTC](https://www.ruby-forum.com/t/as-proxy/224609 "2012-11-19T09:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [November 19, 2012, 9:53am UTC](https://www.ruby-forum.com/t/as-proxy/224609/1 "2012-11-19T09:53:57Z")

</div>

Hi,

We are trying to use nginx as a proxy. We have a pylons framework for  
our  
application which uses paster to deliver the resources.

PFA the configuration we have for nginx.

Somehow the css files and images are not getting delivered.

We have tried the following mechanisms:

1. 

```
  Configuring Nginx as a pure proxy where in all the resources 

```

would  
be delivered by paster.

1. 

```
  Configuring Nginx such that nginx delivers the static resources

```

whereas the rest are delivered by paste.

Both are not working for us. Somehow the static resources (like css,  
images)  
are not getting delivered.

We were using Apache earlier where the option 1 (as mentioned above was  
working fine).

We are new to nginx. We would really appreciate if you could please let  
us  
know what we are doing wrong and what the reason for the above could be.

Looking forward to your response and help.

Thanks,

Pinakee Biswas

---

<div class="post-metadata">

**Author:** ![Pinakee\_Biswas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c6cbf5/32.png) [@Pinakee\_Biswas](https://www.ruby-forum.com/u/Pinakee_Biswas)\
**Post date:** [November 21, 2012, 8:15pm UTC](https://www.ruby-forum.com/t/as-proxy/224609/2 "2012-11-21T20:15:45Z")

</div>

Hi,

We would really appreciate if anyone could help us with the issue in my  
previous mail.

We would like to use nginx for our deployment but are stuck with proxy  
thing.

Looking forward to your response and support…

Thanks,  
Pinakee  
Sent on my BlackBerry from Vodafone
