Questions tagged [proxypass]

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

ProxyPass in , and proxy_pass in , are directives of the default module that are used to specify which or server should process the .


ProxyPass in :

https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass


proxy_pass in :

http://nginx.org/r/proxy_pass

http://ngx.su/src/http/modules/ngx_http_proxy_module.c#ngx_http_proxy_pass

578 questions
0
votes
0 answers

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 possible to combine each nginx's configuration via…
devwannabe
  • 181
  • 3
  • 14
0
votes
1 answer

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; server_name example.com; ssl_certificate…
0
votes
1 answer

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 Server 2012 host. I have reproduced the same…
Michael
  • 3
  • 1
  • 1
  • 3
0
votes
1 answer

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 myimage.jpg Scenario B : If client request URL that…
AsipAMN
  • 1
  • 1
  • 2
0
votes
1 answer

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 application and API endpoints written using Django…
Jason
  • 131
  • 1
  • 4
0
votes
1 answer

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 Require all granted ProxyPass /myapp/…
ismail
  • 101
  • 1
  • 2
0
votes
1 answer

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 :…
anup
  • 717
  • 4
  • 9
  • 19
0
votes
3 answers

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/*; proxy_buffering off; } If the URL is .../test1/folder1 the…
varlog
  • 23
  • 2
  • 6
0
votes
0 answers

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 vmware.xxxxxxxxxx.org; location / { proxy_pass…
FreeSoftwareServers
  • 515
  • 1
  • 8
  • 26
0
votes
2 answers

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-https--->(serverB) ServerA runs apache2 and ServerB…
giomanda
  • 1,754
  • 4
  • 21
  • 30
0
votes
0 answers

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 default_server; server_name *.example.com; …
alex.bour
  • 111
  • 1
  • 5
0
votes
1 answer

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 from /blog/ as I have a custom written website…
Tim
  • 31,888
  • 7
  • 52
  • 78
0
votes
0 answers

Error with proxypass subdomain

I have an Ubuntu Server 14.04 with Apache 2.4.7 and Wildfly 8 installed. Apache runs in the front and Wildfly in the back. Apache proxies all the apps running on Wildfly. Now I am trying to proxypass one of my apps from Wildfly with the domain…
Socrates
  • 261
  • 4
  • 13
0
votes
0 answers

Apache 2.4.10 Debian Jessie, ProxyPass random failure with AH01084 and AH01097

I'm using Apache 2.4.10 on a Debian chroot system on an android system to https enable a legacy Android Java webserver that has no support for SSL. The vast majority of the features function correctly under the proxy, but any request that is…
ekthomson
  • 101
  • 2
0
votes
1 answer

Nginx regex in location block?

So I'm using Nginx as a reverse proxy, and my current config has gotten very long, since I have about 12 sub-domain's, and that number will continue to grow a little more. I'm looking for a way to clean up my config, and I think I found a way but I…