nginx proxy to different path
- by David Robertson
I've read through the documentation for nginx's HttpProxyModule, but I can't figure this out:
I want it so that if someone visits, for example http://ss.example.com/1339850978, nginx will proxy them http://dl.dropbox.com/u/xxxxx/screenshots/1339850978.png.
If I was to just use this line in my config file:
proxy_pass http://dl.dropbox.com/u/xxxxx/screenshots/;,
then they would have to append the .png themselves.
tia,
David.