Questions tagged [nginx-reverse-proxy]
The nginx-reverse-proxy tag has no summary.
333 questions
0 votes
0 answers
45 views
Get 404 error for rewrite URL with query string
I cannot change my URL e.g. /dfdrgr.php?page=dfgfg to /rrrr. I’ve a .txt file contained e.g. /rrrr /dfdrgr.php?page=dfgfg; and a redirected.map file contained: # Redirects map file – auto generated ...
-1 votes
0 answers
107 views
Pi-Hole Can't Use HTTPS With Nginx
Why can't PiHole connect with my nginx reverse proxy? I log into https://dns.thearknet.me/admin and it defaults back to HTTP. All of my other servers can get HTTPS using the Nginx server and ...
0 votes
0 answers
33 views
Azure Container App Nginx Proxy 422 Invalid Response Error
I have an Azure Container App that is running Nginx as a Proxy to an API Server server { listen 80; server_name _; root /var/www/html; access_log /var/www/html/access.log; ...
0 votes
0 answers
149 views
SSL Certificate Doesn't Work on Nginx Proxy Manager
I created the following CNAME DNS in my CloudFare account. Type Name Content Proxy Status CNAME * maindomain.me DNS only CNAME maindomain.me ...
0 votes
0 answers
143 views
Prestashop behind Nginx reverse proxy
I want to run Presta behind an Nginx reverse proxy. Presta 8.2.1 is running on Nginx 1.26.3. I’ve prepared: Reverse proxy config: https://pastebin.com/Xcx2s93f Presta (backend) config: https://...
0 votes
1 answer
129 views
Vulnerabilities in ingress-nginx controller v1.12.2
I was tasked with using ingress-nginx controller v1.12.2 on a Kubernetes Cluster for my org. I scanned it for vulnerabilities with Trivy (github action), and got this report - ┌───────────────────────...
0 votes
0 answers
52 views
NGINX - API Manager Transport enable (107: Transport endpoint is not connected)
I'm trying to configure a WSO2 API Manager (v4.5.0) cluster behind an NGINX reverse proxy. Below is a simplified view of my NGINX config: upstream sslapi.am.wso2.com { server srvtstwso201.<...
0 votes
1 answer
56 views
nginx to fwd directory uri
Need one help to configure nginx to redirect url to minio. Ex I want to use url like http://localhost:80/myprojects/dir1 to fwd to http://localhost:9000 Below is my conf file. server { ...
0 votes
1 answer
349 views
Using nginx as reverse proxy as single access point to grafana and mlflow with subdomains
I want to host several docker services on a VPS and secure everything using a nginx reverse proxy as single entry point for the publicly available services. The VPS IP is associated with a domain name ...
0 votes
1 answer
343 views
Cannot change domain for cookie returned by OAuth2-Proxy
In this project I try to add SSO support, using Nginx & OAuth2-Proxy, to an existing project without making any modifications to that project - due to this HARD constraint the frontend and backend ...
0 votes
1 answer
139 views
Same DNS name for multiple application servers with replication or load balancers or making a service highly available?
tw5@renegade:~$ dig @192.168.57.1 tw5.helpdesk.com ; <<>> DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> @192.168.57.1 tw5.helpdesk.com ; (1 server found) ;; global options: +cmd ;; ...
0 votes
1 answer
93 views
Can't point nginx to correct PHP app directory
I am trying to setup a simple development endpoint for a php backend/api implementation with nginx and fastcgi. Since I have another project also running in my server on port 80, I have decided to ...
0 votes
2 answers
160 views
variabilized proxy_pass gives 502
When I use this syntax, my nginx redirects correctly to myapi : location /myapi { proxy_pass http://service-flask-api.backnamespace:80/myapi; } But when I use this syntax, my nginx returns "...
0 votes
0 answers
56 views
NGINX Plus Live Activity Monitoring /api/ Conflict with Application /api/* Routes
NGINX Plus Live Activity Monitoring /api/ Conflict with Application /api/* Routes — How to Handle? Body: I’ve enabled NGINX Plus live activity monitoring by configuring the following block in my NGINX ...
0 votes
1 answer
151 views
nginx and apache reverse proxies
I have two hyper-v vm's setup both running ubuntu 24.04. VM1 has a basic website and collabora done with apache and then an apache reverse proxy serving those two plus exchange 2019 and nextcloud-that'...
0 votes
1 answer
148 views
Real_IP and conditional logging working for Bookworm but not Buster
Updated: I have two Pi4B web servers running nginx located behind a proxy server (RPS) also running nginx. Web server 1 (WS1) was build several years ago using the Buster Debian OS. Web server 2 (...
1 vote
1 answer
107 views
Nginx and forward SMTP, POP/IMAP to MS Exchange
Everyone! Introduce: I Have some devices, which work only with TLS 1.1 version. New version MS Exchange doesn't include it and I'm searching a solution. I found information that Nginx can accept ...
0 votes
0 answers
210 views
(Nginx+Angular+Docker+VPS) Mixed Content: web page loaded over https requested insecure endpoint; content must be served over HTTPS
Attention throughout description I replaced: my current domain -> my.example.com actual server ip -> server-ip Im new to deploying web apps. I've managed to deploy my angular web app over https ...
0 votes
0 answers
112 views
Nginx reverse-proxies some routes but not others even with catch-all
Here's the config: server { access_log /var/log/nginx/synapse.access.log; error_log /var/log/nginx/synapse.error.log; server_name synapse.foo.bar; #location ~ ^(/_matrix|/_synapse/client|...
0 votes
0 answers
120 views
Getting error while hitting my api using domain - Error 502 Bad Gateway
My backend is in nodejs, hosted on VPS, using nginx for reverse proxy. After certain recent merges I have started getting 502 Bad gateway error <html> <head> <title>502 Bad ...
0 votes
0 answers
53 views
HA Proxy Route based Config on different port
I have below haproxy config. frontend main bind :443 ssl crt /etc/haproxy/example.uat.pem ciphers DEFAULT:!LOW:!RC4-SHA:!RC4-MD5:!DES-CBC-SHA:!DES-CBC3-SHA no-sslv3 no-tlsv10 no-tlsv11 bind ...
0 votes
0 answers
185 views
Nginx proxy doesn't send auth bearer token
I have a microservices project and i used an nginx proxy as a common gateway for all of the request.Most of the requests need a bearer token to work and i have to pass that to one of the backend ...
0 votes
1 answer
249 views
How to Configure NGINX to Listen on the Same Port for HTTP and HTTPS and Route to a tomcat server?
I am trying to configure NGINX to listen on the same port (port 8400) for both HTTP and HTTPS traffic and redirect them to backend server with 2 connectors based on whether the incoming connection is ...
0 votes
0 answers
99 views
nginx + docker compose + martin: reverse proxy Bad Gateway but accessible directly
I'm trying to set up what I thought was a pretty basic reverse proxy for testing out a martin server locally (only for local dev). This is what I've got so far but I get nothing but a 502: Bad Gateway ...
0 votes
1 answer
504 views
Nginx - Intercept only 404 from backend and show custom error page
I have some problems with a specific setup that I want to achieve: Summary: Nginx acts as a reverse-proxy Backend running at http://localhost:8080/ Nginx may return HTTP 403 ($block_access = true), ...
0 votes
0 answers
144 views
Handling in a reverse proxy configuration, status code 419 is replaced with 500
I have touched a little the template file with which the nginx configurations are generated, the result is the following: # from nginxproxy/nginx-proxy # uknp.dock/ upstream uknp.dock { # ...
0 votes
1 answer
235 views
How can I simplify my Nginx reverse proxy configuration for multiple environments without using a resolver?
I'm deploying Nginx in an OpenShift (OCP) pod as a reverse proxy for our microservices. Our setup includes four environments: Prod Blue: myproject.mycompany.com Prod Green: myproject-green.mycompany....
0 votes
1 answer
397 views
Certbot renew SSL certificate behind a NGINX Gateway fails to authenticate on secondary validation
I have a docker container running a NGINX website behind a docker container running a NGINX Gateway. Both on the same host. Using URL 'my-site.com'. The webroot files are in a folder on host that are ...
1 vote
2 answers
204 views
How can I redirect a part of a path to a subdomain with NGINX?
I have server A which takes https requests like: https://example.com/CHANGEME/example/index.html I have Server B which takes: https://CHANGEME.example.com/example/index.html The client should only ...
0 votes
1 answer
1k views
Keycloak behind Nginx Proxy Manager giving 403 forbidden when trying to access login page
Setup: Keycloak is running in docker container in Ubuntu VM on proxmox Nginx Proxy manager is running in LXC on proxmox Advanced configuration in NPM: proxy_set_header Host $host; ...
0 votes
0 answers
114 views
Nginx docker reverse proxy recursive loop when proxy_set_header Host is set
I am attempting to setup a nginx reverse proxy in a docker container on a windows host machine for development. It's meant to reflect how the production services hang together. I am currently running ...
0 votes
0 answers
73 views
Nextcloud docker-compse with nginx-proxy nginx 503
I'm attempting to run Nextcloud with https support and I have an existing TLS certificate and key. I've modified the docker-compose example here to support this, and I have the TLS certificate and ...
0 votes
0 answers
74 views
NGINX load balance sticky sessions on different domains via multiple ports to same system?
This is what I try to achieve: User1 -> first.example.com:443 -> NGINX -> server1:443 User1 -> second.example.com:6102 -> NGINX -> server1:6102 All connections shall be sticky and ...
0 votes
1 answer
125 views
nginx reverse proxy works only when location is root
I'm setting a reverse proxy in front of a service using Podman on Fedora. The problem is when I set the location to / everyting works fine but when I add a subdirectory like /read/ I get different ...
1 vote
1 answer
329 views
nginx appears to be ignoring proxy_bind
I have a server with two Ethernet ports, one with IP address 192.168.x.y, the other with a different IP address. The server is running Debian Bookworm and nginx 1.22.1. This is my nginx site ...
2 votes
3 answers
1k views
Reverse Proxy Docker-compose: nginx + ssl + nodered + grafana + mosquitto + influxdb. Trying to make it working
I think that a docker system with nginx + ssl + nodered + grafana + mosquitto + influxdb is quite common, I hope this will help others. I have working nginx and ssl (certbot) perfectly, and if I go to ...
0 votes
1 answer
122 views
Nginx proxy routed to another nginx and capture and not capturing real IP address
I have on my local network port forwarding with a few different servers behind that single router. I have a first layer nginx proxy that I use to route to the second nginx which is the app's reverse ...
-3 votes
2 answers
372 views
Failed HTTPS requests to NGINX server
I am trying to set up Https for my Ubuntu server using Nginx. I am running an application on localhost and using reverse proxy. This is my first time using Linux and nginx. My https request is failing ...
1 vote
1 answer
375 views
nginx: restrict proxied IP access except Cloudflare edge servers?
We are using cloudflare proxy, so real IP is hidden. But if you would know real IP, you can still access site using it. Is there a way to limit access by that IP? I mean: by domain: https://some-...
0 votes
0 answers
152 views
Reverse Proxy Redirect not working as expected
I have a VPS where i hosted an Appwrite Instance. I also have a domain that is linked to the server and the behaviour i want to achieve is that when a user calls just the baseurl the user should be ...
-3 votes
1 answer
244 views
Gunicorn error.log shows a error in the log but Gunicorn itself works
I have setup Nginx with gunciron and django. Everything seems to work fine , atleast that what i believed. However , when i check the .gunicorn-logs directory as specified to be created in docker and ...
0 votes
0 answers
293 views
Nginx stop work when one service is down
I was working on configuring a locations.conf file for reverse proxy with nginx, however, when one of the services set in locations is turned off/paused in docker, nginx simply stops working and ...
0 votes
0 answers
43 views
Non-Trailing/Leading '/' is getting removed on proxy_pass
I'm using NGINX as a reverse proxy to send requests to localhost:3001. localhost:3001 contains a docker container running a fork of the local version of prerender.io. Thus, a full request would look ...
0 votes
0 answers
269 views
Nginx Server: Reverse Proxy displaying 502 bad gateway
The following server with Nginx version 1.22.1: server { listen 80; server_name ip; location /getthe/ { set $target_url $arg_url; if ($target_url = "") { ...
0 votes
0 answers
2k views
Why does Nginx reverse proxy return a 404 status code?
I’m struggling with a problem while configuring an Nginx reverse proxy server. Everything seems fine, but I keep receiving a 404 error. I’ve never done this before and don’t have experience with such ...
0 votes
1 answer
194 views
Host not found in upstream while Nginx reads the rtmp code block
I'm getting the following error in the RTMP block of my nginx.conf when I attempt to run it in a dockerized setup. [emerg] 1#1: host not found in url "api-servers/api/livevideostreams/...
0 votes
0 answers
167 views
Is it possible to use nginx reverse proxy between user (site visitor) and cloudflare cdn?
I have some websites, and i use cloudflare cdn with proxy setting enabled. So now the chain is: website visitor -> cloudflare -> my webserver I want to add some tricky thing - to add one more ...
0 votes
0 answers
100 views
NGINX not showing index.php page, every other page works
I have the following code, tried so many attempts, 3 days working on it but still nothing. If I fix one thing, another breaks - looking for help. What I'm trying to achieve: example.com redirects to ...
1 vote
1 answer
98 views
Reverse Proxy DolphinDB through Nginx
I am trying to set up a proxy for my dolphindb port 8902. The http part seems working. However, I got error message when the javascript tries to establish a websocket connection: ...
0 votes
0 answers
216 views
DNS issue on NGINX server pages won't load ERR_NAME_NOT_RESOLVED
OK so I have 5 pages: login.html otp.html billing.html index.html(for debugging purposes) page-not-found.html Intended logic Enter into browser: sub.domain.com/path (eg. sub.domain.com/login) ...