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.

1,133 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
1k views

Setting header based on client certificate

I have Apache running as a reverse proxy for an internal server. Users hitting the proxy are required to use client certificates. On the internal server, there is a web application that can use an ...
6
votes
2answers
728 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
5
votes
1answer
1k views

Apache2.4 ProxyPass exception inside Location block not working

While trying to get the Let's Encrypt Certbot to work on a local server that hosts reverse-proxied content, I am unable to get the local exception working inside a Location block. httpd.conf snippet: ...
5
votes
1answer
2k views

Nginx reverse proxy with dynamic port forwarding

I'm setting up a reverse proxy on Nginx. I need it to listen to multiple ports. I then would like to hit the exact same port on the backend server. Like this: http://frontendserver:9000 -> http://...
5
votes
0answers
1k views

Apache as a reverse proxy for GitLab Omnibus

I'm using GitLab Omnibus on a CentOS6.5 server. The gitlab nginx server listen on the 6543 port (Apache already using 80 and 443). I want to use Apache as a reverse proxy to access GitLab with that ...
5
votes
0answers
1k views

ARR reverse proxy to Azure Website inside Azure Cloud Service

I am trying to rewrite www.contoso.com/blog/ to a wordpress Azure Website (contosoblog.azurewebsites.net). I have completely configured all inbound and outbound rules, and have tested them locally on ...
4
votes
1answer
8k views

Apache reverse proxy timeout in 60 seconds

I have Apache Reverse proxy server which proxies request to my internal Apache server. I am using Apache version 2.4 on Linux platform. I encountered timeout page and HTTP ERROR 504 whenever back-end ...
4
votes
0answers
1k views

Chain privoxy with another proxy to intercept SSL traffic

