Welcome! Log In Create A New Profile


Reverse proxy : preserving base url

April 13, 2013 10:35PM

I'm struggling since about 2days to create a reverse proxy with nginx.
Here is my situation :
I've a sub domain which we will call : sub.example.com
I've an internal application at

What I would like :
I would like to proxy sub.example.com to and i want to keep my URL as sub.example.com
So far I've done countless try without success.

The optimal situation would be that when I do :
http://sub.example.com/ I get the content from but without any change in the sub domain URL.

So for example if the internal app has, my sub domain should be http://sub.example.com/magical.css (without app/)

Thanks in advance to anyone that is willing to help me.
Subject Author Posted

Reverse proxy : preserving base url

mastah April 13, 2013 10:35PM

Re: Reverse proxy : preserving base url

Francis Daly April 15, 2013 02:06PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
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