# Forcing proxy-throughput

**URL:** <https://www.ruby-forum.com/t/forcing-proxy-throughput/194584>\
**Category:** NGINX\
**Created:** [September 7, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/forcing-proxy-throughput/194584 "2010-09-07T15:04:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flavio\_Torres](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/ee7513/32.png) [@Flavio\_Torres](https://www.ruby-forum.com/u/Flavio_Torres)\
**Post date:** [September 7, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/forcing-proxy-throughput/194584/1 "2010-09-07T15:04:43Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi,

Please, I would like to know how can I rewrite and force proxy with  
nginx.

For example:

server-nginx → IIS-server (CMS)

Web URL: [Custom Application Development Software for Business - Salesforce.com](http://www.site.com/news/title-subtitle/12.html)

- 
  - rewrite and force proxy to IIS-server

Inside CMS: [Custom Application Development Software for Business - Salesforce.com](http://www.site.com/news.asp?cod=12)

With apache, I’m using Rewrite with [P] flag:

RewriteRule ^/([\_a-zA-Z0-9-+]+)/([_a-zA-Z0-9-+,]+)/([0-9_]+).html$  
[http://www.intranet.com.br/$1\.asp?cod=$3](http://www.intranet.com.br/$1%5C.asp?cod=$3) [P]

But, would be nice do that with nginx. I asked in #IRC, people says to  
use try\_files, but I’m not sure about this trick. Is there a way ?

thank you guys

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.10 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iEYEARECAAYFAkyGODwACgkQNRQApncg295iqwCfcqkIPximoOMRi/Ry8CF5Q4Hm  
0xkAoJLYEIcBina/Hb5dC3N+uS/LTCqW  
=TB+l  
-----END PGP SIGNATURE-----
