As of May 31, 2023, we have updated our Code of Conduct.

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Apache websocket and web app in the same directory structure

I have a web app running in LAMP server now I want to have some features transferred to web socket without changing the directory structure which means the root directory of the web app should be ...
Engin Yilmaz's user avatar
0 votes
0 answers
17 views

Proxypass not functioning "500 internal server error"

I am annoyed at having to constantly type in mydomain.com:10000 to access an application I have. I read on here that you can set up proxypass so I can get app.mydomain.com to serve up mydomain.com:...
Ox3's user avatar
  • 1
0 votes
0 answers
13 views

Apache Gateway to Dockerized FPM Container?

I have a dockerized app with a web fpm interface (monica:fpm-alpine), and a vps on the internet. I want my vps to be an https gateway to this app. I thought I could use a virtual host include file and ...
stav_nan's user avatar
  • 101
0 votes
1 answer
51 views

Apache ProxyPass to IIS results in 503 or complete timeout

I have an IIS machine on LAN behind an Apache machine which is exposed to the internet. I have a simple proxy set up, which is intended to pass traffic to the IIS machine directly from the Apache ...
Northern Scrub's user avatar
0 votes
0 answers
55 views

reverse proxy between apache

I need to set up a reverse proxy between two Apaches. My setup looks like the following, but it's not working. <Location "/example/"> ProxyPass http://example.com/ ProxyPassReverse ...
Félix's user avatar
  • 1
0 votes
0 answers
160 views

502 Bad Gateway when using NginX proxy_pass for subdomain on different LAN server

In a nutshell, I want to host a second domain (sub.domain.com) on a different server, on the same network (192.168.1.240). I understand I have to make use of the proxy_pass, so I have this ...
Johnny Bravo's user avatar
0 votes
0 answers
56 views

Apache with shibboleth as SP and proxypass

when using RHEL8 and shibboleth as SP and passing web-requests to a docker container, we have the problem that some users generate a constant sso request ( in transactions.log ) and also apache gives ...
Marc's user avatar
  • 1
0 votes
1 answer
72 views

[Wordpress][CACHE] Fastcgi_cache or proxy_cache?

I'm preparing a server to host a classic WordPress site (lots of dynamic content). I have an apache server associated with a Nginx reverse proxy ( with the proxy_pass configuration ). I have several ...
Vold DRag's user avatar
0 votes
0 answers
143 views

Serving a wordpress site in a subfolder proxied on different server

