Questions tagged [nginx-reverse-proxy]
283 questions
1
vote
1 answer
nginx reverse proxy not working when multiple ports defined for REST api
I have a next js app which I deployed on port 3000 and set the proxy 3000 on nginx.
Now I have my custom Node js Backend server which I want to run on the same server on different port 5000.
I setup the nginx like this
location / {
…

Irfan Habib
- 13
- 4
1
vote
0 answers
Performance, Security and Scalability of nginx proxy vs ssh tunnel
I'm wondering about the difference in performance, security and scalability for nginx and ssh tunnel for a web application.
For my case, I have a VPS set up, whos only job is to forward the traffic to my home router. This traffic travels between the…

Typewar
- 167
- 1
- 1
- 12
1
vote
2 answers
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 URL: staging-app.example.com
Application API…

Kevin Yobeth
- 61
- 1
- 1
- 5
1
vote
0 answers
How to pass an html site from another server via nginx reverse proxy?
I am trying to load an Angular app from another internal service when calling localhost:81/internal?pageId=10. But all that happens is that nginx redirect me in the browser to localhost:80.
I have this configuration:
location ~…

Apollo
- 113
- 3
1
vote
1 answer
How to make Nginx reverse proxy wait until upstream comes online?
I have a server app that listens on a UNIX socket, and Nginx serving as a reverse proxy.
Now I want Nginx to wait until my app comes online when e.g. I deploy an update and restart it, without returning any errors to the clients.
This is what I have…

mojuba
- 121
- 6
1
vote
1 answer
getting 412 precondition failed with ngx_cache_purge when trying to purge cache
I am new to this and just started using nginx for my pet projects. now i would like to install and use ngx_cache_purge module from https://github.com/nginx-modules/ngx_cache_purge, since it has some cool integrations with wordpress.
here is the…

cheshie
- 111
- 1
1
vote
1 answer
How can I remove an accept-encoding request header in nginx?
The recent update to zlib due to a security hole appears to cause a major problem when serving PHP-FPM 8.0 via nginx on Ubuntu focal. Any requests with a gzip encoding fail right at the start of the response, though nginx logs the requests as…

Synchro
- 3,148
- 6
- 27
- 38
1
vote
1 answer
NGINX passthough TLS real IP?
I was wondering if someone could shed some light on the issue im having,
Currently im testing out to TLS pass though to my zimbra server as the SSL has to be in the zimbra server and another wordpress site which also has the SSL
the setup would this…

killmasta93
- 21
- 1
- 5
1
vote
0 answers
Does Nginx combine all cached slices to make one file as in backend?
I am using the Nginx slice module to fill the cache for big files as shown here https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/
Here is a sample configuration
location / {
slice 1m;
proxy_cache …

eadam
- 141
- 3
1
vote
0 answers
wordpress page, post url on nginx inside docker container automatically redirect to root domain with 301 status
I have successfully setup a wordpress site running on a dockerized nginx. When the wordpress site is up and running, I can go to the home page: https://my_domain.com or any links or at after wp-admin/... without any problem.
But when I go to…

Kim Mỹ
- 111
- 3
1
vote
0 answers
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 hubspot and published at a.hubspot.b/c
Is there a…

ahron
- 365
- 3
- 14
1
vote
0 answers
proxy_pass to different URLs in nginx
I want to create a reverse proxy under one location for two different upstreams. Upstreams are so different that they have different prefixes in URL, but the rest is the…

George Shuklin
- 296
- 2
- 11
1
vote
0 answers
redirect path of nginx from a proxy pass to another server
I need to explain a problem. I need the output of the PATH content of an nginx reverse proxy to be sent to another domain that resides on another nginx server.
Clear explanation:
I have two linux servers "A" and "B", on the first server "A" I have a…

Miguel Duque
- 11
- 3
1
vote
1 answer
Matrix Synapse admin UI behind NGINX reverse proxy
I set up a Matrix Synapse server and everything is working fine so far.
My only problem is accessing the admin UI which I got from github Awesome-Technologies
/
synapse-admin
I symlinked the index.html into nginx webroot at /var/www/html and wrote…

walwei88
- 11
- 1
- 2
0
votes
1 answer
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.
My current config looks like this (that's…

Fabmic96
- 3
- 1