Questions tagged [reverse-proxy]

A reverse proxy server usually refers to an HTTP accelerator or load-balancer which proxies requests on behalf of the actual clients to one or more backend HTTP servers.

A reverse proxy server usually refers to an proxy server which proxies requests on behalf of the actual clients to one or more backend HTTP servers.

It can be used as HTTP accelerator, or load-balancer, or to give the access to LAN internal web-services to Internet users.

Wikipedia: Reverse proxy

Apache HTTP as forward and reverse proxies

5119 questions
2
votes
1 answer

How to caching certains pages in nginx as a reverse proxy

Well, i have my site.conf file like this: proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_cache_key…
robe007
  • 3,523
  • 4
  • 33
  • 59
2
votes
0 answers

nginx long get string and 502

I am using nginx as a reverse proxy for apache. we use large get parameters in our url strings. I am noticing that certain long urls are returning a 502 bad gateway example of a url that…
user1050544
  • 437
  • 5
  • 24
2
votes
2 answers

How to convert this Apache RewriteRule in Nginx?

I've got this RewriteRule, And I can't make it work with nginx : RewriteRule ^/espace-annonceurs/@@contenu-des-espaces-annonceurs http://mywebsite.com/@@contenu-des-espaces-annonceurs [L,P] The Proxy is because it make an ajax request. I've tried…
Jihaisse
  • 977
  • 5
  • 24
2
votes
1 answer

Are Content-Type Response Headers Necessary?

I am uploading content of various types (gif, jpeg, png, css, pdf) to amazon s3. And then I am placing Nginx in front of S3 so I can rewrite urls and have them pulled by azure cdn. The problem I am running into is sometimes when files are uploaded…
Frank
  • 1,056
  • 3
  • 17
  • 38
2
votes
1 answer

twisted ReverseProxy connectionMade

I am trying to build a reverse proxy (with twisted). The reverse proxy listens on ports 6000-6099 and should map those ports to different internal IP addresses. Once a connection is made to a port, it should do some pre-checks, like starting a…
mattes
  • 8,936
  • 5
  • 48
  • 73
2
votes
2 answers

Login backend in TYPO3 with Proxy

I use TYPO3 6.2 on Ubuntu behind a Proxy. When I want to login in the backend, all the times I have this error : Your login attempt did not succeed Make sure to spell your username and password correctly, including upper/lowercase characters. But…
Lynxi
  • 817
  • 13
  • 39
2
votes
2 answers

Looking to redirect path /blog to another server using Apache

I want to host my blog on it's own server, but have the URL be at mysite.com/blog Should I do this using mod_proxy or an apache redirect, and how would I set this up on apache? My first pass attempt looks like so in the vhost file, but…
Sherms
  • 1,567
  • 1
  • 15
  • 31
2
votes
0 answers

Nginx reverse proxy to subpage (non-root url)

I want http://example.com to map to a subpage from somewhere else: server { listen 80; server_name example.com; location / { proxy_pass http://somewhere.com/foo; proxy_redirect off; proxy_set_header X-Real-IP…
davidhq
  • 4,660
  • 6
  • 30
  • 40
2
votes
1 answer

SignalR 1.x behind reverse proxy which does SSL/TLS termination

In theory this should be a fairly common use case. A .NET webserver behind a reverse proxy which is responsible for the SSL/TLS termination. But for some mysterious reason this doesn't work for me. I use Pound reverse proxy. And I have the following…
Saab
  • 981
  • 3
  • 11
  • 34
2
votes
1 answer

How much is performance degraded when running vertx embedded within jetty or tomcat?

How much is performance degraded when running vertx embedded within jetty or tomcat? Considering running a vert.x based reverse proxy standalone versus embedded, within tomcat or jetty. High level vert.x documentation discourages embedded vert.x,…
Robert Christian
  • 18,218
  • 20
  • 74
  • 89
2
votes
2 answers

nginx: Take action on proxy_pass response headers

I'd like to use nginx as a front-end proxy, but then have it conditionally proxy to another URL depending on the MIME type (Content-Type header) of the response. For instance, suppose 1% of my clients are using a User-Agent that doesn't handle PNGs.…
MichaelGG
  • 9,976
  • 1
  • 39
  • 82
2
votes
5 answers

Adding CORS headers when requesting .m3u8 files using reverse proxy

I'm building a Chromecast app, where I want to stream .m3u8 files (HLS) from a streaming provider. The streaming provider does not add CORS headers to the HTTP headers, which is a requirement for building Chromecast apps. Is there any way to route…
hanspeide
  • 2,819
  • 4
  • 25
  • 33
2
votes
1 answer

Play 2.1.0 + Apache 2.2 Reverse proxy => 502 proxy error when idle

Config We have a play 2.1.0 with angularjs setup in a production mode. We have reverse proxy load balancer setup with apache 2.2 something like mentioned in here http://www.playframework.com/documentation/2.1.0/HTTPServer This whole app is running…
raksja
  • 3,969
  • 5
  • 38
  • 44
2
votes
1 answer

How to hide a node.js server using http-proxy

I am using following code to implement reverse proxy at node.js . It is working fine but problem is that when I am trying to access server 127.0.0.1:9008/" it is quite accessible. I want it to be accessible only through proxy server. Please…
2
votes
0 answers

Python TCP Proxy Change Outgoing Port

I am constructing a TCP reverse proxy. I can successfully send and receive data. However, I would like to change the outgoing port. So for example, I accept connections on say 8000, then proxy that data to another host on 8001. Sometime down the…
KosherBacon
  • 172
  • 1
  • 11