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
0 answers

Apache ProxyPass exclude domain from virtual host

I am performing some reverse proxies on my apache server, but I'm running into some problems. I have a it proxying pages from another server which works fine with the following example: ProxyPass /services/ http://www.server.com/services/
dstach
  • 119
  • 1
  • 2
  • 8
0
votes
1 answer

Apache Configuration Location Match exclusion

I have the following working rule on my Apache configuration relative to the "/": ProxyPass / http://foo.example.com/bar but I want to exlude the location "/public" from the rule, how can I do that?
0
votes
1 answer

conditional proxypass ajp rules using ip whitelist

I've successfully created a ProxyPass ajp rule which works fine, but now i want to restrict the access of certain urls using an ip-whitelist. In other words, when someone comes from an ip that is not on the whitelist the request should not be…
marty
  • 651
  • 7
  • 13
0
votes
1 answer

Setting up Apache to use an internal Proxy Server( Proxy Chaining? )

I have a situation where I need to route requests to Apache through an internal Proxy Server before redirecting to an external Site, the setup is something like this: Browser Request --> Apache --> Internal Proxy Server --> External Site Without…
Phoenix
  • 33
  • 1
  • 6
0
votes
1 answer

nginx reverse proxy to magento and drupal

I configured nginx as a reverse proxy with this configuration: www.mydomain.com --> drupal.mydomain.com www.mydomain.com/store --> magento.navionics.com Drupal (website) location / { proxy_pass http://10.21.120.12/; …
Mauro
  • 131
  • 2
  • 13
0
votes
1 answer

My PHP WebApps are not found when using Apache ProxyPass to connect to Tomcat Java WebApps

I have apache-http setup using proxypass mod to tomcat: ServerAdmin john@doe.com ServerName .com ServerAlias www..com ProxyPass / ajp://localhost:8080// …
JARC
  • 5,288
  • 8
  • 38
  • 43
0
votes
1 answer

nginx proxy_pass POST 404 errors

I have nginx proxying to an app server, with the following configuration: location /app/ { # send to app server without the /app qualifier rewrite /app/(.*)$ /$1 break; proxy_set_header Host $http_host; proxy_pass…
Scott Klarenbach
  • 37,171
  • 15
  • 62
  • 91
0
votes
2 answers

apache rewrite with proxypass

I am trying to combine a rewrite and a proxy pass and having issues with the rewrite. Here is what I have RewriteEngine On RewriteCond %{HTTP_HOST} ^example.world.net RewriteRule %{HTTP_HOST} http://newexample.newworld.net:7802/apex/f?p=208…
user1733616
  • 3
  • 1
  • 1
  • 4
0
votes
2 answers

Apache reverse proxy with mod_remoteip

I have configured apache (version 2.4) reverse proxy to publish in our website an application installed in an internal server. All works fine, these are the lines that I added in proxy-html.conf: ProxyPass /app/bpv0SOCPOkqptPqO6XsIvucLzO7QXJyA/…
fonta7
  • 64
  • 1
  • 4
0
votes
1 answer

Multiple authentication together with Nginx proxy

I am trying to authenticate several locations together with proxy_pass in Nginx. The Nginx config is following: server { listen 443; server_name example.com; location /hg/ { rewrite ^/hg/(.*)$ /$1 break; …
TN.
  • 18,874
  • 30
  • 99
  • 157
0
votes
0 answers

Apache - Tomcat ProxyPass maintain session http / https

I have a standard webapp deployed in a Tomcat instance. There are some pages in this webapp that are accessed from one domain via http and some others accessed from another domain via https. I am using proxy passes like this:
gpol
  • 966
  • 2
  • 19
  • 30
0
votes
0 answers

Apache httpd proxypass cookiee

Apache running on (dummy IP) http://1.1.1.1:2222 IIS 7.5 running on http://1.1.1.1:80 Apache Config (proxying to IIS port 80) ProxyPass /a http://1.1.1.1:80/a ProxyPassReverse /a http://1.1.1.1:80/a When I hit apache's URL…
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
0
votes
1 answer

nginx rewrite / proxy_pass problems

I did some extensive searching and there are quite a few posts on nginx proxy_pass questions. I've tried modifying my problem to some of those questions with out any progress so here goes. I'm in the midst of rewriting a php based website into…
0
votes
1 answer

mod_rewrite proxy URL missing images/css

I have the following mod_rewrite using Proxy flag to redirect from one URL folder to another site subdomain as follow: The .htaccess file placed inside http://www.domain.com/test/ folder: RewriteEngine on RewriteRule ^($|/.*)…
0
votes
1 answer

ProxyPass GET parameters via image using Nginx

I have an image that is served as static file using Nginx, but I need to call it with different GET parameters. Is it possible to proxypass those parameters to different server BUT (Here is the trick) return the static image back? Thank you in…
Vitali
  • 690
  • 9
  • 29
1 2 3
45
46