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
1 answer

ProxyPass Prompting for Username and Password

In my secure apache2 site file, I have NameVirtualHost 192.168.1.1:443 SSLStrictSNIVHostCheck off ... ProxyPass /subdirectory http://another.site/anotherdir/ ProxyPass /subdirectory/…
divided
  • 367
  • 1
  • 4
  • 11
0
votes
1 answer

Apache Reverse Proxy Config

I am still quite a newbie with Apache and its configurations and had an issue with my web server where I am serving Redmine a ruby application and also static content. Apache 2.2 Currently have the following proxies set up: ProxyPass /portal…
0
votes
1 answer

NGINX conditional proxy pass

I hope some guru can give me some help outta here since I don't know anymore where to look or what to do. I have a single petition from a client that is being a little tricky to me. My scenario have two machines, one for NGINX and other for Apache.…
lgg
  • 141
  • 2
  • 11
0
votes
1 answer

nginx and apache - multiple virtual hosts on the same IP - correct configuration

I am trying to run nginx as reverse proxy for Apache on the same machine and serve different websites from it. My question is - is it possible to add virtual hosts only to nginx and have it pass the url/hostname/path, etc to Apache automatically…
YemSalat
  • 145
  • 1
  • 7
0
votes
2 answers

Using proxypass with cacti breaks in page layout

I'm trying to setup proxypass to map http://status.site.com/cacti to http://othersite.com:8080/cacti, but without mapping the whole /. Here the conf: ServerName status.site.com ProxyRequests Off …
vobelic
  • 193
  • 1
  • 5
  • 17
0
votes
1 answer

nginx proxy_pass and docker - I don't want port number in address bar

On mywebsite.com, I have running docker container with wordpress. I started it as docker run -p 8000:80 --name docker-wordpress-nginx -d and docker ps shows 0.0.0.0:8000->80/tcp and on my host I have nginx running with server { listen …
0
votes
1 answer

Reverse proxy settings ignored

After switching from Windows 8 Apache 2.2 or 2.4 (don't remember), 32bit to Apache 2.4.9, 64 bit, Windows 8.1 my proxy settings are ignored. All requests end up going to the default C:/wamp/www. The hosts files has IP addresses for the second…
oxygen
  • 129
  • 1
  • 1
  • 13
0
votes
1 answer

Apache losing VirtualHost configurations "randomly"

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately using ProxyPass directives to our various backend…
Chase
  • 472
  • 4
  • 14
0
votes
1 answer

ProxyPass with Cloudfare

For some reason I need to access https://www.upwork.com/api through reverse proxy with Apache through http://headbyte.com/api . I created following entries in Apache config: SSLProxyEngine On ProxyPreserveHost On ProxyPass /api…
0
votes
1 answer

How can I accept responses from an API with multiple subdomains?

I write website prototypes that use data from a server I do not control, the response is in JSON and the server does not support JSONP, thus I have problems with CORS as I am developing in the client only. I have managed to get around this by…
Blaise
  • 3
  • 1
0
votes
1 answer

Apache Multiple ProxyPass 404

I am trying to setup a proxy through Apache 2 on Ubuntu 14.04. I have two proxies that I want to use. One is for a Ruby Thin server running locally. The other is for a phone statistics page. I have configured a conf file with the…
t3h-chipmunk
  • 29
  • 1
  • 3
0
votes
0 answers

X Forwarded For Showing Origin IP

My X-Forwarded-For header is showing my origin IP. I am routing traffic via Cloudflare and I know it's touchy with that header. I changed it to MYNAME-Forwarded-For just to check and it still shows the origin. Does anyone have any experience seeing…
HectorOfTroy407
  • 135
  • 1
  • 5
0
votes
1 answer

Nginx: location regex not working

i'm getting trouble with my regex don't know what is wrong with it. it's returning a URi with orls/f instead of orls/f?p=4550. When i pass https://secure.toto02.com/orls/myservice/f?p=4550 my conf file is below location ~…
skip87
  • 195
  • 2
  • 9
0
votes
1 answer

Port 80 to port 8080 Redirection: Apache with Proxypass Too Slow Whereas Accessing xyz.com:8080 directly is very fast

We are facing a Strange Problem....We have a busy server...and the response time is going about 1 Minute Per Request(very slow).....which is running in front of Tomcat.....if we are accessing site with xyz.com:8080 Its super fast(1 Req/Sec).....and…
gopal gupta
  • 1
  • 1
  • 1
0
votes
0 answers

apache2 point folder to subdomain

I need to point domain.com/chat to chat.domain.com. So, when I access domain.com/chat I want to see the same thing as when I access chat.domain.com. My virtualhost for this looks like below. As you can see I have tried doing it with proxypass, but I…
George
  • 101
  • 2