Questions tagged [reverse-proxy]

A reverse proxy is a type of proxy server that fetches resources from a specific defined set of servers for a client. It is used in cases when there is an advantage to not exposing the web server with the content directly whether it be for security reasons or because of a lack of available public IP addresses.

A reverse proxy is a type of server. Unlike a traditional "forward proxy" server, a reverse proxy fetches resources from a specific defined set of servers for a client. The Apache HTTPD server's mod_proxy module is a popular example of software that can be used as a reverse proxy.

A reverse proxy can be used in cases when there is an advantage to not exposing the server with the content directly to the Internet, whether it be for security reasons or because of a lack of available public IP addresses.

3190 questions
4
votes
2 answers

Nginx ip_hash behind proxy (Cloudflare)

We use nginx for our load balancing, and we need ip_hash to guarantee our server work fine. When we started using cloudflare, most our requests go for one server as it seems all of them are identified only by cloudflare's IP. We would like to…
digao_mb
  • 155
  • 4
4
votes
0 answers

mod_ssl client certificates on a reverse proxy

I am trying to add client certificate authentication on a reverse proxy that proxies an oracle application. Before adding, and if i remove the subsequent code, the oracle application is able to start java, load, and function properly. When I add the…
4
votes
1 answer

Apache Reverse Proxy Unescapes URL

I am running Apache 2.2.15 as a reverse proxy in my DMZ. I have an application on the internal network that I make available on the Internet for staff to use by going through the reverse proxy. As part of this application staff can see messages…
4
votes
1 answer

nginx reverse proxy folder

I'm trying to access a server behind another with a reverse proxy. The "main" server is behind mydomain.com and I would like to access the second one by using mydomain.com/test. For the moment just mydomain.com/test works. But if I try to access…
Armand
  • 143
  • 1
  • 1
  • 8
4
votes
2 answers

AWS: How to create a reverse proxy based on URLs?

I am trying to configure a Reverse Proxy in my AWS account: The Reverse proxy should forward request to internal servers based on their URL structure, e.g.: example.com/question/* -> 192.168.0.1 example.com/answer/* -> …
Adam Matan
  • 13,194
  • 19
  • 55
  • 75
4
votes
1 answer

Cookie Authentication in Apache

I'm trying to set up a reverse proxy in Apache. The user will be required to log in, and will then be sent a cookie. I want Apache to check the cookie. Is there a way to do this? EG, right now my config looks like this: #…
4
votes
4 answers

Session lost in tomcat uing nginx as proxy

I have several applications in a tomcar server. I am using nginx for proxy so i can achieve acceding the application from a subdomain tomat:8080/app1 > app1.mydomain.com tomat:8080/app2 > app2.mydomain.com I set up a reverse proxy: server { …
Cesar
  • 137
  • 1
  • 1
  • 6
4
votes
1 answer

How apache reverse proxy can be configured without breaking the https tunnel between client & server?

I have configured apache reverse proxy. In that configuration https connection is possible between client to reverse proxy and again reverse proxy to server. But I want https connection between client to server like forward proxy. The https…
4
votes
1 answer

Nginx + unicorn + spdy + performance testing

I have a ruby on rails website that is hosted on unicorn webserver behind a nginx reverse proxy. I want to evaluate if using spdy will enhance my performance under this setup. Specifically, I need the directions on the following: does using…
zango123
  • 171
  • 4
4
votes
5 answers

IIS6 Multiple SSL websites to a single HTTP website?

Running a IIS6 server on Windows 2003. All the websites use ASP.NET I have a number of websites all running separate HTTP websites: www.domain1.com www.domain2.com www.domain3.com I have a separate HTTPS website www.secure.com These websites are…
K M
  • 141
  • 1
  • 2
4
votes
2 answers

Nginx Reverse proxy leading to Redirect loop

I have a load balancer (Nginx) and another Apache server which is hosting a wordpress blog (at /blog). I want all my traffic on my load balancer at /blog to go to this Apache server. I have the following settings: upstream main_app { server…
Jasdeep Singh
  • 237
  • 1
  • 4
  • 8
4
votes
2 answers

Why bother reverse proxying applications if you aren't using mod_security or TMG/UAG?

Common wisdom is that internal applications that live inside of the trusted network, such as Exchange, should be reverse proxies whenever they are exposed to the Internet. Microsoft recommends using UAG/TMG for this as it has some built in security…
MDMarra
  • 100,734
  • 32
  • 197
  • 329
4
votes
2 answers

solr reverse proxy Apache2

I am trying to setup Apache2 as Reverse Proxy for solr. Apache and Solr are on the same machine. Apache is serving other stuff as regular web server, too. solsearch config file in /etc/apache2/config.d/ # Proxy specific settings ProxyRequests…
Steven
  • 41
  • 1
  • 2
4
votes
1 answer

What's the expected behaviour of multiple hostname entries with different IP addresses in /etc/hosts?

I know this has been discussed in several places, but there doesn't seem to be a definitive answer yet - at least not for RHEL 6. I'm just hoping someone might be able to point to how it's working so I can dig a little. Short Version: I have an…
dsl101
  • 433
  • 1
  • 8
  • 14
4
votes
1 answer

Nginx reverse proxy to external URL which have redirects in place

Afternoon gentlemen, My current setup is one single site, lets call that http://production.com, that's being served by Nginx on port 80 as a static cache and Apache in the background on port 8080 localhost, nothing fancy really and this works very…
Lars
  • 578
  • 2
  • 8
  • 18