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

NGINX proxy_pass Keep-Alive without upstream directives

I have an nginx configured to dynamically proxy to another network, say ourdomain.com/legacy/otherdomain/443/examplepath?examplearg=examplevalue will be mapped to otherdomain.legacydomain.com:443/examplepath?examplearg=examplevalue and…
0
votes
0 answers

Nginx Proxy Pass Not Working

Firstly, deployed my node application on port 8080. It is working successfully. Then I installed nginx. Here is my example.com file inside /etc/nginx/sites-enabled folder. My Node application work on 8080 port so I am using proxy_pass. server { …
0
votes
1 answer

How to create a Proxy over Apache to Google Cloud and handle 403 failover?

Summary: I'm trying to proxy images over Apache to Google Cloud. In case of image does not exist, I want to forward a request to a different route which will return the image and save it on Google Cloud for the next time. Legends: Local media domain…
iWizard
  • 418
  • 3
  • 12
  • 27
0
votes
0 answers

nginx proxy_pass to other server to index.html

I have two node with corresponding domain names: server1.test.mydovps.net server2.test.mydovps.net. I want to proxy_pass with upstream from server1.test.mydovps.net to server2.test.mydovps.net and see content of…
0
votes
1 answer

Apache2: How to Proxy the same url with different ports?

we have multiple different /apex instances. now we want to proxy the requests trough an Apache2-Server like this: request for instance1: http://proxy:8080/apex -> http://apex1:8080 request for instance2: http://proxy:8081/apex ->…
BrotCast
  • 11
  • 3
0
votes
1 answer

Nginx proxy_pass to remote file

I have an nginx server where I'd like to point any route that begins with /app to a specific file. It's a single page app, so even /app/some/long/route should just return the same index.html file. location /app { proxy_pass…
Abe Fehr
  • 101
  • 1
0
votes
0 answers

Does proxypass put a toll on network traffic for streamable sources?

First of all I have never tried it and it may not be possible, but I do imagine a case when things like AWS S3 services offers files on their "buckets", and some part of security procedure is to tamper the real URL. Many systems do this by passing…
0
votes
1 answer

NGINX proxy_pass with changing URI

What I want to achieve: When I access my site "https://my.domain.com/comics", it will point to http://192.168.1.55:3322/login page which is the comic webserver login page. I will enter my password, the comic web server will then to…
Fish Puki
  • 1
  • 1
0
votes
2 answers

Apache Proxypass redirects "localhost:port" as url string instead of local service of the port

Environment Server version: Apache/2.4.6 (CentOS) I have two servers which are almost duplicates. aaa.com. and bbb.com. They have almost same Apache rulesets. aaa.com. config ProxyPass…
Lunartist
  • 125
  • 1
  • 8
0
votes
1 answer

NGINX environment-based routing

I have a single application running in multiple K8s clusters; Let's say there is a frontend service, and two backend ones. I use NGINX proxy the requests from the frontend to the backend services. Regular NGINX edition, not NGINX+. Here is the…
Abraham
  • 11
  • 3
0
votes
0 answers

Apache proxypass css/js to their specific URLs

I have two of my backend sockets running at port 9000 and 9001. Both provide a WebUI with CSS,JS and PHP. But both are different websites and when I use proxypass for both sites, how can I load css,js from the requested URL itself?
geeky_boi
  • 1
  • 1
0
votes
1 answer

Configuring NGINX with proxy_pass set up on a subdirectory pointing to a docker server, and ensuring relative URLs (.js, .css) resolve

I have nginx 1.14.0 running on Ubuntu 18.04 server. On that server, I'm attempting to self-host many different applications. My goal is to have each location exist at a subdirectory of my url, server.calebjay.com. For example, right now I'd like to…
Caleb Jay
  • 121
  • 1
  • 5
0
votes
1 answer

Nginx mirroring without "main" proxy_pass

I have a case where I would like nginx to proxy_pass queries to a backend and mirror it to one or more site. That is quite straight forward with a config like server { server_name mydomain.tld; listen 80; location…
jyte
  • 1
0
votes
0 answers

Apache ProxyPass: Connection timed out

I have my apache configured to proxy some traffic to an internal ip (127.0.0.1:8048). When accessing the internal IP, everything works fine. But when acessing the proxy, I receive: Failed to connect to matrix.DOMAIN port 8448: Connection timed out I…
0
votes
0 answers

NodeJs app working when started using npm start, but not with PM2

Very new to server stuff, sorry if this may be a noob question. Problem I am trying to run React and Node/express on a server. React does work and when I start my node app via npm start the server actually works too, meaning: Opening the website on…
Tommy
  • 101
  • 1
  • 2