Questions tagged [reverse-proxy]
A reverse proxy server usually refers to an HTTP accelerator or load-balancer which proxies requests on behalf of the actual clients to one or more backend HTTP servers.
5,051
questions
0
votes
1
answer
14
views
Nginx Reverse Proxy Configuration Questions (CloudFront --> ALB --> Nginx --> Apache)
I'd like to put Nginx in front of an Apache web server cluster - mostly to be able to use the 444 response to drop unwanted connections for specific IP addresses and subnets but also for its caching ...
1
vote
0
answers
20
views
Relative path to scripts when proxying becomes path from root
I'm having issues with how browser resolves relative path to scripts.
The setup is that I have simple go server that serves one html page from root "/" location, the html page contains ...
0
votes
0
answers
11
views
Apache reverse proxy, same session with server for same client connection
I have a use case in which my java server use session id to keep track of user, when any user login in the server, it saves its session id and requests after login are executed for the user who is ...
0
votes
0
answers
10
views
Logout from Keycloak and external IDP
I am using Keycloak as a OIDC intergrate with reverse proxy(apache httpd). My Keycloak serivce have 2 identity provider, 1 is Ping Federate and 1 is Azure Active Directory.
When I logout from my ...
0
votes
0
answers
12
views
Route 53 stop working "DNS_PROBE_FINISHED_NXDOMAIN"
I have an EC2 instance. A year ago I linked it to a domain. I used Route 53 and I remember that I used at some point Certbot for encryption and I used namespaces that I copied from the AWS console and ...
0
votes
1
answer
20
views
How to use Apache httpd as a reverse proxy with Docker Compose and the "whoami" container?
I'm trying to set up a Docker Compose environment that includes an Apache httpd server and a "whoami" container, and I want to use the Apache httpd server as a reverse proxy to route ...
0
votes
0
answers
16
views
Reverse Proxy to Apache to Nextcloud / The port is incorrectly being inserted into the URL
I feel that my problem is somewhere in the nextcloud setup, or the apache setup that routes to it, but I will put everything on the table here just in case I'm mistaken.
My router accepts requests via ...
0
votes
0
answers
28
views
Proxy auth requests to firebaseapp.com for Firebase
I'm trying to setup reverse Proxy auth requests to firebaseapp.com for Firebase as it says in the documentation (https://firebase.google.com/docs/auth/web/redirect-best-practices#proxy-requests). I am ...
2
votes
2
answers
52
views
nginx: Regex match the middle of a URL and also the ending?
I have an app on a domain that is set by a developer to proxy at certain URLs:
example.com/browser/123foo0/stuff.js
for example, where 123foo0 is some random key. The key may also change length in ...
0
votes
0
answers
16
views
Microservice architecture with Auth Server and Proxy using .net core
I want to develop a microservices architecture with an OAuth server (using openiddict). My front-end applications are Android and Angular. All other protected APIs should be behind a proxy as their ...
0
votes
0
answers
13
views
Why when using sonarqube-webhook behind a reverse proxy is giving HTTP Status 404 – Not Found?
I have a Jenkins server behind a Nginx reverse proxy and I'm trying to use the sonarqube-webhook plugin. When I try to access by ip everything works, but when I try by reverse proxy not.
nginx.conf
...
-1
votes
0
answers
21
views
How do I run a HTTPS Socket.io reverse proxy server with HestiaCP, NodeJS, and Nginx
I have a nodejs https-server running on port 3000, I have a reverse proxy set up to point it to a subdomain. the https-server hosts socket.io applications. I'm assuming to use wss:// i need to use ...
0
votes
2
answers
43
views
host not found in upstream with nginx docker compose
I know this question has been asked many times however, none of the solutions have worked for me.
I am trying to dockerize my angular app and node js backend using nginx.
What I have done is that I ...
0
votes
0
answers
6
views
Load balance site with Nginx
I have a rails 4 application served by nginx that is getting more traffic than the server can handle so i want to run a second instance of that app on another server and load balance the traffic ...
0
votes
1
answer
21
views
Apache Reverse Proxy Config?
can someone tell me what is wrong with my reverse proxy setup? I can successfully auth with ldap but I just get the Apache2 Default Page
I tried putting the ProxyPass and ProxyPassReverse setting into ...
0
votes
1
answer
30
views
Load Balancing Config with Yarp not working?
I am working on porting over from nginx to Microsoft's YARP for my reverse proxy needs. Its going well enough. However, I am having my doubts about load balancing. Here is the config example from ...
0
votes
0
answers
23
views
nginx: [emerg] bind() to [ip]:443 failed (99: Unknown error)
Absolute Nginx beginner here. I am trying to reverse proxy a HomeAssistant VM to [hostname]:443. However, when I try starting Nginx, it gives me the error:
nginx: [emerg] bind() to [ip address]:443 ...
0
votes
1
answer
18
views
Static web content not accessible after NGINX rewrite
I have a centos7 vm in which I deployed two spring services : tasklist (8082) and operate (8081), those two services are available via browser (I can go to http://[host-ip]:8081 (host-ip : vm ip ...
0
votes
1
answer
10
views
Nginx running in Docker unable to proxy requests to local network HyperHDR server
I'm unable to proxy requests via Nginx to a server running on local network. The requests aren't going through and eventually are timed out by the requester.
I'm attempting to call a json-rpc API (...
0
votes
0
answers
28
views
Can't access to server by name or localhost in Nginx as reverse proxy
I have a docker-compose file as below:
version: '2.2'
networks:
Platform-Network:
name: IoT-Network
volumes:
Platform:
Nginx:
...
...
services:
Platform:
container_name: node-red
...
0
votes
0
answers
17
views
YARP and Microsoft AD returns invalid_request: the provided value for the input parameter 'redirect_uri' is not valid
I am trying to get YARP and Microsoft.Identity.Web to play together.
But I am getting:
invalid_request: the provided value for the input parameter 'redirect_uri' is not valid
it works if I connect the ...
0
votes
0
answers
11
views
(How) can firebase hosting be used as reverse proxy?
Tools like posthog require to setup a reverse proxy to be used properly, and with Vercel for example, this can be easily done with :
{
"rewrites": [
{
"source": "/...
0
votes
0
answers
17
views
how to NGINX Proxy to wordpress website blog.example.com to example.com/blog
I have a statically served site (using nginx). I want to host a wordpress blog (hosted on a different instance) under /blog folder.
location ^~ /blog/ {
rewrite ^/blog/(.*)$ /$1 break;
...
0
votes
1
answer
17
views
Two reverse proxies on the same domain, diferent path
I'm trying to configure two different reverse proxies on the same machine with diferent paths. They are set to proxy SonarQube (localhost:9000/sonar) and Jenkins (localhost:8080/jenkins).
I'm trying ...
1
vote
0
answers
36
views
I want to deploy locally a SpringBoot app on Ubuntu Terminal with Apache Server 2, but it encounters an error
Apache conf:
/etc/apache2/sites-available/andyrojaslab08.tk.conf
<VirtualHost *:80>
ServerName andyrojaslab08.tk
DocumentRoot /var/www/andyrojaslab08.tk/repo333
...
0
votes
0
answers
44
views
Why is Traefik unable to generate ACME certificates for my domains?
Issue obtaining ACME certificates in Traefik for TLS (SSL) setup
I'm encountering difficulties while trying to obtain ACME certificates for TLS (SSL) setup using Traefik. I've followed the Traefik ...
0
votes
0
answers
25
views
Postgres - TCP/IP connection refused over reverse proxy
Postgres - TCP/IP connection refused over reverse proxy
I am trying to remotely access a postgres DB (called postgres, with the postgres user) on a windows server <FQDN_1>, via a reverse proxy &...
1
vote
0
answers
57
views
Modify data before sending to remote server using proxy server
I need to create a proxy server in Golang that acts as an intermediary between a client and a remote MySQL server. The client connects to the proxy server and provides a request without server ...
0
votes
0
answers
11
views
Reverse proxy using Tomcat 10 url-rewrite RewriteValve
I am trying to implement a reverse proxy using tomcat 10 url-rewrite. I have extended RewriteValue class and overridden invoke().
public class DynamicRewriteValue extends RewriteValve{
@Override
...
1
vote
0
answers
58
views
SSH over HTTPS to a server behind a reverse proxy
How do I ssh over https through a reverse proxy? I have a docker container running a sshd at port 2222. I can ssh into the container locally with ssh -i id_rsa -p 2222 10001@localhost just fine.
Once ...
0
votes
0
answers
12
views
Apache traffic server minimum config return 404
I am following the instruction mentioned in https://docs.trafficserver.apache.org/en/9.1.x/getting-started/index.en.html#final-configurations
I created files as below
records.config
$ sudo cat /etc/...
0
votes
0
answers
37
views
nginx return localhost instead of domain in google oauth2 callback
I have web server with a reverse proxy to a subdomain.example.com using nginx to host a nodebb forum. Everything works fine until I try to set up google oauth 2 for nodebb. The redirect url is http://...
0
votes
0
answers
22
views
Is there a way to retrieve the proxied destination of a request before the request is fulfilled? (YARP)
Using YARP as a reverse proxy in our API gateway, an authorisation header is applied to each request through a middleware.
E.G.
private void SetProxyPipeline(IReverseProxyApplicationBuilder ...
0
votes
1
answer
23
views
serve 404 page of the reverse proxy site instead of NGINX's 502
A website is deployed to the server running on port 8000. This is a NextJS based website running in server mode via yarn start command.
The NextJS server is behind an NGINX server. (using NGINX as a ...
0
votes
0
answers
20
views
Proxying response from Location header on Apache Httpd as if it was normal resource
I have Apache Httpd configuration which is used as standard reverse proxy. I add some headers and forward request to AWS API Gateway (api_gw_vpc_endpoint)
<Location /server>
RequestHeader set ...
0
votes
1
answer
27
views
How to route from one nx app to another nx app on a different localhost port with react router dom
I have a login page in an NX app called admin, when the login is successful I want to redirect the user to my other NX app terminal running on a different port. Admin is running on localhost:4200 and ...
0
votes
1
answer
45
views
Configure Strapi to work with SSL (with proxy)
I'd like to set up Strapi so that mywebsite.de/api is redirected from Strapi's default port :1337.
But at /api, my backend is not accessible.
My frontend (on Gridsome Site Generator) is set to port ...
0
votes
0
answers
19
views
Keycloak 20.0.0 with NginX
Im using keycloak version 20.0.0 in my application. There I want to run keycloak on Nginx, I configure reverse proxy as follows
location /auth {
proxy_hide_header Access-Control-Allow-...
-2
votes
0
answers
20
views
Expose Kubernetes Server without opening a port
I want to expose a Kubernetes Server to the Internet, but I don't want to open a port on my home network. I know about CloudFlare Tunnels, etc., but the thing is I need to route a wildcard domain (*) ...
0
votes
0
answers
74
views
Vaadin Push Websocket connection failed
I'm using Vaadin Flow 14.10.0 with @Push annotation on main ApplicationLayout (Vaadin Spring Boot Deployment).
The application is deployed behind and Apache Reverse Proxy with the following ProxyPass ...
0
votes
0
answers
20
views
Reverse Proxy on a URL with arguments (Mod Rewrite)
I need to reverse proxy URLs with the format test.domain.com/search/web/jsp/apps.jsp?url=https://test-data.domain.com/exec.nsf to test2.domain.com/exec.nsf
With the following code I'm managing to do ...
-1
votes
0
answers
49
views
Pipeline two reverse proxies responses into single response in Go
I want to pipeline two responses from the reverse proxies and respond to the original request with content from the first and then from content from the second one.
With ServeHTTP the method it only ...
0
votes
0
answers
14
views
Wildfly conditional reverse-proxy
i am using wildfly as webserver to host my REST interface written in java.
i am already able to use wildfly as reverse-proxy with the following code in standalone.xml
my question is: how to use a ...
0
votes
1
answer
18
views
Securely connecting two applications with mTLS using Nginx
I have two applications running on different hosts that communicate over TCP. I want to implement encrypted TCP connections with client authentication (mTLS) between them, but I don't want to ...
0
votes
1
answer
45
views
Combining multiple files in proxy response
I want to create a proxy server that automatically responds with the next video file when it detects one has ended. It can happen that within one request it needs to send information from two ...
2
votes
0
answers
77
views
Streaming an API proxy in Vapor
I'm trying to make a proxy for the openAI chat api in Vapor, so that my iOS app won't need to know the api key. The thing that makes this a bit tricky is that I want to use streaming: stream=true. So ...
0
votes
0
answers
60
views
Putting a Flask app with gunicorn behind Caddy reverse proxy
I have a Flask app which I am running with gunicorn. It works by itself. I can reach the app at localhost/ and go to other links from there. The app assumes its root path is / and generates all ...
0
votes
0
answers
21
views
Problem with nginx as reverse proxy and few vps with docker
I have so much problem to correctly configure nginx, which is working as reverse proxy.
Server Architecture:
Nginx Reverse Proxy (with public IP, and gate for private network)
VPS with java as ...
0
votes
0
answers
66
views
Nextjs as a reverse proxy for socket.io connection
I am using next 13 (with app dir), just doing some experimentation. I have an un-authenticated API gateway sitting behind (not publicly accessable) the NextJs server that has a socket.io ...
0
votes
0
answers
46
views
Using k3s Traefik Installation to Reverse Proxy External Apps/Webpages
TLDR: I cant use Traefik running in k3s to reverse proxy application not in k3s, i.e. Portainer running on Synology
I'm currently in the process of migrating away from UNRAID and have built out a 6 ...