Questions tagged [nginx-reverse-proxy]
283 questions
0
votes
1 answer
Setting up nginx as proxy between webservice docker containers
I'm trying to set up a server to host a specific web application. I have registered a domain (lets say example.org) made a vps via digitalocean and set the DNS for example.org to point to it, so if I run a simple webserver, I get access to it by…
0
votes
0 answers
nginx proxy manager how set redirect 443 SSL default to another local web server apache+nginx+LetsEncrypt
A user from the Internet requests any site whose IP refers to nginx proxy manager
If the site name is not found in the nginx proxy manager list, then nginx proxy manager redirects the request
to another web server with which it is located in the…

dr.ipkins
- 1
- 1
0
votes
0 answers
NGINX reverse proxy to IIS with relative paths to static files
I'm having an issue with NGINX setup as a reverse proxy, with a proxy_pass to a IIS hosted website. The index.html of the web app is loaded without a problem, but the HTML page has relative URLS's for static css and js files setup like:…

Daan van Hulst
- 101
- 1
0
votes
1 answer
Specific sequence of round-robin while using nginx as load balancer
I have a group of several web applications in docker swarm containers. Some of them have a single instance, some multiple, and that situation may change dynamically, based on our needs (application serve different purposes). I also have a single…

Yuri Makassiouk
- 129
- 4
0
votes
0 answers
nginx radicale reverse proxy: 403 Error
Made some attempts to configure a reverse proxy for radicale. Site is up and running meaning I can connect to the webui but im getting a 403 error when I attempt to connect it to my client (Calcurse-caldav).
Here is the error in question
error: The…

Nic
- 1
- 1
0
votes
0 answers
effect of fail_timeout and max_fails in upstream in nginx
I have a public facing nginx server acting as reverse proxy for an on-premises upstream server. I have two ISP providers so I want nginx to failover to the backup ISP whenever primary ISP fails.
Criteria:
I want to failover to backup line at the…

Piyush B
- 103
- 4
0
votes
0 answers
Images get a 404 error when using Nginx's reverse proxy
I'm using Nginx's reverse proxy to route blog.example.com to example.com/blog/.
Most things work fine, but when I click on an image in example.com/blog, I get a 404 error.
I know that this is caused by the actual image not being in…

Seomari
- 21
- 2
0
votes
0 answers
Match traffic based on port with Cloudflare Tunnel
I am currently setting up Cloudflare tunnels for testing. I have a working tunnel setup on my origin server that is running nginx as a reverse proxy with a number of hostnames each having 2 distinct services running on ports 443 and 2096…

MoWo
- 443
- 1
- 10
0
votes
0 answers
Extract XML Request body variable into an nginx variable
I have an XML request body where I want to extract a value like:
123
I want to extract the value in the tag,…

void_in
- 101
- 1
0
votes
0 answers
Reverse Proxy Issue: WordPress Admin Redirects and Incorrect Static Content Serving
I have a configuration issue with my website setup involving a reverse proxy and WordPress. Currently, I have two domains: example.com hosted on server A and example.net hosted on server B. To display the content of example.net on example.com/blog,…
0
votes
1 answer
Stop Nginx from listening on all loopback IPv4 addresses EXCEPT 127.0.0.1
On Ubuntu, Nginx apparently listens on all of the IPs in 127.0.0.0/8. How can I disable listening on 127.0.0.0 and 127.0.0.2–127.255.255.255? That is, the only IPv4 loopback address that I want Nginx to listen on is 127.0.0.1. Answers to this…

Ben Zelnick
- 103
- 4
0
votes
1 answer
Access docker compose containers from host NGINX via reverse proxy
I am facing this issues I am not able to solve by anything I´ve found on this site or anywhere else.
Lets assume I have a domain and Debian server with NGINX installed on it as main gateway for web server. On this domain (on root level) I have a…

Johnczek
- 101
- 2
0
votes
1 answer
NGINX Reverse Proxy - Hide origin information to the destination server
I have a script that load images from an external server. This script runs on many different websites and what I need is that every click on the image will be proxied so it seems that the click comes from myapp without passing any information of the…

fasenderos
- 123
- 1
- 4
0
votes
0 answers
Nginx reverse proxy returning internal address to client on page refresh
I have a reactjs app being served by a container running NGINX with following configuration:
server {
listen ${NGINX_PORT};
access_log /var/log/nginx/access.log main;
location / {
root /usr/share/nginx/html;
try_files $uri $uri/…

GIJOW
- 123
- 6
0
votes
1 answer
reverse proxy for subdirectory on another server with wordpress for blog
I have a website and it's working now as
https://example.com
Now I want to load my blog as a subdirectory but on another server, it should be loaded as
https://example.com/blog
I am using nginx webserver and Cloudflare DNS service, and I know that I…

MohsenP
- 1
- 3