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 ...

learn more… | top users | synonyms

-1
votes
1answer
49 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
2
votes
0answers
147 views

nginx reverse proxy not returning website

The setup Currently, we have an Apache2 webserver acting as load balancer for our web architecture. The backends are Xen virtual machines accessible via IPv6 for the public Internet and via IPv4 for ...
5
votes
1answer
805 views

nginx redirects back to remote_addr IP

I am trying to setup nginx 1.0.12 as a proxy for apache 2.2.15, but faced a strange problem. And I cannot solve it for third day in a row. I have test site c-craft.info and have installed roundcube in ...
0
votes
1answer
315 views

Reverse SSL Proxy: NGINX in front of NGINX and Joomla

My question is similar to this one, except that I have another nginx server behind the frontend nginx ssl proxy server: -------------------------- -------------------------------- ...
3
votes
3answers
3k views

In nginx reverse proxy, how to set the secure flag for cookies?

I'm using nginx as a reverse proxy to serve a https-only site. So I want the cookies for this site flagged as secure. But the backend server is an http one so it won't set the secure flag to its ...
1
vote
0answers
96 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. ...
0
votes
0answers
28 views

iis reverse proxy and POST response limits

I have a web app running on a server, IIS is configured to serve as a reverse proxy for the app server which is running on port 8080 (tomcat). When I run the app in the browser on my computer, the ...
0
votes
1answer
151 views

NGiNX Custom Cache param based on regex match

My question(s) are as follows: How do I set custom variables based on regexp against a useragent? How do I set custom headers for the reverse-proxy request? How do I use these values as caching ...
4
votes
2answers
840 views

How can I stop nginx from retrying PUT or POST requests on upstream server timeout?

We are using nginx to load balance requests to our application. We have found that nginx switches to a different upstream server when requests time out (good). However it does this for PUT and POST ...
-1
votes
3answers
458 views

apache Proxy 4 seconds connection delay

I have a big data site (wordpress secondry develop) one domain www.example.com. I have stored it into 3 server. In DNS setteing IP address (IN A / AAAA) 46.192.22.01 IP address (IN A / AAAA) ...
2
votes
0answers
60 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: ...
0
votes
1answer
79 views

Apache 2.2.4 Proxy Balancer Extremely Slow When a Balancemember is down

I am using apache 2.2.4 as a reverse proxy server in my DMZ. The Proxy Balancer appears to work great when the two BalancerMember servers are up. But if I shut one down, It takes roughly 30-45 seconds ...
1
vote
1answer
327 views

SSL proxying on nginx — different behavior in different clients

I'm running an SSL-required web service and planning to switch hosting providers. To avoid downtime for our users while DNS caches clear, I'm planning to proxy requests from our old server to the new ...
2
votes
3answers
288 views

Varnish as Reverse Proxy Server for Rubygems

I want to setup a cache server for Rubygems, as I'm currently based in Vietnam and the international internet connections are pretty slow. I have been trying to get this done via Varnish, but after ...
0
votes
1answer
267 views

502 bad gateway when trying to log out through nginx reverse proxy

Im trying to log out my php application when the nginx reverse proxy throws a 502 bad gateway error. The error log shows this error [error] 20284#0: *1 upstream sent too big header while reading ...
0
votes
0answers
358 views

NGINX: HTTP access not working from Chrome, only HTTPS

I 'm trying to publish IBM Connections NGINX allowing access using HTTP and HTTPS . By HTTPS is working but when i try to access by HTTP I get this error in Google Chrome only: This XML file does ...
-1
votes
1answer
105 views

Bonding multiple proxy server [closed]

I want to use multiple proxy server at the same time to speed my downloads. How can use multiple proxy at the same time. Reverse Proxy products such as haproxy nginx can use multiple proxy server but ...
1
vote
2answers
41 views

How can I redirect requests for a site in IIS to a different external server?

I am about to move my website away from IIS to a Linux VPS. Part of this involves updating zone records. There will be some time from when I change my zone records to when they are propagated to ...
1
vote
1answer
1k views

Nginx reverse proxy with multiple ssl domain

