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

2
votes
0answers
36 views

ProxyPass a WebSocket connection to a UNIX socket

In Apache 2.4 you can reverse proxy an HTTP connection to a local Unix socket with: [1] ProxyPass unix:/path/to/app.sock|http://example.com/app/name You can reverse proxy a WebSocket connection to ...
2
votes
0answers
73 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 -> ...
0
votes
1answer
74 views

Why can't a reverse proxy point at itself?

When I set my reverse proxy to forward from it's own port 80 to it's own port 8080, I do so, i get the following warning 2016/03/28 22:05:59 [alert] 4193#0: 512 worker_connections are not enough ...
0
votes
2answers
46 views

Nginx Reverse Proxy HTTP Interceptor

Is it possible to mirror the HTTP Traffic to a separate server to perform independent process (no response needed) while at the same time serving the original requests? Preferably I would like to do ...
1
vote
1answer
77 views

Load Balancer and Proxy for Meteor not passing to 127.0.0.1 - Too Many Redirects?

I have the following setup, but see 302 Moved Temporarily when I curl the load balancer. In a browser it reports Too Many Redirects: 1 load balancer with SSL 2 web servers I request ...
0
votes
1answer
56 views

nginx proxy_pass - cannot fetch assets

I have a express.js app running at some port and this nginx configuration: server { server_name example.com; access_log /var/www/example/log/nginx.access.log; location / { proxy_set_header ...
1
vote
2answers
57 views

Nginx reverse proxy making root webapp into custom path

I'm trying to setup multiple docker containers with the same image on a single machine and hosting all the application on the same domain separated by path. The purpose is to isolate each customers ...
0
votes
0answers
66 views

Configure Apache DirectorySlash to honor X-Forwarded-Host set by load balancer

Is there a way to configure the DirectorySlash behavior of Apache to honor the X-Forwarded-Host header set by a load balancer? For example, assume my load balancer host is example.com but it forwards ...
1
vote
1answer
58 views

Docker containers behind reverse proxy - rewrite issues with CMS's

I'm trying to access multiple docker containers running on a server via a nginx as a reverse proxy. Each container is a self contained CMS. Some are wordpress, some are drupal, etc etc. The ...
1
vote
0answers
22 views

Reverse Proxy with https redirect in Lighttpd

I've got a django application here that uses a lighttpd reverse proxy. We recently moved it behind an elastic load balancer on EC2 and I'm having trouble working out the correct config to do what I ...
0
votes
0answers
10 views

reverse proxy dynamic domain/hostname apache 2.2

I am trying to implement something which would do the following, user --request--> reverse proxy --request--> website however i am trying to make this dynamic so any URL can be parsed and it will ...
0
votes
1answer
13 views

IIS Reverse Proxy or ARR

I have the need to do a reverse proxy but the peculiarity is that it should be done to a specific path. By declaring different websites I can do localhost:80 - > localhost:7200 but the urls should ...
0
votes
0answers
30 views

Apache2 proxy reverse broken Tomcat8 links

In my DigitalOcean vps, I have Apache2 (LAMP), phpmyadmin and Tomcat 8. Everything is running well. Now I'm trying to implement the reverse proxy so I can access the tomcat8 not by https: ...
0
votes
1answer
28 views

Convert Apache Proxypass to Nginx

I'm finding difficult to understand how to rewrite these apache ProxyPass directives for Nginx: ProxyPass /api/socket ws://localhost:8082/api/socket ProxyPassReverse /api/socket ...
0
votes
0answers
46 views

Elastic not accessable when using nginx as proxy on vagrant using hostname

I have trouble to get access to an elasticsearch instance with the ElasticHQ Plugin. I'm using a self created vagrant box based on Debian 8.3. I've added the nginx from dotdeb and the latest version ...
1
vote
1answer
96 views

Use HTTP/2.0 between nginx reverse-proxy and backend webserver

I use nginx as a reverse-ssl-proxy in front of a backend webserver that is capable of doing HTTP/2.0. I noticed that nginx proxies the requests to the backend server via HTTP/1.1 rather than ...
0
votes
0answers
80 views

Why may add_header not work in nginx' reverse-proxy configuration?

Please help me to understand why the following proxy configuration does not set the header X-Discourse-Echo-Proxy: server { listen 80; server_name corsproxy.discourseecho.com; error_log ...
0
votes
1answer
50 views

Reverse proxy for DoS / DDoS protection

after i search how to protect my website host server using GRE tunnels, some friends of this forum give me a tip to use Reverse Proxy that would be better. But i don't found any guide on how to ...
0
votes
0answers
9 views

Reverse proxying A domain to B, but have B be 301 redirected back to A

We have an old server say old.com, which now needs to become client-facing new.com. As such, we are using new.com to reverse proxy to old.com. This works. Clients see new.com. (Which internally is ...
0
votes
0answers
108 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 ...
0
votes
0answers
46 views

Ghost blog on subfolder under https in apache

I'm trying to serve ghost blog in a subfolder of my domain: mywebsite.com/blog (would be also good to serve it at blog.mywebiste.com) now, for the main website I've this configuration in apache ...
0
votes
1answer
47 views

nginx reverse proxy for Apache and a Node app

I have a CentOS VPS, running Apache. Previously I just used it for hosting a bunch of PHP and static HTML websites, under various domains, and everything worked fine. Then I developed a simple ...
0
votes
1answer
113 views

Nginx Reverse Proxy To Tomcat

I have setup an Ubuntu 15.10 x64 server on DigitalOcean to test several Java applications. I installed Nginx 1.9.3 and Tomcat8 and am using Nginx as a reverse proxy to forward all requests to Tomcat ...
1
vote
1answer
37 views

Nginx location match working only when matching root

I'm trying to configure nginx so I can have two locations. One for my node API and the other for my Jenkins CI. http://my_ip/api should point to my node server and http://my_ip/jenkins should point ...
0
votes
0answers
24 views

Hiawatha HideProxy config

Has anyone else used Hiawatha as a reverse proxy to another Hiawatha? I am setting up Hiawatha on HostA (IP address 12.34.56.78) to reverse proxy to HostB (IP address 87.65.43.21). Hiawatha on HostA ...
0
votes
2answers
57 views

How to ssh to my Ubuntu from outside the local network?

Suppose that a Linux server A is in a local network with IP 192.168.0.90, and I have another Linux server B outside this local network, with IP 203.107.90.80. I want to get access to server A via ssh ...
0
votes
0answers
23 views

Nginx serving to 2 ghost blogs in node.js

I'm trying to configure an Amazon EC2 instance running Amazon linux with nginx to serve two different ghost blogs in node.js. My understanding is that web traffic hits the public IP of the ec2 ...
0
votes
1answer
86 views

nginx upstream not working

upstream does not work when the proxyed server has more than one host name binding on the same port. I ran into this issue while trying to configure nginx (1.9.12-1~trusty) to proxy_pass a Windows ...
0
votes
1answer
24 views

Getting rid of if directive in nginx configuration

I have a Django app which has nginx as a reverse proxy with gunicorn as an application web server (upstream). In the location / block of my nginx virtual host file, I refer to a unix socket in the ...
0
votes
0answers
44 views

How to Log Client IP Address when there is a Proxy Server between the Client and IIS server?

I hosted a sample ASP page in IIS server IP: 10.1.1.102 and forward proxy server ip as 10.1.1.106, when i try try to access the page through proxy from any other machine(eg:192.168.31.100), in IIS ...
0
votes
1answer
32 views

Proxy using nginx

I'm in the midst of a significant rewrite/update of group of services and am struggling with geting Apache/Nginx/Django to play nice with each other. What's happening here is there is an internal ...
0
votes
1answer
43 views

Howto use CouchDB behind Apache reverse proxy?

I just installed CouchDB from source on my Debian with apache 2.4.10. $ curl http://localhost:5984/ ...
1
vote
0answers
21 views

Reverse Proxy Nginx but cookies don't get through for WP admin

I reverse proxy a blog. It's hosted on Apache under a subdomain blog.example.com. In Nginx I have the following config in a server block. Everthing works except the cookies for the WP Admin panel ...
0
votes
0answers
105 views

How to stop nginx 301 auto redirect when trailing slash is not in URI?

Everytime I try foobar.com/test in browser, nginx seems to redirect (301) the client to foobar.com/test/ . This behaviour is unacceptable. The proxied server is a remote apache web server. I have ...
0
votes
0answers
26 views

In Nginx, how do I redirect an outside IP address to an HTTPS page?

My company has a site setup, using nginx as the reverse proxy (the site runs on port 8081 but we nginx to redirect it to port 80). We want to set it up so that an IP address inside the company's ...
1
vote
0answers
22 views

How to protect nginx proxy from being spoofed by other reverse proxies?

I've recently noticed that one of my sites that's running behind nginx proxy became accessible via bunch of random domains. Some of them are proxies generated by sites like http://unblocksit.es and ...
1
vote
0answers
26 views

Handling errors with php on nginx reverse proxy, and mail response to admins

Is there a way to access the server response from php once Nginx detects an error, and mail the server response to the admins while at the same time show a custom error page to the visitor? Currently ...
1
vote
1answer
45 views

nginx reverse proxy address/port already in use

I have an nginx reverse proxy, and I would like to have it forward traffic on to several sites, and listen on port 443 for all of these services. I've seen this done several places, and seems like ...
0
votes
1answer
61 views

Reverse proxy subdomain to subfolder on IIS7

I'm currently trying to implement an Owncloud system at our company. I have the Owncloud system up and running on an internal webserver which is behind a firewall. I can access the installation ...
0
votes
1answer
83 views

How do I use nginx reverse proxy to forward to a specific URI

I have an nginx reverse proxy that is using stream proxy to direct to a web page that uses NTLM authentication, but I need to use something similar to the location directive to tell this reverse proxy ...
0
votes
1answer
42 views

Proxying WebSockets through Apache causes “No WebSocket handshake” errors

I am trying to proxy an HTML5 application utilizing WebSocket to the outside world. Repetier Server runs within my private Network on a Raspberry Pi under the port 3344. From this side there is no ...
0
votes
1answer
64 views

How to config nginx reverse proxy to accept HTTPS client with private key connection

I got problem in Nginx reverse proxy configuration, the problem is complex, please read the story. Our company have a internal infrastructure, in the old architecture the client (In fact, they are ...
0
votes
1answer
65 views

nginx & httpd doing reverse proxy together

Working as a sys admin for multiple departments, and due to constrained resources, I'm considering deploying nginx and httpd in one server. (Due to developer requirements, using Docker isn't an ...
0
votes
2answers
64 views

Nginx proxy_pass not normalising URL

I have the following config for an angular frontend on / and a node.js backend on /api/: server { listen 80; server_name example.com; location / { root /home/ubuntu/www/admin; ...
0
votes
1answer
48 views

AWS ELB + NGINX for rails app

If I'm using Amazon's Elastic Load Balancer for a Rails app, do I need to put an Nginx reverse proxy between the app and the ELB?
0
votes
0answers
33 views

reach webmin over apache2 reverse-proxy

First of all, sry for my English. I tried to setup Webmin over apache2 reverse proxy. It seems good, but when I login the port is changed from 443 to 10000. I avoid from it, because I don't want to ...
0
votes
1answer
92 views

Nginx proxy configuration to hit the backend api via http proxy

I need the Nginx web server to connect to a https server listening on port 443. The https server cannot be reached by Nginx server machine directly and to reach the https server the nginx server needs ...
0
votes
0answers
10 views

apache reverse proxy performance problems

I have a python webapp that is called through Apache with mod_wsgi on a server behind our firewall, and we've configured a public-facing webserver to act as a reverse proxy to access the webapp. Both ...
0
votes
1answer
136 views

How do I proxy pass a URL in Nginx where location match is a URL and proxy pass has another URL

We have hosted some xml files in a S3 bucket on Amazon AWS. The web server is powered by Nginx. For a particular URL matching '/super-shots.xml' , Nginx must proxy pass through S3 location which is : ...
0
votes
0answers
24 views

HttpPlatformHandler for Apache server

Is there something like IIS HttpPlatformHandler for Apache 2 server in reverse proxy role? I am specially interested in process management of HTTP listeners, to let Apache start the process if it is ...