I have a landing page and a wordpress site in a subfolder example.com -> landing page example.com/blog -> wordpress I want to serve the wordpress site on a different server. I created a server( ...
Mstf777's user avatar
0 votes
1 answer
102 views

How to reverse proxy assets from another unsecured website?

I have this situation. Current VM where this nginx config is stored has a valid ssl certificate. Inside this VM is the main application app1 served in port 80. On another port 1234 another service is ...
llesh's user avatar
  • 1
0 votes
0 answers
35 views

mDNS (unknown device IP), Ningx, with restAPI backend url redirect without changing the url in the browser window

Setup Have a set of device(s) that will be placed on various networks with various IP designations. The device does backend stuff and provides 2 "services" to the user: a create react app ...
Biaspoint's user avatar
  • 101
0 votes
0 answers
26 views

proxypass in apache to different URL path

Im new to apache/tomcat, im using httpd as proxy to my tomcat application and im trying to redirect my URL path from /xyz to /abc and Im using a http proxy to do so, can you please help with the ...
sidhartha vadla's user avatar
0 votes
0 answers
134 views

How can I proxy pass applications to locations different from "/" with Apache?

Let's say I have three applications on my server: node-red (1880), jupyter (8888) and pgadmin (5433)... I can successfully create a localhost proxy pass with them individually as the following: <...
raylight's user avatar
  • 101
0 votes
0 answers
150 views

Nginx - redirect subdirectory to a different domain without changing URL

We've set up a Matrix-Synapse chat server at the root of one domain, and we'd like to redirect the /element subdirectory to the Element client hosted at another domain, but without changing the ...
Charles Johnson's user avatar
0 votes
2 answers
45 views

Apache VirtualHost - per user ProxyPass

I'm trying to configure Apache to redirect users to different paths based on their authentication credentials (using htpasswd). I've managed to set up ProxyPass, which enables the redirection of the ...
b0d's user avatar
  • 1
0 votes
1 answer
189 views

How to remove trailing slash in nginx's passproxy?

I would like to access it as follows using nginx proxy pass. proxy.com/api/ -> proxy.com/api (connected site is example.com) proxy.com/api -> proxy.com/api (connected site is example.com) The ...
Joker's user avatar
  • 1
0 votes
1 answer
43 views

Is there a way in Nginx to remove a route specified in location from one domain and port and forward it to reverses proxy?

I want to connect example.com:80 and example.com:82 to a specific site through reverse proxy. localhost/api/buy/ -> http://example.com:80/ localhost/api/sell/ -> http://example.com:82/ I set ...
john_smith's user avatar
0 votes
0 answers
13 views

Redirect to another website but keep the original URL [duplicate]

We have an Oracle HTTP Server 12.2.1.2 that is hosting everything under a URL which for this example we'll say it's xyz.com/home/test. I have been tasked with being able to redirect users from the /...
Ress's user avatar
  • 45
0 votes
1 answer
173 views

How do I do multiple nginx reverse proxies?

I want to connect example.com/api/buy and example.com/api/sell to a specific site through reverse proxy. So I am trying to connect through localhost/api/buy and localhost/api/sell with nginx. I set up ...
john_smith's user avatar
0 votes
1 answer
140 views

nginx location proxy pass to another port path

I have two docker containers running for react (http://localhost:90) and nextjs (my-next-app.com / http://localhost:85) applications, and I have Nginx configuration similar to the following server ...
Githendra McShane's user avatar
0 votes
0 answers
206 views

Dockerized wordpress behind Nginx proxy pass on host redirects to / in admin panel after logging in

I am attempting to run Wordpress on Docker on my VPS. Since I run some additional web apps, I have setup Nginx proxy pass to route requests to each of them. As such I have setup the same for this ...
Desmond27's user avatar
1 vote
1 answer
782 views

Proxy pass on subdirectory not working

I have an api running at http://127.0.0.1:9650. For example the following is giving a json object as response: curl http://127.0.0.1:9650/ext/health I would like to make the following work at https://...
xfscrypt's user avatar
  • 113
0 votes
0 answers
294 views

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/...
DoktorMerlin's user avatar
0 votes
0 answers
3k views

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 ...
Ömer Faruk Demirel's user avatar
0 votes
1 answer
199 views

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 ...
iWizard's user avatar
  • 418
0 votes
0 answers
65 views

Nginx proxy_pass: set a default for failed dns queries

I have a quick and simple question on nginx configuration. I have a simple location with a proxy_pass directive: [...] location / { proxy_pass http://$variable:9000; [...] } [...] Usually $...
Sandro B.'s user avatar
0 votes
0 answers
82 views

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 ...
Relyativist's user avatar
-1 votes
1 answer
753 views

Keep url in address bar with a proxy reverse on nginx

I have a web application where users can create their page. The web application will generate a URL like this for each page created : https://my-domain.com/page/12345. I would like to give my users ...
fraxool's user avatar
  • 99
0 votes
1 answer
192 views

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 ...
BrotCast's user avatar
0 votes
0 answers
137 views

ProxyPass to dynamic socket path based on URL path

We’re developing a web application and any Git branch can be deployed to a branch-specific directory per click in our Gitlab CI pipeline. I want to make those branches available via Apache HTTPd ...
Daniel Böhmer's user avatar
0 votes
1 answer
2k views

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. ...
Abe Fehr's user avatar
  • 101
0 votes
0 answers
72 views

nginx proxy pass w/o changing the URL

I have the following NGINX configuration: server { listen80 default_server; server_name _; client_max_body_size 512M; root /var/www/html/; access_log /var/log/nginx/domain.access.log; ...
kvelev's user avatar
  • 1
1 vote
2 answers
10k views

Authorization Header Missing Upon NGINX Proxy Pass to subdomain

Hi I'm running Laravel on NGINX server and I would like to use NGINX reverse proxy capability as an API gateway for my Laravel and other node API application. Here are my configurations: Application ...
Kevin Yobeth's user avatar
0 votes
0 answers
10 views

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 ...
Bartłomiej Sobieszek's user avatar
0 votes
1 answer
558 views

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 ...
Fish Puki's user avatar
1 vote
0 answers
1k views

Apache proxy returns 502 with AH00898: Error reading from remote server

everyone. I'm doing a practice task to create redirect for one location using load balancer, but I cant figure out why this isnt works (getting 502). I've tried setting several env-vars and settings ...
user3134104's user avatar
0 votes
2 answers
1k views

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 <Location "/...
Lunartist's user avatar
  • 125
0 votes
1 answer
216 views

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. ...
Abraham's user avatar
  • 11
0 votes
0 answers
1k views

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 ...
geeky_boi's user avatar
0 votes
1 answer
706 views

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....
Caleb Jay's user avatar
  • 121
1 vote
0 answers
1k views

Nginx proxy_pass root to external landing page

For a new domain x.co I am setting up, I want the root (x.co) to show an external landing page without changing the url to that of the external landing page. This landing page has been created on ...
dakini's user avatar
  • 345
0 votes
1 answer
263 views

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;...
jyte's user avatar
  • 1
0 votes
0 answers
202 views

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 ...
Adrian-Bielefeldt's user avatar
0 votes
0 answers
3k views

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 ...
Tommy's user avatar
  • 101
0 votes
1 answer
177 views

Apache, Docker, Proxy - change adress in browser to 127.0.0.1

I have Apache server with few sites. I would like to run on this server docker container with Mercure and share it on the Internet. I found information on the Internet that I need to use ProxyPass and ...
Tomasz Filipek's user avatar
0 votes
1 answer
2k views

Nginx redirects to http://localhost

Brief image of the situation I can't use domain address for server_name because I can't control DNS server. I must use public IP to connect to my web server. So I set server_name to _;, but when I ...
Lunartist's user avatar
  • 125
0 votes
0 answers
481 views

Bad nginx URI redirection

I am trying to authenticate in a keycloak server however the redirect_uri doesnt come with the context (/admin/). Nginx is producing a wrong URI redirect_uri: hxxps://***.pt/auth/realms/example/...
Winter's user avatar
  • 131
0 votes
1 answer
260 views

Using Apache ProxyPass to point to express server?

I'm trying to use proxypass for a specific directory so I can point it to my express.js server https://othersite.life:1447/ Been stuck on this one for hours now. Would really appreciate some insight. ...
Panda Burgers's user avatar
2 votes
1 answer
333 views

Sending selective args from Nginx proxy to the upstreams through proxy_pass

I have a Nginx proxy configured for a Minio S3 object storage server. Can I remove some of the query params (more than one agrs) when I'm passing a request to the upstream (Minio) and keep the rest of ...
Mehdi Hamidi's user avatar
0 votes
0 answers
188 views

nginx proxypass not working for embedded links

I've an EC2 machine which is behind a ALB. Listener rules in the ALB are like IF Path is/blog* Host is abc.example.com THEN Forward to target-group-1 My nginx config looks like this: ## # Default ...
Axel's user avatar
  • 391

1
2 3 4 5
12