I have problem with Nginx when I need configure it as reverse proxy for multiple locations based on source server, but on one port. For example I have these servers: server1.domain.com ...
0
votes
1answer
71 views

nginx reverse proxy fail for remote server

This is my nginx.conf on cs2: user nginx; worker_processes 1; error_log /var/log/nginx/error.log; error_log /var/log/nginx/error.log notice; error_log /var/log/nginx/error.log info; pid ...
0
votes
0answers
638 views

Wordpress behind nginx reverse proxy doesnt work in https

I'm trying to run wordpress on a docker based cloud. The setup is: There is a server running a mysql array, which serves a container with Wordpress Running on Nginx. The setup is copied from this ...
0
votes
1answer
448 views

Nginx ignore query string for caching certain files

I know my setup is a bit crazy, but whatever.... I set up Nginx on Openshift to cache map tiles (for a map viewer, you can guess the purpose, :-) ) that are served from my home network, which has ...
0
votes
0answers
112 views

Apache disk caching on reverse proxy breaks after using htcleancache

I've set up Apache 2.4 as a reverse proxy on Ubuntu 14.04 on a new load balancer. The old one just used Apache as a reverse proxy, but now I want to introduce disk caching in the new load balancer. ...
0
votes
0answers
42 views

Set Proxy Headers with Apache Reverse Proxy

I have a REST data service that requires a particular HTTP header. I have an apache server that should work as a reverse proxy for that data service. I would like apache to set the required header ...
1
vote
0answers
218 views

Set up TMG as a reverse proxy, https-to-http

tl;dr I'm having trouble getting TMG to properly reverse proxy an HTTPS connection on the outside, to an HTTP connection on the inside. We have a LAN (10.0.7.0/24) that hosts a Windows Server 2008 ...
2
votes
1answer
2k views

Apache reverse proxy: Change protocol in links and form targets from http to https

I have a http service running on 10.1.1.187:8080. This is delivered as a public https service to https://public.example.com which is 10.1.1.186:443 via apache proxy magic: <VirtualHost ...
0
votes
1answer
730 views

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 ...
0
votes
1answer
2k views

how to improve nginx reverse proxy performance?

I am pretty much a noobie at nginx and i really need some help. I am using nginx as a reverse proxy server to serve primarily as a load balancer. I am using almost only dynamic files. The back end ...
0
votes
1answer
46 views

How do I switch from http to https and back again with an Apache reverse proxy and WebSphere Application Server

I'm running a Spring Web App in WebSphere Application Server (WAS). WAS is listening on port 36500 using https, Apache is listening on port 80 using http. The protocols in use are out of my control ...
1
vote
0answers
423 views

HAproxy ACL based on backend application session cookie to replace HTTP Basic Auth

I would need some help on HAproxy configuration to bypass HTTP basic auth and let the user use a specific backend in case there is a valid session cookie present from another backend application. I ...
0
votes
0answers
99 views

SFTP Reverse-Proxy using iptables on custom port

I want to give SFTP access to anyone into to my Server (IP: ss.ss.ss.ss) passing through Proxy (reverse-Proxy? IP: pp.pp.pp.pp), so that IP ss.ss.ss.ss is never seen by whoever is connecting to the ...
0
votes
0answers
281 views

outbound rule IIS Application Request Routing and URL Rewrite to properly replicate Apache ProxyPass ProxyPassReverse?

EDIT: See end of post on that a ReverseProxy Outbound rule is needed. With Apache ProxyPass and ProxyPassReverse one can add the following to the Apache config of serverA: ProxyPass /foo ...
0
votes
0answers
2k views

pfsense reverse proxy + HTTPS/SSL interception

I have pfSense 2.1.5 and squid3-dev 3.3.10 configured as reverse proxy for internal http web server and server proxy (port 3128).It works. Activating HTTPS/SSL interception (Enable SSL filtering) on ...
0
votes
2answers
177 views

How to properly configure nginx proxy pass when the endpoint is in a root context?

I'm trying to figure out how to configure a reverse proxy in nginx when the endpoint is in a root context: http://frontend.com/mylink proxy forwards to http://10.0.0.2:8000/ Unfortunately I can't ...
2
votes
1answer
2k views