I'd like to setup Privoxy so that it can process HTTPS traffic in addition to HTTP, but it doesn't support SSL interception using my own self-signed certificate. I had the idea to have another proxy (...
4
votes
0answers
223 views

Delegate SSH USERAUTH traffic based on user name

I want to do delegate pubkey-based authentication for a given user to a different SSH server, without modifying client configuration but allowing modifications to server software. There are several ...
4
votes
0answers
2k views

laravel app cannot detect https schema behind reverse proxy

I've a following config: <client> <ssl nginx> <80 nginx> <laravel> laravel has a method called asset() which is supposed to detect schema and output correct url. But it doesn'...
4
votes
0answers
1k views

500 internal error when setting up reverse proxy for Wikipedia

Access to Wikipedia can be disturbed randomly in my country Running Debian 7 with nginx 1.2.1 with additional ngx_http_substitutions_filter_module use several sub-domains to reverse proxy ...
4
votes
1answer
3k views

How to create subdomains using nginx and proxy_pass for each

I currently have nginx setup for my server at my.server.com. Using the current configuration I access different applications using http://my.server.com/app1 or http://my.server.com/app2. I have an ...
4
votes
0answers
902 views

HAproxy and nginx RTMP

I am trying to use HAproxy in front of an RTMP nginx server. It does connect but it does not play the video. I have 2 servers: one with nginx using RTMP and another one with HAproxy. This is the ...
4
votes
0answers
5k views

Set CORS headers on nginx

Addresses like http://vpsxxx.ovh.net/g/search?q=ok or http://vpsxxx.ovh.net/so/questions/34738694/how-to-move-items-on-the-screen-for-a-game-using-javascript are proxied well, when trying them from ...
4
votes
0answers
288 views

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 ...
4
votes
1answer
255 views

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 ...
4
votes
1answer
498 views

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 ...
4
votes
2answers
2k views

nginx proxy_cache: limit parallel requests for the same URL

We're using nginx as a reverse proxy to get files from upstream servers. The files are not dynamic – at least not on a per request basis – and are (sometimes) behind high latency. I would like to ...
4
votes
0answers
3k views

How mod_cache working with “must-revalidate” and “max-age”?

Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode? My goal is to reduce a ...
4
votes
0answers
1k views

IIS7 proxying VisualSVN server refuses to allow Web.config files to be committed

I use IIS 7.5 with the Application Request Routing and URL Rewriting modules to act as a reverse proxy for several apache-based web sites, including VisualSVN Server. I'm having a problem when I try ...
3
votes
0answers
28 views

How would you force a status code from an nginx proxy at all times, including nginx timeout?

We have an NGINX proxy and we need the proxy to override the origin response and ALWAYS send 204. We also need to have timeouts setup and still respond 204 status code. What am I doing wrong? ...
3
votes
1answer
450 views

Nginx reverse proxy + URL rewrite + websockets

I saw this Question, but it doesn't seem to work for me. Current (working) situation is: server { listen 443 ssl; server_name updates.example.com; ssl_certificate fullchain.pem; ...
3
votes
0answers
286 views

Haproxy same port for http and https

I want my webapplication run only on port 4443. So i added this port to my docker container on haproxy. Now i want to inspect the incomming request and if it is not https, it should redirect to it. ...
3
votes
1answer
647 views

NGINX max_size and keys_zone, could not allocate node in cache keys zone

We have a very dynamic and high-traffic application and are using NGINX caching with dynamic URLS. We want to cache these URLs for repeated requests. We have run into an issue a couple times while ...
3
votes
0answers
95 views

Reverse proxy with login for redirecting different users to different applications

Im trying to configure the topology you can see in this picture: My question is, having a unique login server acting as a reverse proxy, is it posible to redirect the users to their respective server ...
3
votes
2answers
843 views

NGINX Not Serving “Fast” Stale Content with proxy_cache_background_update

We are running NGINX in front of our backend server. We are attempting to enable the proxy_cache_background_update feature to allow NGINX to async updates to the cache and serve STALE content while ...
3
votes
1answer
967 views

How to eliminate chunked response delay from NginX?

We have a cascade of two NginX reverse proxies in front of a Java web server. The first proxy runs on FreeBSD (11.1-RELEASE-p10) load balancers and proxies all internet traffic into the internal ...
3
votes
0answers
5k views

Q : How to nginx Conditional proxy_pass based on HTTP Header

How to do conditional proxy_pass based on custom HTTP Header Suppose I have 4 nginx Engine run in my private network, lets Call it : web1, web2, web3, web4. I have a main nginx server, sit betwen ...
3
votes
0answers
507 views

Confluence (Synchrony) using websockets behind IIS8 can't copy or insert large blocks of text

I've got a Confluence 6.1.0 setup running behind an IIS8 reverse proxy doing SSL. Everything works except for one small problem. When I try to copy a three or four paragraphs of text, attempt to ...
3
votes
0answers
1k views

SFTP reverse proxy

Serverfaulters. Short: I'd like to publish several SFTP servers through one server (reverse proxy/relay). How could I do that? Long: there are three components: -...
3
votes
0answers
242 views

Squid form based authentication

I use Squid as a reverse proxy to publish web resources with limited access. I've configured it to check user credentials using standard web browser form (Basic authentication). Is it possible to ...
3
votes
1answer
612 views

Nginx - Reverse proxy to a remote Worpress setup

I have a Server-a which only contains a Nginx and a node application in execution. However, I want to serve the Node app from that server, which is also serving an Angular application. But when I ...
3
votes
1answer
977 views

nginx proxy_pass two ports into subfolders

So I had my last "reverse proxy" problem fixed regarding "mapping" a port to a subfolder Thanks again to this awesome community. I have been able to work with this solution for a while but now I am ...
3
votes
0answers
493 views

Apache mod_proxy to change /location into port

I want to achieve a simple thing - proxy mydomain.com/plex/* into localhost:32400/*. I already have a different proxying rule in place that works fine, but this I cannot get to work. My sites-enabled ...
3
votes
0answers
794 views

HAProxy frontend backend continuously starting and stopping

I am using an HAProxy 1.6.4 to load balance my traffic into different servers. As in now my haproxy runs inside a docker container. In my configuration i have different frontends and backends. As in ...
3
votes
2answers
6k views

GET to NGINX reverse proxy works but POST gives me a 502 Bad Gateway Response

I am using NGINX as a reverse proxy and just put up a new service written in Go. The service has two endpoints GET /tracking/ping POST /tracking/customer In NGINX, I am using the following to ...
3
votes
0answers
1k views

Nginx proxy with varying source address

I have a working nginx configuration to proxy all requests to a server from a range of source IPs. I currently have 20 source IPs set up, and the configuration is quite massive. I removed the other 18 ...
3
votes
0answers
7k views

Nginx proxy_pass reverse proxying behind corporate firewall

Has anyone any idea of how to setup nginx behind a corporate firewall, to reverse proxy requests to servers outside the firewall? The reason I want to do this is I am trying to use an application ...
3
votes
1answer
231 views

How to secure an open proxy (mod_proxy) for demoing service

A client has a service that requires a bit javascript to be added to a customer's page. As a marketing tool to show prospective customers, I created a web app that demonstrates how the customer's page ...
3
votes
1answer
596 views

Why isn't my Apache reverse proxy working to translate anchor HREF attributes when sent back to the client?

I have # For blog LoadModule proxy_html_module libexec/mod_proxy_html.so LoadModule ssl_module libexec/mod_ssl.so LoadModule xml2enc_module libexec/mod_xml2enc.so SSLProxyEngine on ProxyRequests off ...
3
votes
1answer
3k views

Apache Reverse Proxy with Wildfly?

I have both Apache and Wildfly installed on a Ubuntu 14.04 system. Now I'd like to make Wildfly (locally http://localhost:8080) accessible from Apache (http://webserver/wildfly). How would I have to ...
3
votes
0answers
716 views

IIS Reverse proxy and URL Rewrite don't work

I did following steps: Installed all neede features to IIS (URLRewrite 2.0, ARR, ...) Created default MVC Web Application in VisualStudio Added this web app as new site to iis (I can access it by ...
3
votes
0answers
2k views

Change nginx response body with reverse proxy

Trying to change the content of a page I'm reverse proxying through an nginx server. I've tried using nginx_substitutions_filter with no luck. Does anyone know if this is possible and how it's down. ...
3
votes
1answer
1k views

Apache reverse proxy location based access control not working

I'm running a small web server with Ubuntu 12.05.5 LTS and Apache 2.2.22 and ran into this problem recently: For an IIS server on a virtual machine I have the following reverse proxy config: <...
3
votes
0answers
1k views

Getting nginx proxy to work properly with gunicorn/flask

I got this Flask app that I'm running with gunicorn on 127.0.0.1:5002 on this shared server. I got a nginx instance for myself that I can add custom configs to. The structure of the nginx directory is ...
3
votes
0answers
2k views

Squid as fully transparent reverse proxy

I have got a few web servers running on my server and I want all of them to be accessible via port 80. I set up squid as a reverse proxy and it works fine. I, however, need the source ip address to be ...
3
votes
0answers
310 views

ASP.NET directories blocked from VisualSVN Server behind reverse proxy in IIS 6

I’ve got VisualSVN Server running behind a reverse proxy in IIS 6, Windows Server 2003. This isn’t ideal, but for the main web app on the server I’ve only got one IP address and SSL certificate ...
3
votes
0answers
232 views

IIS Reverse Proxy Rewrite Rule usage monitoring

How can I display stats for each Rewrite rule in IIS when using it as a reverse proxy with ARR? We use 'Orenosp' Secure reverse proxy for some of our networks but use IIS + ARR for others and one of ...
3
votes
0answers
2k views

Making mod_proxy_http send back response asynchronously (w/o 100 Continue)

A servlet engine (Jetty) is running behind an Apache Httpd server, forwarded using mod_proxy_http. This is running a small servlet that accepts PUT requests and is authenticated using HTTP Basic ...
3
votes
3answers
3k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...

1
2 3 4 5
23