Skip to main content

Questions tagged [nginx-reverse-proxy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
55 views

Check website without DNS change

In some cases you want to test a Wordpress website or any other websites before changing the DNS records. There are tools online which provided this like Skipdns.link and in the past hostcx. I'll also ...
Noob's user avatar
  • 97
0 votes
0 answers
19 views

How to securely upload multiple SSL certificates to remote server with CircleCI and Docker

I'm working on a DevOps workflow using CircleCI for deployments and Docker for containerized applications. I need to automate uploading Let's Encrypt SSL certificates (multiple certificates possible) ...
Akrash Nadeem's user avatar
2 votes
0 answers
45 views

SMTP Port 25 Issue on Nginx Mail Proxy

I set up an Nginx mail proxy server and configured it to distribute to several mail servers as a front-end server. However, I need to open port 25 in the configuration; otherwise, I cannot receive ...
keljix's user avatar
  • 21
0 votes
0 answers
34 views

Nginx not routing simultaneous requests hashed by a header variable to same upstream

I am using Nginx v1.27 as a load balancer for 2 upstream services. The routing is decided by nginx using hash on a header in the request. Since the apps are part of a transaction, requests with a ...
GTY's user avatar
  • 101
0 votes
0 answers
25 views

Nginx custom locations for multiple app access (different ports) on Synology

I am really new in this topic. What i want to achieve: I have different tools that i use on my synology. Instead of connecting to all of the different tools with subdomains I want to use one domain ...
Fit Tune's user avatar
1 vote
1 answer
76 views

Forward traffic for one hostname without proxy Nginx Proxy Manager

I have several hosts service1.example.com, service2.example.com behind Nginx proxy manager, where the NPM handles ssl and lets encrypt acme. Now I installed a new host newhost.exmaple.com that ...
Neurofibromin's user avatar
-1 votes
0 answers
35 views

need help to resolve Nginx 404 error

I am try to deploy my spring boot application on Nginx if i try to check my Nginx its working but when I want to request on rest-Api endpoints its giving me 404 Error and here is my Nginx .conf file ...
CREATIVE EASE's user avatar
0 votes
0 answers
38 views

Nginx not loading image on a static HTML page

I have several frontend websites running via Nginx reverse proxy using server blocks. All of these websites are stored in their own directories within the /opt/ folder. I also have an /opt/status/ ...
ABCDEF's user avatar
  • 1
0 votes
0 answers
21 views

Set up reverse proxy with Nginx to redirect traffic to specific port

I installed nginx on a recently installed Alma Linux 9 system. After starting the updates with sudo yum update -y I reviewed the initial configuration of nginx to be able to build a node application ...
Chaoticsystem504's user avatar
0 votes
0 answers
37 views

Nginx serve 2 service first as default path and second as path

I started learning NGINX and I have an NGINX server and my goal is to serve 2 app in it, one is frontend and the other is backend. since I should configure SSL too, want to use backend as sub path. by ...
Jafar ashrafi's user avatar
0 votes
0 answers
53 views

NGINX proxy pass not working with Laravel application. No routes other than / can be accessed from proxy domain. Gets a 404. How to solve?

I have a Laravel 7 application running on a separate server, let's assume it is SERVER A with domain serverA.com. The application is behind NGINX. I have another server, SERVER B. I want to proxy pass ...
Sajid Anam Ifti's user avatar
0 votes
0 answers
94 views

Pass 404 response from Apache backend through Nginx reverse proxy

I'm running a Rails application with Apache and mod_passenger with an Nginx front-end for serving static files. For this most part this is working great and has been for years. I'm currently making ...
Kenn's user avatar
  • 145
0 votes
0 answers
101 views

URL Encoding Issue in Redirects with $request_uri

I'm encountering an issue with URL encoding in my Nginx configuration. I have set up a list of redirects using the map directive with $request_uri map $request_uri $staticRequestRedirect { /oil/%...
petterik's user avatar
0 votes
0 answers
63 views

Remove Query String from Redirected URL $request_uri?

I am new to Nginx and I'm facing an issue with my Nginx configuration. I have set up a list of redirects using the map directive ($request_uri) as shown below: map $request_uri $staticRequestRedirect {...
petterik's user avatar
-2 votes
2 answers
64 views

Issue with using IP address SSL

Mongod database with Nginx. I am getting this error when connected to my database. http://212.38.94.32:3001/api/ "This request has been blocked; the content must be served over HTTPS". I ...
Syed Emon's user avatar
0 votes
0 answers
49 views

Unify multiple domains/platforms using one MX record

We have two separate domains A and B. We have three platforms Platform A B and C. Since there is a ton of work to migrate everyone to one domain A on platform B and leadership wants everyone to use an ...
JustmeJB's user avatar
0 votes
1 answer
265 views

nginx assets not found node js express static rendering

I'm having a similar issue as here, I have a node js express server rendering a build react app ( CRA ) in a folder /public/build. However while using nginx as a reverse proxy, assets get status 404 ...
Sophie's user avatar
  • 1
0 votes
1 answer
133 views

certbot Could not automatically find a matching server block for subdom.mydom.com. Set the `server_name` directive

Certbot is not able to install the certificate for a subdomain nginx config. It says that no matching server_name directive is set, although it is set. 1) My Nginx config: server { listen 80 ; ...
antimatter's user avatar
0 votes
0 answers
63 views

Encountering error": "Internal Server Error", Code 500 - Okta Authentication with AWS OpenSearch VPC + Nginx Reverse Proxy

I have a AWS Opensearch in VPC network. I am using Nginx reverse proxy to access Opensearch Dashboard (Kibana). My Curent setup is working fine. I tried to SAML Okta Authentication but getting ...
Gursharan Singh's user avatar
0 votes
1 answer
314 views

Nginx Proxymanager "map" directive is not allowed

I'm in the process of deploying my Django project right now, I have a server on digital ocean and I'm setting up and nginx proxy manager. I have added the SSL certificate for Portainer, and when I add ...
fifumain's user avatar
0 votes
0 answers
269 views

Nginx reverse proxy : read non-HTTP headers

I am using nginx as a reverse proxy to have all my services on port 443. I have various services such as : web : about 6 websites/admin panels SSH SFTP WireGuard and maybe others in the future... I ...
Silloky's user avatar
  • 101
0 votes
0 answers
40 views

Split Nginx default conf into separate files based on different upstream services

Have a running Nginx auth proxy server with a growing default.conf.template file. Want to split it into multiple files based on different upstream services. ./templates/default.conf.template file: ...
Prem's user avatar
  • 101
0 votes
1 answer
56 views

Fresh Apache (re-)install ignoring default vhost

I was trying a few thing for a custom "default" Apache vhost and nothing seemed to work, I always got the /var/www/html/index.html served instead of other contents or errors I wanted to ...
Yosko's user avatar
  • 167
0 votes
0 answers
89 views

Nginx - SignalR Web socket Connection Error: Error: WebSocket failed to connect. 500 internal server error

UI: const connection = new signalR.HubConnectionBuilder()' .withUrl("https://example.com/chatHub", { skipNegotiation: true, transport: signalR.HttpTransportType....
Anitha Sivakumar's user avatar
0 votes
0 answers
158 views

nginx set up reverse proxy from subfolder to a port

I'm trying to set up a Nginx reverse proxy and I'm slowly losing my mind trying to figure it out. I have my Nginx server listening at 80, and it performs great. I have a page with a form where I want ...
bitwise's user avatar
0 votes
1 answer
171 views

Load Balance two servers with a Flask app with CertBot certificate and a Domain Name

I have two servers, let's call them ServerA and ServerB. I bought a domain on NameCheap let's call it example.com Each server has docker containers (Flask Web Apps) running on it on different ports. ...
Mervin Hemaraju's user avatar
1 vote
0 answers
56 views

Openshift nginx proxy_pass not redirecting from current host to another

This is my DockerFile FROM docker-enterprise.net/developers-nginx/nginx1.22/rhel8/nginx-rhel8:latest USER root RUN mkdir /.ionicsecurity && \ chmod 775 /.ionicsecurity && \ ...
Pat's user avatar
  • 111
0 votes
0 answers
78 views

How to verify backend servers are reachable as part of keepalived health check?

I'm currently configuring a high availability setup using Keepalived to manage failover between Nginx servers. As part of this setup, I need to implement a health check script to verify that Nginx is ...
Tmanok's user avatar
  • 197
0 votes
0 answers
251 views

302 redirect in nothing with Tomcat and Nginx

I am creating an https connection to my WAR app at tomcat (localhost:8080/myApp). Inside we have an Angular and Java app. I create nginx config and after review some similar questions here and here ...
Olexie Polishchyk's user avatar
1 vote
0 answers
172 views

Docker private registry: got 400 bad request when docker push

I'm trying to build a private docker registry on my server. I made a docker-compose project using registry image. Nginx is used for reverse proxy from hub.topfyf.cn to localhost:5000. I tried docker ...
OrthoPole's user avatar
1 vote
0 answers
78 views

NGINX Rate Limiting Configuration Leading to 404 Error for Specific Route in Plesk-Managed CakePHP App

I'm using Plesk 18 with NGINX as a proxy in front of Apache2 for a CakePHP application. I have set up rate limiting in my NGINX configuration (/etc/nginx/nginx.conf) with limit_req_zone $...
magic.77's user avatar
  • 111
0 votes
0 answers
96 views

Flask-SocketIO Performance Bottleneck - QueuePool Overflow After Upgrade

I'll try to keep this brief, but I have a lot of code examples to show. Please let me know if you need more context! We recently updated our flask server to handle web socket connections using flask ...
maximosis's user avatar
0 votes
0 answers
2k views

How to successfull configure nginx for laravel reverb websocket?

Triying to setup ssl for laravel reverb using nginx on ubuntu Laravel reverb docs /etc/supervisor/conf.d/websockets.conf [program:websockets-l11] command=/usr/bin/php /var/www/l11/artisan reverb:start ...
Jhordy Said Barrera's user avatar
0 votes
1 answer
119 views

use of variable to configure proxy_pass fails. why?

What am I misunderstanding about nginx variables and how they work? The first location /atlas/ fails to send the request to the upstream server with the following nginx error: backoffice | 2024/03/12 ...
jonseymour's user avatar
0 votes
1 answer
196 views

nginx custom log format to log header value when exists

environment setup I have nginx webserver and simple backend application. this backend app has custom response header in certain condition (for example: X-Real-Status) and it's running behind nginx as ...
sadegh mohebbi's user avatar
0 votes
0 answers
70 views

redash configured behind nginx conf file with server location is duplicating the url path

My nginx conf file entry for redash location /redash/ { sub_filter ="/" ="/redash/"; sub_filter ="/static/ ="/redash/static/; sub_filter ="/ldap/ ="/...
Raj's user avatar
  • 1
0 votes
0 answers
56 views

How to host applications on separate paths of a subdomain?

I have two application "foo" and "bar" running on ports 4560 and 4570 respectively. Both of them have paths that look like /api/v1/hello and /api/v1/world. I'm trying to access ...
Saurabh's user avatar
  • 101
-1 votes
1 answer
143 views

System slow to respond to request. What to do?

I have an application container behind an Nginx reverse proxy. When I access the application via https, the POST request returns 302 and then the GET returns 200. See monitoring via browser: Request ...
campos's user avatar
  • 115
0 votes
0 answers
59 views

How to use proxy_redirect for docker network aliases in nginx?

I'm building a docker web project. There are, for example, two containers, called A and B. I use A for the main server, which listens 80 port and deals with static pages. The url path /api is proxied ...
OrthoPole's user avatar
0 votes
1 answer
382 views

Apache Guacamole + Portainer + Nginx Proxy Manager + Cloudflare

maybe somebody could help with this... My setup: Qnap TS-664 Docker containers (Portainer managed) Domain at porkbun (lets call it example.com) Cloudflare DNS: A Name: example.com C Name: Name: nginx, ...
John Smith's user avatar
0 votes
1 answer
544 views

Connecting Nginx Server to OpenVPN and Accessing it from the Internet

I have an Nginx server running on my local network, and I want to make it accessible from the internet via an OpenVPN connection. Here are the details of my setup: Ubuntu Server Local IP Address: 192....
Daqs's user avatar
  • 101
3 votes
0 answers
366 views

Safest way to configure `max_fails` in Nginx reverse proxy

We have nginx as a reverse proxy, load balancing across 2 application servers. These application servers were defined in upstream blocks like so: upstream app_backends { server 1.1.1.1:...
Robin Winslow's user avatar
1 vote
1 answer
65 views

Non https requests getting redirected to 302 while making api call from client side, even https requests go to 302

Any Request made from API client to server giving 302 for exmaple https://app.ardracloud.com/api/deviceconnect or http://app.ardracloud.com/api/deviceconnect returns 302 server { listen 66.66....
Online Works's user avatar
1 vote
1 answer
340 views

Can't get nginx resolver to work

I'm facing issue with nginx when a container in network change his IP , i can access it in Linux OS But nginx didnt resolve the new IP... I searched alot about a solution and i see that nginx tell us ...
Rafael darkxp's user avatar
0 votes
3 answers
156 views

Omit repetition in nginx configuration for subfolders as websites on same domain

I have a Debian webserver with a main /var/www/mymainwebsite served on the URL http(s)://mydomain.com, and many independent web projects also in /var/www (/var/www/mywebsite1, /var/www/website2, etc.) ...
bolino's user avatar
  • 275
0 votes
0 answers
46 views

Nginx if-directive condition based on upstream fallback?

I have just passive health-checks on some upstream servers. If they fall back to backup server, I need a way to act differently in the server block (with an if condition). Is there some technique or ...
Jason Kleban's user avatar
0 votes
1 answer
237 views

Only Https Post requests failing with cloudfront and ec2 instance running nginx reverse proxy

I am running a nodejs server on ec2 on port 3000. In order to connect it to internet, I am running a nginx server to proxy requests from port 80 to 3000. I have a ec2 domain "http://ec2-xxx....
AlwaysHungrie's user avatar
0 votes
0 answers
120 views

NGINX reverse proxy with port - port is being lost

I am trying to reverse proxy from an IPv4 listen to an IPv6 host all using port 8006. The problem is the port number is getting lost, when it gets to the destination the :8006 is missing. The .conf ...
Mark-A's user avatar
  • 1
0 votes
0 answers
283 views

gitlab-pages with custom domain

gitlab I have my hugo page project on https://sysc4ll.pages.freec0ding.dev/www/ I would like to have "https://sysc4ll.pages.freec0ding.dev/www/" available on "https://www.sysc4ll.sh&...
ajulien's user avatar
0 votes
1 answer
284 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

1
2 3 4 5
7