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

Change Nginx proxy pass public path

I have a Python/Django API with a unique endpoint /videos running on my Debian server. The Nginx vhost looks like this: server { server_name example.com; location / { # Pass to Uvicorn/Gunicorn web server service proxy_pass…
bolino
  • 273
  • 3
  • 15
0
votes
1 answer

how to allow proxy pass with same location, with multiple context path

server { listen 80; server_name example.com www.example.com; location /consol { if ($request_method !~ ^(GET|POST)$) { return 405 "Not allowed"; } set $consolalb alb.backend; proxy_pass…
deepak
  • 1
0
votes
1 answer

Apache - ProxyPassReverse multiple entries with same host

we have apache load balancing configuration like so: BalancerMember ajp://10.10.10.1:8123 route=r1 BalancerMember ajp://10.10.10.2:8123 route=r2 ProxyPass / balancer://acluster #ProxyPassReverse /…
Michal
  • 3
  • 2
0
votes
2 answers

nginx reverse proxy - proxy_pass leads to 503 service unavailable

I have the following configuration: server { listen: 8080; location / { proxy_pass https://somehost.abc.xyz; proxy_redirect off; proxy_set_header Host somehost.abc.xyz; proxy_set_header …
kevin
  • 13
  • 1
  • 7
0
votes
0 answers

Nginx proxy pass Server runs in port 4443 with lets encrypt ssl

I am trying to proxy java application runs on port 4443 using nginx. My nginx server block is like below: map $http_upgrade $connection_upgrade { default upgrade; '' close; } upstream ovserver { server example.com:4443; } …
Madushan Perera
  • 113
  • 1
  • 6
0
votes
0 answers

Upgrading websocket using Nginx and Daphne. Only works if I put port number in address bar

To start, I am not well versed in server proxies but I can get along a bit. Here is the scenario. I am running an app within a docker container, using django, nginx, daphne, redis on an apache server. Visit the website run by apache using…
VIDesignz
  • 113
  • 5
0
votes
1 answer

Proxy to a load balancer automatically add additional path

I'm running httpd 2.4.6 on Redhat 7.9. I'm trying to use ProxyPass work with Balancer. Here is my configuration. Balancer BalancerMember http://10.10.12.103:8080 BalancerMember…
felixc
  • 11
  • 3
0
votes
1 answer

NGINX proxy_pass serving index instead of requested java-script file with status 200

I have set up a proxy_pass looking like this: location /review/app-template/16-update-to-proxy_pass/ { proxy_pass http://$server_name:54341/review/app-template/16-update-to-proxy_pass/; # proxy_set_header Host $host; #…
Felix B.
  • 105
  • 3
0
votes
1 answer

Ensuring Redirects on a Proxied Server work correctly

So I am currently trying to understand what configuration is a good idea for an nginx proxy. I am a bit stuck on the following two options: proxy_set_header Host $host; proxy_redirect default; (which is the default anyway and thus superflous) If I…
Felix B.
  • 105
  • 3
0
votes
0 answers

NGINX UDP Proxy Pass to HTTP

I built a NGINX reverse proxy where I listen for UDP traffic on port 53 and pass it on to an HTTP endpoint with modified headers. Once the headers are modified, I send the packet to the target. http.conf http { include /etc/nginx/mime.types;…
Brundlfly
  • 1
  • 1
0
votes
1 answer

How to configure nginx proxy_pass to serve http images from https website?

I have django website and remote image storage. I want to proxy for example /images/ from django to server 10.0.0.40/images/. location /images/ { proxy_pass http://10.0.0.40/images/; } No errors in nginx. But django returns Page not found…
Victoria
  • 1
  • 1
0
votes
1 answer

Reverse proxy blog.example.com to example.com/blog using Apache

EDIT - Added Vhosts config for the target subdomain. I am trying to reverse proxy blog.subdomain.com to tld.com/blog. The current config I have right now redirects to the subdomain rather than render the data in the TLD itself. I am using apache2 on…
Sahil
  • 133
  • 1
  • 6
0
votes
2 answers

Nuxt.js program not running on the Main Domain with Apache in Ubuntu

I have a Nuxt.js program that I run on Apache in Ubuntu OS. When I port it to a subdomain like www.example.com, it works fine; But when I port it to the main domain such as example.com, my program does not run. Examples of Ubuntu Server and Apache…
0
votes
1 answer

nginx proxy to node and ssl on vue/node

EDIT: Error.log 2021/02/23 07:30:07 [warn] 233791#233791: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/nginx/selfSignedCerts/example.crt" 2021/02/24 07:26:48 [error] 233793#233793: *17 connect() failed (111: Connection…
why me
  • 113
  • 1
  • 6
0
votes
0 answers

Redirect Nginx to a Wordpress running behind apache2 server

I have a unique problem that I don't how to put in and I can't change the situation (orders from above!). Please read it all before down-voting me. In this scenario, I have two servers, Server A and Server B. Server A is using Nginx to deliver APIs.…
O_o
  • 111
  • 4