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

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 configuration on the first server…
0
votes
0 answers

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 a lot of errors in…
Marc
  • 1
0
votes
1 answer

[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 ideas to advance my NGINX configuration: A)…
0
votes
0 answers

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( blog.example.com) and moved all files and databases…
0
votes
1 answer

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 served app2 in a docker container. I managed to…
llesh
  • 1
0
votes
0 answers

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 user interface (at x.x.x.x:5000) for the novice user and a…
Biaspoint
  • 101
  • 1
0
votes
0 answers

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 config I need to use, When anyone access the url…
0
votes
0 answers

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 browser's URL. We've previously used an nginx…
0
votes
2 answers

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 request to a custom path, however all of the users…
b0d
  • 1
  • 1
0
votes
1 answer

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 first one went well. The second one raised a 404 error or…
Joker
  • 1
  • 1
0
votes
1 answer

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 up the config file as below. server { listen …
0
votes
0 answers

Redirect to another website but keep the original URL

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 /test to another external website (let's say…
Ress
  • 45
  • 1
  • 2
  • 8
0
votes
1 answer

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 the config file as below. server { listen …
0
votes
1 answer

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 { listen 443 ssl http2; ssl on; …
0
votes
0 answers

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 Wordpress setup by proxy passing /blog to the…
Desmond27
  • 1
  • 2