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
13 views

OHS and ProxyPass and RewriteRule / RedirectMatch

i've setted up this virtualhost, <VirtualHost *:443> ServerName test.domain.org DocumentRoot "/u02/config/www/tst-12c" RewriteEngine on RewriteCond %{...
Red's user avatar
  • 1
0 votes
1 answer
37 views

Apache referrer based reverse proxy path rewrite

I have a virtualhost that is a reverse proxy based on a path param "xmg" <VirtualHost *:443> ServerAlias some.example SSL... ProxyPass /xmg http://localhost:5553/ ...
user22866's user avatar
  • 151
0 votes
1 answer
138 views

NGINX proxy pass to Node.JS server SSL handshake failure

I want to setup a reverse proxy with NGINX to my express.js server, but when connecting to the website i receive a Cloudflare 525 SSL handshake failed error. This is my NGINX configuration file # ...
HelloWorld's user avatar
0 votes
1 answer
48 views

NGINX domain conf file, how to redirect 301 and proxy_pass

I'm pretty new to nginx and I'm trying to configure a redirect from http to https and, in the same file, set as location a proxy_pass to the desired URL. My domain.com file is this: server { ...
Alessandro75's user avatar
0 votes
0 answers
66 views

How Do You Block & Unblock Internet Sites in Apache?

How do you block all internet sites and only let some sites through in Apache Proxy? I want to block all sites except some (e.g. updatemicrosoft.com, .windowsupdate.com , google.it etc.) I have ...
Tomas's user avatar
  • 1
0 votes
0 answers
198 views

Set up proxy for Nextjs and WordPress blog

Thanks in advance. I am new to server setup. So pardon me If I used the wrong words. I am setting up an Ubuntu server to host Nextjs and WordPress blog on the same server. I have to set up Nextjs on ...
Sandeep Solanki's user avatar
0 votes
0 answers
146 views

Apache2 folders redirect to IPs

I have installed Apache/2.4.56 (Debian), a noip URL and severals LXC containers. I need to access to the web apps inside the LXC containers: example.com/app1 -> LXC container 1 (with Zend2) example....
Lethal's user avatar
  • 1
0 votes
1 answer
167 views

Use ProxyPass only if remote address is in subnet

I have a php application running with a mostly default config that lives in var/www/html/app: <VirtualHost *:443> ServerName myhost.com DocumentRoot /var/www/html <Directory "...
GammaGames's user avatar
0 votes
0 answers
112 views

(Nginx proxy) Replace host in response in headers and body

It's possible in nginx to replace "Host" header in request. server_name myexample.com; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ...
Semyon Bayandin's user avatar
0 votes
1 answer
95 views

Get Apache to serve example.com from a directory and all subdomains *.example.com to be ProxyPass / http://localhost:8050

Running Apache 2.4.58 I need to get Apache to serve example.com from a directory and all subdomains *.example.com to be ProxyPass / http://localhost:8050 (so they can be served from another web server ...
Tom Kaiser's user avatar
1 vote
1 answer
131 views

Target app assets not loaded with nginx proxy_pass

I have a basic nginx proxy running on http://127.0.0.1:8080. This is the nginx.conf: events {} http { server { listen 8080; server_name 127.0.0.1; rewrite_log on; ...
Asmaa's user avatar
  • 31
1 vote
1 answer
309 views

Serve multiple apps with nginx proxy_pass

I'm trying to use a basic nginx reverse proxy to access three different apps, each running inside a docker container. The nginx reverse proxy is served on http://127.0.0.1:8080 and i want to have the ...
Asmaa's user avatar
  • 31
0 votes
0 answers
68 views

Mask Url from path to subdomain using NGINX

I want to achieve url rewrite as such: https://documentation.domain.com/login to https://app.domain.com/login https://api.domain.com/login to https://app.domain.com/login , any sudomain with url {...
Jason The Dynamite's user avatar
0 votes
0 answers
138 views

NGINX Rewrite path to subdomain with cloudflare results in Too many redirects

I want to achieve url rewrite as such: https://documentation.domain.com/login to https://app.domain.com/login https://api.domain.com/login to https://app.domain.com/login , any sudomain with url {...
Jason The Dynamite's user avatar
0 votes
1 answer
135 views

nginx GET request with internal server name instead of public domain name

I have set up a nginx reverse proxy with Ubuntu Server 22.04 LTS. The Abacus web application should be accessible with https://abacus.contoso.com from the internet. The internal server name is srv06. ...
Fabmic96's user avatar
0 votes
1 answer
242 views

Apache VirtualHost Same domain for Front and API

I have a multi-tenant application that is resolved using subdomains with the pattern *.localhost. The front-end of the application is accessible at http://localhost:3000/. To achieve the desired ...
Gogo's user avatar
  • 101
0 votes
1 answer
208 views

Apache module proxy_html not working

I have a Joomla 4 site running in a Ubuntu 22.04 server (hostname = web-02). The Internet facing web server running in a Ubuntu 20.04 server (hostname = web-01) has configured as a reverse proxy for ...
cpliu338's user avatar
  • 111
0 votes
0 answers
63 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
186 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
52 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
149 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
245 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
514 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
1 answer
156 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
1 answer
640 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
1 vote
0 answers
393 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
  • 111
0 votes
0 answers
224 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
58 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
345 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
117 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
1 answer
713 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
186 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
2 votes
1 answer
3k 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
  • 123
0 votes
0 answers
716 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
5k 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
336 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
  • 422
0 votes
0 answers
312 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
1k 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
528 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
1 answer
3k 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
1 vote
2 answers
17k 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
11 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
651 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
2k 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
2k 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
688 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
  • 111
0 votes
0 answers
2k 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
1k 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
2k 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 ...
ahron's user avatar
  • 375
0 votes
1 answer
404 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

1
2 3 4 5
12