ProxyPass in Apache, and proxy_pass in nginx, are directives used to specify which backend or remote server should process the request

learn more… | top users | synonyms

0
votes
1answer
17 views

Nginx proxy_set_header Host for RPC management

We're experimenting with an RPC service (linkerd) that acts as a glue between our microservices – reading off their locations from a local Consul cluster etc. Now Linkerd expects to see the Host ...
-1
votes
1answer
26 views

Use nginx as proxy to a sites.google.com site

I'm trying to create a proxy_pass to a sites.google.com site. It works.. kinda. The site appears somewhat different when I access it through the nginx proxy. My configuration: location /gtis { ...
1
vote
1answer
30 views

nginx reverse proxy rewriting locations

ok, so i have a virtual machine http://10.0.8.247:80/phppgadmin/ running phppgadmin. I wanted to expose phppgadmin to the internet on admin.example.com, so I did server { listen 80; server_name ...
1
vote
0answers
25 views

NGINX Proxy and Wordpress [closed]

I have been working on a NGINX proxy for A/B testing. This box has a virtualhost that keeps the corporate site, and aditionally I added another virtualhost that should redirect incoming traffic to a ...
0
votes
1answer
42 views

Nginx upstream https not proxing other pages

Having odd situation, even don't know how to search in google, how to describe it...Anyway I'm using Nginx and proxy'ing https traffic to upstream server. Everything is fine with http (with others ...
0
votes
0answers
15 views

Deciphering Apache2 Proxypass error log

I'm having some issues with proxypass not doing what I expect so at the risk of getting flamed I'm going to ask for some help in sorting things out in stages. Front end is a lamp stack with a ...
0
votes
0answers
27 views

nginx proxy pass without redirect

Hi i'm struggling with this issue for some time all examples I found don't work. I want to proxy a video on a remote server. This video is a stream so not a actual file; I was thinking something ...
0
votes
1answer
91 views

ProxyPass - Invalid URL

I am creating a simple proxy pass in Apache 2.2 on CentOS 6 but that's not working and throwing error. I would be thankful if someone can please help: SSLProxyEngine On ProxyPass / https://ecuo-...
0
votes
0answers
18 views

Serve subdirectory of apache with nginx proxy

i need to serve http://192.168.0.23/app1 (apache) to nginx http://app1.domain.com (nginx) i tried : server { listen 80; access_log off; server_name app1.domain.com; #...
0
votes
1answer
38 views

Single front NGINX to proxy pass SSL to sites with their own certificates

Current setup: Front NGINX proxy passes 80 and 443 to local VM Local VM's NGINX redirects everything to HTTPS (if request is HTTP/80) Local VM's NGINX listens to 443 and proxy passes to the upstream ...
1
vote
1answer
24 views

Which server should generate the CSR when running SSL with Apache ProxyPass

I have an apache 2.4 server which uses proxypass to forward SSL connections for one domain to an OSX server 5.1.5 on the same local network. I generated my CSR on the apache server and it seems to ...
-1
votes
1answer
47 views

proxypass ajp with apache and tomcat for multiple websites

I have Website running on Tomcat on port 8080 with ProxyPass enabled. Now I want to install WordPress on Apache say www.domain.com/blog. I tried various combinations in Apache but without any luck. ...
2
votes
1answer
55 views

Is it possible to redirect VPN traffic by Apache

There is a web server in my lab with Apache. Only 80 port is opened. I can install software on it. Is it possible to install some VPN tools and redirect the VPN traffic by Apache? In another words, ...
1
vote
0answers
78 views

Plesk 12.5 Nginx proxy pass SSL to Node app on different port [closed]

Preface: tried installing JXCore's Node Extension for Plesk, and I can't get it to work. Gives me some error, and their support is not answering emails...... [IP ADDRESS] = real IP, example.com = ...
0
votes
1answer
86 views

Nginx's location and proxy_pass missing a request when hash is present in url

