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

Nginx proxy by X-Accel changing method to GET

I've been running an Nginx X-Accel Proxy in development with the following config: upstream gate_proxy { server 127.0.0.1:8889; } server { listen 80 default_server; server_name default; charset utf-8; …
DanH
  • 827
  • 2
  • 9
  • 26
0
votes
0 answers

How to make ProxyPass change URLs?

I'm a currently trying to use ProxyPass to change a request to my server into a request to a different API server. However, all of the requests seem to be going to the Apache start page and not being changed at all. I had been using this guide in…
0
votes
3 answers

Redirect Apache just for specific site

is it possible to have a redirect for a specific URL. I mean the following. Redirect to an other site. On this site there are images under http://www.examples/images ProxyPass /content http://www.example/content ProxyPassReverse /content…
0
votes
2 answers

ProxyPass redirects port to directory, but does not work

I've tried searching google for an answer to this but could not find one. My server is running Debian 8 with apache2 and shellinabox. I am trying to redirect my shellinabox port to a directory by using ProxyPass. I got the port (4200) to redirect to…
Alex Kidd
  • 1
  • 1
0
votes
0 answers

Nginx proxy to S3 and still use S3 IP whitelisting

I've got a slightly strange situation where I need to proxy s3 (yes, I know, I know, not ideal, performance, etc). The issue is the buckets need to be restricted to a select number of client ips, and the list of IP's is already going to be in the…
Sk446
  • 103
  • 3
0
votes
1 answer

Send SSL requests to localhost:port using apache

I'm running a meteor application, due to restrictions I must use Apache as the webserver. There are also other existing websites hosted on the same domain under different locations e.g. https://example.com/phpsite1, https://example.com/phpsite2. The…
0
votes
1 answer

nginx geotargeting and proxpass

I have a little issue with my Nginx config prototype The Scenario is following: website visitor will visit example.com. Nginx is read out with GeoIP the current location and accept language header from a browser. this information must be referring…
Tomcat666
  • 3
  • 3
0
votes
1 answer

Two proxypass applications behind apache

I am running two web applications, one is tornado-based and the other one is cherrypy based, behind apache on an opensuse server. Both run on different domains pointing to the same IP. The two applications are running on the same server, and serving…
0
votes
1 answer

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 header on an incoming request to figure out which…
Ashesh
  • 233
  • 2
  • 13
0
votes
1 answer

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 domains) but can't get it to work with https... Here…
RomkaLTU
  • 103
  • 5
0
votes
0 answers

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 like this: location ~ /video/(.*) { set $url_args…
Digital Human
  • 801
  • 6
  • 6
0
votes
1 answer

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-test.fin.us2.oraclecloud.com/ ProxyPassReverse / …
0
votes
0 answers

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; # index index.php; location / { …
0
votes
1 answer

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 backend Front NGINX: server { listen…
Frexuz
  • 123
  • 1
  • 7
0
votes
1 answer

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 /somepath/ { proxy_pass…
devwannabe
  • 181
  • 3
  • 14