Nginx as Reverse proxy

jacppe nginx-forum at nginx.us
Fri Apr 8 22:22:02 MSD 2011


Well, I accomplish that with the support of my parter.
The configuration was:

server {
    listen       80;
    server_name  apps.elcomercio.com;
    keepalive_timeout 10 10;
    location ~* ^/suscriptores/?$ {
               rewrite ^(.*)$
http://apps.elcomercio.com/suscriptores/macro/suscriptores_diario.asp
permanent;
               #include     /etc/nginx/proxy.conf;
    }
    location  / {
               proxy_pass  http://suscriptor;
               include     /etc/nginx/proxy.conf;
               proxy_cache two;
    }

}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,189317,189482#msg-189482




More information about the nginx mailing list