I have this config server { listen 8080; access_log /var/log/nginx/access.log; root /usr/share/nginx/htdocs; index index.html index.htm; port_in_redirect off; location /...
1
vote
1answer
26 views

Removing path segments with encoded values for nginx

I have a location block like the following location ^api/([^/]+)(/.+)$ { set $my_host $1; set $my_path $2; proxy_pass http://$myhost$my_path$is_args$args; } This works well for most ...
1
vote
1answer
36 views

Running an application on a second server with a dynamic IP. Do I need two SSL certificates when using Apache ProxyPass?

Terms example.com: The domain that points to the static server. static server: This server has a static IP address and has Apache ProxyPass pointing to dynamic server. dynamic server: This server ...
0
votes
0answers
27 views

nginx - cannot get my subdomain running fine

I have a server "emberhub.me" with one subdomain "test.emberhub.me" I want to use SSL on all ... emberhub.me and www.emberhub.me requests should display the 'standard' Nginx welcome page ( /usr/...
0
votes
0answers
27 views

Single load balancer and multiple nginx reverse proxies

Right now, we have an nginx server behind a load balancer which act as a reverse proxy to our internal web server. We can add another nginx dynamically but what I would like to know is if it's ...
0
votes
1answer
38 views

Nginx Proxy Stops After 38 kB

I have a simple nginx 1.4.6 proxy running on a dedicated Ubuntu 14 server. My configuration looks like this: server { listen 80; listen 443 ssl; listen [::]:80; listen [::]:443 ssl; ...
1
vote
1answer
31 views

httpd.conf (ProxyPass and ProxyPassReverse)

I would like to ask what is the difference between the following configurations below. application original URL/location: http://localhost:8080/MyServerApp/App_1 1st set-up/configuration ...
2
votes
0answers
36 views

How to distinguish between internal error code 502 and upstream returned http_502 on a nginx proxy

We use nginx as a http proxy server.The following configuration: location / { proxy_pass_header Server; proxy_pass $scheme://$http_host$request_uri; } When urls proxied return error code ...
0
votes
0answers
101 views

nginx ping upstream server to get http 200 respponse

I setup nginx proxy server on my localhost at windows OS, I am running my JBoss server at port 8080 and I want to display maintenance page whenever nginx found that server is not running. by using the ...
2
votes
0answers
64 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 ...
1
vote
0answers
22 views

Nginx proxy not same behaviour as A-records

I have a domain where I have a wildcard A record to a IP (61.61.61.61) (not under my control). Because I wanted some pages on the domain to be under my control, I thought it was easy to proxy all ...
2
votes
1answer
66 views

nginx proxy_pass is being ignored

I have an Nginx server which works as a proxy server. I also have 3 different NodeJS Express servers running on ports 8080, 9090 and 8888 (all working correctly). Servers 8080 and 9090 execute the ...
0
votes
1answer
154 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 ...
0
votes
1answer
136 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
84 views

Nginx Redirect all JPEG URL to single JPEG

There are two scenario that I'm trying to achieve. Scenario A : If client request URL that contains .jpeg or .jpg file, redirect the user to a single .jpg file that are on the server in this case ...
0
votes
0answers
32 views

Apache2 Proxy for Tomcat Application

My Apache2 is running on port 80 and Tomcat7 is running on port 8080. I want to forward all connections from port 80 to a Tomcat application. ProxyPass / http://www.example.tld:8080/app/ ...
0
votes
1answer
35 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
0answers
20 views

apache2 proxypass with dynamic server address

I have an apache2 instance fronting all a number of different servers behind a firewall. One of the servers is an appliance that can have a dynamic number of subdomains. For instance, the base ...
0
votes
1answer
94 views

How to ProxyPass to a '/path/' instead of root '/'?

I am using Ubuntu-15.10 wily, Apache-2.4.12 I've been trying to use ProxyPass in an SSL enabled VirtualHost like so: ProxyRequests Off ProxyPreserveHost On <Proxy *> Require all granted &...
0
votes
1answer
226 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
1answer
324 views

Nginx proxy_pass always sending to [::1]

I am having problems with redirection from Nginx to gunicorn. I'm using proxy_pass to redirect to https://127.0.0.1:5000, and yet the redirect is being sent to https://[::1]:5000. Here is my own ....
0
votes
3answers
147 views

Nginx: proxy_pass dynamic from location

I hope you can help me with a little but tricky nginx problem: I want to configure a dynamic location-block like this: location /test1/* { proxy_pass destination.com/api/*; ...
0
votes
0answers
122 views

NginX ProxyPass only works via subdomain not domain.com/path

I currently am working on configuring an nginx reverse proxy for the esxi html5 web client. I have seen two reported working configs. There is this one: server { listen 443 ssl; server_name ...
0
votes
2answers
30 views

proxypass https from one servet to another as https

I have serverA which act as a reverse proxy for serverB. What i wish to accomplish is to porxypass an https connection from serverA to serverB. In other words: ---https-->(serverA)---proxypass-...
0
votes
2answers
67 views

How can I add a trailing slash to a virtual host?

Clearly I don't know what I'm doing because I've been at this one for hours. I have an apache virtual hosts configuration and am mapping subdirectories to different servers. for instance: <...
0
votes
0answers
160 views

Apache proxy returning 403 forbidden

I'm trying to set up a home page where I can redirect my requests to others servers with a proxy so I have a single point of entry. I used to have this setup working properly on a windows machine ...
0
votes
1answer
62 views

Apache 2.2 cut very long URLs from Wildfly

I run a Wildfly 8 server with an Apache server. We need a lot of options for searching. If you search something you can select many check boxes. Normally every request will be execute. But if only ...
2
votes
0answers
236 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 ...
0
votes
0answers
221 views

Nginx redirecting POST request with proxy_pass can't resolve url

I'm trying to redirect POST requests with a proxy_pass. Here is my full servers config (2 servers): # default server with all my subdomains server { listen 80 default_server; listen [::]:80 ...
0
votes
0answers
12 views

Apache ProxyPass rules to stop at first match [duplicate]

I want to stop ProxyPass rules to stop executing at first match. I've given some rewrite rules in the end. So Rewriterules are getting executed all the time. Below is the two lines, i want to work ...
0
votes
1answer
70 views

Changing URL of Wordpress Multisite Blog using Nginx - proxy_pass? Location with regular expression error

I've set up a Wordpress Multisite (aka WPMU) instance on AWS to serve my four blogs, which are all currently single site installs. Three of the blogs run on the domain root, but one needs to be served ...
0
votes
1answer
163 views

Apache Virtual Hosts .. Redirect .. ProxyPass .. and Alias

I have tried just about everything and am looking for help the with below... We are currently doing a Redirect with a Proxypass, however I would like to create a alias and point everyone there instead ...
1
vote
1answer
86 views

bypass apache SSL and use tomcat instead

I don't want my clients to negotiate an SSL connection with Apache web server, I want them to do so with the tomcat server behind it instead. How can I do so? My current httpd.conf configuration is: ...
3
votes
1answer
198 views

Nginx proxy image/javascript hosted externally

I'm trying to proxy a javascript and image hosted by a external party with nginx I'm running my site on https and they only offer the files through http, I have already had contact with them about ...
2
votes
1answer
147 views

Hyperlinks disabled when ProxyHTMLEnable is Set to ON

I am using an application behind a reverse proxy (proxypass and proxypassreverse). I don't understand why hyperlinks are disabled (unclickable) when I set ProxyHTMLEnable to ON. Please note that the ...
0
votes
0answers
32 views

How to get nginx host variable to work with proxy_pass

I am trying to setup an nginx proxy in front of any s3 website that I point at it. In the example below I have my DNS records customsite.com pointing to my proxy. When I don't use any variable for the ...