# Proxy a URL received via GET-parameter

**URL:** <https://www.ruby-forum.com/t/proxy-a-url-received-via-get-parameter/193163>\
**Category:** NGINX\
**Created:** [August 12, 2010, 10:24am UTC](https://www.ruby-forum.com/t/proxy-a-url-received-via-get-parameter/193163 "2010-08-12T10:24:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hendrik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/839c29/32.png) [@hendrik](https://www.ruby-forum.com/u/hendrik)\
**Post date:** [August 12, 2010, 10:24am UTC](https://www.ruby-forum.com/t/proxy-a-url-received-via-get-parameter/193163/1 "2010-08-12T10:24:29Z")

</div>

Hi guys!

I want nginx to serve (proxy) a URL, that i would deliver as a  
GET-parameter. For example a request could look like this:  
/img?url=http%3A%2F%[2Fwww.example.com](http://2Fwww.example.com)%2Ffavicon.ico

and nginx now should try to fetch [http://www.example.com/favicon.ico](http://www.example.com/favicon.ico)  
from the parameter “URL” and deliver it to the client.  
I need this to deliver some files via SSL that are only available  
without it.

Is such a setup possible?

Thank you very much in advance for you help!

Kind regards from Germany!  
Hendrik

Posted at Nginx Forum:

> **[Proxy a URL received via GET-parameter](https://forum.nginx.org/read.php?2,118941,118941#msg-118941)**
>
> Hi guys! I want nginx to serve (proxy) a URL, that i would deliver as a GET-parameter. For example a request could look like this: /img?url=http%3A%2F%2Fwww.example.com%2Ffavicon.ico and nginx now should try to fetch...