IIS Reverse Proxy Not Working With Response.Redirect() in ASP.NET

I am trying to set up a reverse proxy, using the tutorials here, here and here. The site is set up on localhost:8080, with the reverse proxy using localhost:8080/myProxy. When dealing with standard ...
0
votes
0answers
184 views

Use nginx as reverse proxy for outgoing mail

We have a production server running a singlepage web-app and a separate proxy server, for security reasons. Every request to our web-app is handled by our reverse proxy (nginx) on the proxy server. So ...
0
votes
0answers
161 views

novnc apache2 reverse proxy code 1006

I just installed webvirtmgr but the noVNC console is not working (code 1006). The detailed error of the google chrome console is: [blocked] The page at ...
0
votes
1answer
323 views

nginx reverse proxy for websockets with SSL

I am trying to configure nginx (installed via macports) on my osx development machine. I am trying to reverse proxy localhost:12346/trade to a websocket connection which is available on port 12346 at ...
-1
votes
1answer
84 views

Does Nginx respect maxage from upstream server?

I see the proxy_cache_valid directive, but that confuses me. In HTTP, doesn't the upstream server specify this with Cache-Control and maxage? How do I get Nginx's cache to use maxage ?
0
votes
1answer
296 views

Nginx reverse proxy repackaging chunked responses

I am running nginx/1.1.19: # nginx -V nginx version: nginx/1.1.19 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --conf-path=/etc/nginx/nginx.conf ...
1
vote
0answers
49 views

apache rewrite through proxy remote

We are trying to write a reverse proxy rule to an external site. ProxyRequests On ProxyRemote https://abc.company.com http://proxy.company.com:80 ProxyPass /_vti_bin/AccountList.asmx/ ...
1
vote
1answer
5k views

Nginx as a proxy for tomcat with subdirectory

I want to set up a Nginx Proxy for the Tomcat server with my domain name such as example.com/demo/sample example.com/demo/manager example.com/demo/other_apps ... Here is my Nginx server block ...
5
votes
2answers
9k views

How to handle relative urls correctly with a reverse proxy

I have a reverse proxy setup as follows in Apache: Server A with address www.example.com/folder is the reverse proxy server. It maps to: Server B with address test.madeupurl.com This kind of ...
1
vote
2answers
419 views

Websockets and Firewall

I asked this question on Stack Overflow first, but then I thought Server Fault could be a better place to post it. I have two WebSocket servers both running on different ports than 80 and 443. ...
0
votes
1answer
139 views

how to make squid revere proxy with authentication send remote_user header

OS CentOS 6.4 - squid 3.1 I currently have squid running as a reverse proxy, performing NTML authentication succesfully. This is working as expected. If I enter valid AD username and password, it ...
0
votes
1answer
52 views

Two domains one ssl

We have a production rails app being hosted on heroku at http://abc123.com. We also have a wordpress blog hosted on bluehost at http://abc123blog.com. We use Rack::ReverseProxy to make it look as if ...
1
vote
1answer
715 views

nginx reverse proxy not passing requests

I have a domain (example.com) and a subdomain (sub.example.com) both hosted on the same server. I want to proxy a request so any file requested on http://sub.example.com/api/ will be requested on ...
4
votes
1answer
1k views

Problems setting a cookie from a machine proxied by nginx

For a project of mine, I need to wire up a long chain of machines that are essentially proxying the HTTP requests for each other. It goes like this: Web client - A - B/C - D When a request is made ...
0
votes
1answer
403 views

Nginx Reverse Proxy: servername.domain.com reverse to http://ip.add.res.s/location/App

I need a little help sorting out how to configure a reverse proxying load balancer in nginx. Basically, I have two web applications that live under subdirectories on Apache servers, /flavors/Chocolate ...
0
votes
1answer
1k views

Wrong REMOTE_ADDR and SERVER_ADDR on Apache when using nginx as reverse proxy

I'm on Mac OS X, running Ubuntu in VirtualBox. Mac OS can be accessed in the local network with IP 192.168.0.100 and Ubuntu is 192.168.0.123 (it's using the "Bridged Adapter" option in VirtualBox ...