Questions tagged [nginx-reverse-proxy]
283 questions
0
votes
2 answers
Proxy all requests from Nginx to a backend, except one static file
I use Nginx to reverse proxy a backend API. However, I would like Nginx to serve one static file named "readme.html" when a request is made to "/".
I did extensive research. The most promising solution seemed to be that one:…

Ian
- 3
- 2
0
votes
1 answer
Creating a custom URL for reverse local proxy with NGINX
I'm trying to set a custom URL for a reverse proxy. From what I understand, the code should be fairly straight forward. Here's what I've got:
worker_processes 1;
events {
worker_connections 1024;
}
http {
server {
listen 8080;
…

jmsapps
- 101
0
votes
1 answer
nginx reverse server upstream name syntax
I very appreciated if someone can give me some help.
I just tried to learn the nginx reverse proxy but have experienced some problem about upstream name syntax.
Please refer to this photo
Photo: nginx reverse proxy server structure
When I curl…

Alex
- 3
- 3
0
votes
0 answers
Nginx reverse proxy + Vercel hosted app not working together
I have a Wordpress site running Nginx that exists on https://www.exampleurl.com
I have an app running on Vercel - https://github.com/cwackerfuss/react-wordle - that I want to run under https://www.exampleurl.com/wordle/ of my website (not a…

Matt
- 113
- 2
0
votes
0 answers
Nginx server under load balancer, when /folder is found redirects to /folder/ but changes the host url
I have nginx server setup in google cloud. Server is being accessed from a host domain through gcloud pointing.
Like this:
https://server.com/test/ points to instance group with one of instances with ip http://39.99.99.99.55/project/
And everything…

Kalki Truth
- 1
- 1
0
votes
1 answer
NGINX proxy_pass with changing URI
What I want to achieve:
When I access my site "https://my.domain.com/comics", it will point to http://192.168.1.55:3322/login page which is the comic webserver login page.
I will enter my password, the comic web server will then to…

Fish Puki
- 1
- 1
0
votes
0 answers
NGINX - reverse proxy but one subfolder to static local directory
I'm having trouble figuring out the basic syntax for proxying most traffic to a local Solr install but leaving one path/dir requests being sent to a static html directory. Do all secondary, tertiary, etc... locations need to be set by regex? Haven't…

Tyndall
- 591
- 1
- 7
- 18
0
votes
0 answers
Nginx proxy remove specific path and empty Post request body
I'm using nginx for web service proxy. I have rest service as below and I want to proxy my domain with suburi
https://www.example.com/myRestservice
Service has some method like…

zgr
- 1
- 1
0
votes
0 answers
Docker-compose: how to use Nginx Reverse Proxy with routing
I am using docker-compose with nginx reverse proxy to run it on server with different paths:
server_ip/backend
server_ip /frontend
should work on port 80.
I'm testing it with a docker-compose using nginx as the web container name and phpmyadmin as…

Sergio Dulcey
- 1
- 1
0
votes
0 answers
How to access hosts local network from a docker container?
I have two machines running in one local physical network in the office. One of them is exposed to world as a http web server (nginx on docker), the other one is not exposed to the world, it exposes a private service with API that should only be…

hopsey
- 101
0
votes
1 answer
Configure nginx to serve query string parameter
We have one NextJs site, with next export we get one out folder which we want to serve from Nginx.
In out/login there is one '[[...parameter]].html'.
When we deploy site using pm2 it is working if we hit url…

Satish Lamak
- 51
- 1
- 3
- 7
0
votes
1 answer
How to serve phpMyAdmin to localhost/phpMyAdmin instead of localhost:8080 using nginx in docker
In my project, I am using Django and nginx, but I want to manage my cloud databases through phpmyadmin.
Django is working fine but I can't do the same with phpmyadmin because it is running in apache at localhost:8080, when I want it to run in nginx…
0
votes
1 answer
nginx giving 500 for images and for some api's
We have a site deployed on crafter, when we access it directly with "IP:port" it works fine.
But when we are accessing it with Nginx reverse proxy, it gives 500 for images and other api's.
Also it is not giving any error in nginx error.log
Request…

Satish Lamak
- 51
- 1
- 3
- 7
0
votes
0 answers
Nginx with SSL behind another Nginx (with nginx-proxy)
I have two VMS. The first is VM1 and the second is VM2. The first is a VPN server and the second is a client.
On VM1 the Nginx is installed as a reverse proxy from the official Docker repository.
On VM2 the Nginx is installed as a reverse proxy from…

Kirill Gonchar
- 1
- 1
0
votes
1 answer
Nginx reverse proxy is loading different sites when refreshing
I want to host multiple websites in one server with nginx reverse proxy by following this tutorial
https://www.datanovia.com/en/lessons/how-host-multiple-https-websites-on-one-server/
The Nginx proxy and each website are launched separately with…

ehku
- 11
- 1