Welcome! Log In Create A New Profile

Advanced

Re: Nginx as Reverse proxy

April 08, 2011 02:22PM
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;
}

}
Subject Author Posted

Nginx as Reverse proxy

jacppe April 07, 2011 08:05PM

Re: Nginx as Reverse proxy

jacppe April 08, 2011 02:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready