Questions tagged [proxypass]

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

ProxyPass in , and proxy_pass in , are directives used to specify which or should handle a given . This can be used to implement a , as well as a forward and/or transparent , too.


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

681 questions
0
votes
1 answer

Is it okay to nest nginx reverse proxies

Is it wise to proxy_pass back to nginx multiple times, for example from SSL to non-SSL to another server? I want to maintain configuration organization and seprate the HTTPS from HTTP. Is there another means of aliasing to a specific server_name?…
ambrosechua
  • 139
  • 1
  • 7
0
votes
1 answer

Apache ProxyPass all requests

I have Proxy Pass somewhat working. I am using it like so ProxyPass /chorus/ http://localhost:7070/ ProxyPassReverse /chorus/ http://localhost:7070/ This chorus folder does not exist and I am accessing through apache port 80 in the browser.…
user2704766
  • 235
  • 1
  • 5
  • 14
0
votes
1 answer

Apache 2.2 ProxyPassMatch RegEx

I would like to use Apache 2.2 ProxyPassMatch to make a Reverse Proxy. Expectations: Exclude specified directories in the DocumentRoot and all others redirect…
LittleT
  • 25
  • 6
0
votes
1 answer

Apache http proxy and reverse proxy

I need to define two virtual host that should forward my requests to different web applications. IP of PC where appache is installed is: 192.168.100.208. IP of application server where application are installed is: 192.168.100.50
djuRa
  • 13
  • 3
0
votes
1 answer

nginx if directive changes url in proxy_pass

I am trying to use nginx to proxy to a secure download by setting an auth token as a cookie and then proxying with an additional header ( doesn't let me set headers). I have found that the if directive is rewriting the url. if…
Brennan Cheung
  • 4,271
  • 4
  • 30
  • 29
0
votes
1 answer

apache2.4.6 wstunnel proxying to tomcat 7 error unexpected 200 repsonse

I have everything being proxy correctly just that my websockets keep giving me an unexpected 200 response error. I am using native websockets on chrome and firefox. my conf file looks like this ServerName…
italiano40
  • 496
  • 9
  • 18
0
votes
1 answer

How to change proxy pass on apache server?

I would like to change the rules of proxy pass on apache server. Where is the configuration file? Can anybody give me an example?
Manuela
  • 1,379
  • 3
  • 16
  • 25
0
votes
1 answer

Nginx split URI before proxy_pass

I'm trying to split a URI in nginx in order to break it down into components. I'll explain why as we go along. Take this url: http://example.com/resize/customer-id/image.jpg/100/100/ What I need to do now is split that URI into components so I can…
Ric_Harvey
  • 91
  • 1
  • 7
0
votes
1 answer

How configure nginx for rails app as subdomain?

I developed rails app and it's working on domain mpm.head-system.com On my VPS the app is located in /home/mobile_market path. This is nginx.conf: user www-data; worker_processes 4; pid /var/run/nginx.pid; events { worker_connections 1024; } http…
bmalets
  • 3,207
  • 7
  • 35
  • 64
0
votes
1 answer

Nginx: Use different backend based on value of argument

We have a legacy application written in php which we are now migrating to java. The Application being hige, we are trying to migrate features in part. Keeping this scenario in mind, i need to split traffic between php-fpm backend and the java app…
Sanket Gupta
  • 573
  • 3
  • 6
  • 21
0
votes
1 answer

How does Apache proxypass handle traffic?

When Apache Proxypass is configured, is traffic being forwarded from the host in the DMZ to the internal host, or is a new connection initiated between the DMZ to the internal host? Trying to determine if the proxy is forwarding traffic, or if a…
0
votes
0 answers

apache2 proxy balancer pass to single member

I'm having issues getting the urls /api and /admin to pass to the single app server, 10.10.0.56.. It is still getting loadbalanced (and failing half the time), like all the other requests. Not sure what is going on.
0
votes
1 answer

NGINX - redirect proxied response

I have my nginx running in 8080 port and it has only my html's and javascript files and I have another webserver in 8000 port which basically is a json rest server. In my nginx.conf file (in 8080 port) i have something like this: location /xyz { …
user1126167
  • 702
  • 2
  • 6
  • 11
0
votes
1 answer

Set up a generic proxy pass rule on apache

I'm trying to hit my rest service running locally on http://localhost:8080 with an ajax request as such $.ajax({ type: "GET", url: "/api/test", dataType: "json", success: function(testData) { callback(testData); …
user1875195
  • 968
  • 4
  • 8
  • 22
0
votes
1 answer

Apache 2.2 reverse proxy

ServerName mydomain.com ProxyRequests On RewriteEngine On EnableMMAP off EnableSendfile off AllowOverride none Require all denied