Skip to main content

Questions tagged [nginx-reverse-proxy]

209 questions with no upvoted or accepted answers
4 votes
0 answers
2k views

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
4 votes
0 answers
636 views

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 ...
Typewar's user avatar
  • 199
4 votes
0 answers
5k views

I haven't had any issues with my Docker container or NGINX until today where I am getting a random unexpected 502 Bad Gateway error even though I have made no changes to my configuration files, Docker ...
CrashV24232's user avatar
3 votes
0 answers
825 views

For almost two years now I have been running a simple nginx reverse proxy on a Debian instance to serve dockerized services. In case any configuration changes go wrong, I am also using git version ...
Frederik Hoeft's user avatar
3 votes
1 answer
17k views

Im running nginx as reverse proxy and for some reason im unable to renew letencrypt certificate, i have tried to upgrade nginx and certbot to latest version. It has worked before and im not sure if ...
Pim's user avatar
  • 31
3 votes
2 answers
15k views

I am just trying to proxy pass from Nginx to Docker Minio service; however, with my current nginx config file, it's not working as expected and keeps loading when I browse any Minio buckets from the ...
RAFIQ RANA's user avatar
3 votes
0 answers
10k views

Below is the bare-bones stripped down Nginx config that demonstrates the problem I'm having directly. The "real-world" setup has multiple upstreams and multiple conditional checks that are ...
Rino Bino's user avatar
  • 722
3 votes
1 answer
962 views

I have a gitea server listening on public IP 111.222.333.444, port 3000. If I open http://111.222.333.444:3000 on my browser, I can access normally. I have an nginx server running on 999.888.777.666. ...
Pablo M's user avatar
  • 131
2 votes
1 answer
924 views

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
  • 31
2 votes
0 answers
790 views

I'm hosting a Django-App which serves as an API-Endpoint. Unfortunately the App which uses the API does a lot of concurrent requests on page-load (in the realm of 80-90 requests). Nginx is running as ...
Subito's user avatar
  • 408
2 votes
2 answers
1k views

We are proxying UDP packets for a game server through a Nginx reverse proxy. Clients timeout very often because the Nginx can't handle the requests. Initially it works flawlessly, but when more ...
hachan29's user avatar
1 vote
0 answers
256 views

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
1 vote
0 answers
1k views

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
258 views

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
1 vote
1 answer
122 views

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
1k views

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
1 vote
0 answers
3k views

I have a little home network with pihole on 192.168.0.3 and a small home server on 192.168.0.41. On the home server, I run a few services, such as dashy, gogs (in docker containers), and I also have a ...
tkhobbes's user avatar
  • 111
1 vote
0 answers
535 views

I'm having a very hard time doing a redirect from HTTPS to HTTP. This is giving me the last few days some headache because I can't figure it out :| situation I have a website and a VPS server. The ...
J_P's user avatar
  • 11
1 vote
0 answers
521 views

I have a rate limit config as follows in the http block: # Rate limit config declaration map $http_q $r_b001 { b001 "1"; } # Zone config limit_req_zone $r_b001 zone=b001:100m rate=...
Rajesh's user avatar
  • 11
1 vote
1 answer
2k views

I need to proxy a lot of MQTT connections (over 200K) and distribute them over a number of ports at the backend server. Below is my Nginx configuration. load_module /usr/lib/nginx/modules/...
Yehan Pemarathne's user avatar
1 vote
1 answer
1k views

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 ...
Johnczek's user avatar
  • 111
1 vote
0 answers
7k views

I have a nginx server functioning as a reverse proxy. It is sat behind Cloudflare. The website is functioning fine (there are no errors on the browser), but there are lots of warnings in the logs like ...
Neil D's user avatar
  • 111
1 vote
1 answer
213 views

I have two servers: the first one has the IP address 192.168.1.216 and is configured with the hostname hub.domain.tld (jupyterhub). The DNS record is pointing to the public IP address, and all ...
Bouarfa Mahi's user avatar
1 vote
1 answer
2k views

I want to create a map between nginx $request_uri and $port I have many location and each location works with its own port. for example I have: location /path1 { proxy_pass 127.0.0.1:10000 } ...
FIFO's user avatar
  • 11
1 vote
0 answers
1k views

I have an nginx reverse proxy for multiple domains one of which i want to restrict access to unless connected to VPN. So i have added allow for the vpn ip addresses for this one particular server and ...
noname's user avatar
  • 15
1 vote
0 answers
764 views

This is my first post in this community. I am hosting a website in Wix and want to restrict access to a certain number of individuals. In addition, I want everyone to pass my nginx-reverse proxy ...
nils-79's user avatar
  • 11
1 vote
0 answers
431 views

I have a NGINX configuration with two virtual hosts (server {} blocks): one serving a human-readable site on the primary domain, and the other acting as a reverse-proxy for a specialized service on a ...
intelfx's user avatar
  • 156
1 vote
0 answers
4k views

I'm trying to use Nginx as a reverse proxy and the upstream server is an ASP.NET Core application where I've registered the ForwardedHeadersMiddleware, which will read three different X-Forwarded-* ...
Arad's user avatar
  • 113
1 vote
1 answer
1k views

I have had a dev server set up for quite some time and am in the process of cleaning and setting up a new one. I am running a frontend and three APIs via node.js and nginx. I have never had a problem ...
alphadmon's user avatar
  • 111
1 vote
0 answers
62 views

I have a backend application that binds users with server ports (I attribute a random available TCP port to each connected user) Using NGINX, I want to redirect all requests coming from a user -...
Mehdi CHEBBAH's user avatar
1 vote
0 answers
57 views

I am trying to write a below rewrite rule but somehow this is not working and I would really appreciate if someone can help me on this? I have a Nginx reverse proxy set and my orignial server IP is ...
Blason R's user avatar
1 vote
2 answers
2k views

I have a node server running on nginx as a reverse proxy, which is supposed to handle image uploads. Its ssl cert and domain are configured through cloudflare. Aside from setting the proxy_pass to ...
intern3t-us3r's user avatar
1 vote
0 answers
167 views

I'd like to create a reverse proxy that results in the following: /proxy/?url=http://takemehere.com/.... reverse proxy to http://takemehere.com/.... I tried this to no avail: location ~ /proxy/?url=(...
tlovett1's user avatar
  • 111
1 vote
0 answers
856 views

I have a working NGINX config as a reverse proxy. I'm trying to modify the upstream server's Cookie headers to add samesite=non and secure. According the to docs here: proxy_cookie_flags it should be ...
gwhiz's user avatar
  • 67
1 vote
0 answers
957 views

I have an Unraid server setup with services like WireGuard VPN, Home Assistant, Nginx Proxy Manager. The setup is as follows: WireGuard is running as "Remote tunneled access" with DNS server ...
jockebq's user avatar
  • 111
1 vote
1 answer
4k views

Hi i am running an express server with a socket.io server attached to it const { Server } = require("socket.io"); var server = http.createServer(app); /** * Adding Socket io implementation ...
Kaki Master Of Time's user avatar
1 vote
0 answers
188 views

I get no errors in neither /var/log/nginx/{access,error}.log nor the journalctl for jupyter and nginx. Putting it all in an HTTP block works, HTTPS the website never loads (I tried curl -Lvvv 'http://...
Samuel Marks's user avatar
1 vote
0 answers
798 views

does anyone know why am I getting this problem? Basically the connection closes by itself because of dynamic proxy_pass. This is my nginx config. error from log : 2022/08/25 19:45:28 [error] 14208#0: *...
Mr none's user avatar
  • 11
1 vote
0 answers
1k views

TL'DR set a gibberish URL in nginx site definition that would bypass basic-auth to reverse-proxy More details: I have a setup with Grafana running on a VPS and an nginx reverse proxy directing towards ...
bosch's user avatar
  • 185
1 vote
2 answers
1k views

So I have configured a reverse proxy using nginx 1.18.0. I am able to access my desired website through the reverse proxy already, but some requests are failing (eg. for the favicon), because the ...
Jakub's user avatar
  • 21
1 vote
1 answer
902 views

I'm using a location config like this in Nginx for serving WEBP when the user supports it map $http_accept $webp_suffix { default ""; "~*webp" ".webp&...
erfan's user avatar
  • 21
1 vote
0 answers
3k views

I have a simple web application running in a docker container and exposed on port 81. curl http://127.0.0.1:81 returns the index.html of that web app. So it is running and is reachable. Also localhost ...
Alex 75's user avatar
  • 133
1 vote
0 answers
1k views

I enabled gzip on my nginx reverse proxy which is hosted on EC2 free tier (so lightweight server). I noticed that my request latency increased by almost 2x (13+KB compressed to 4+KB). The only issue ...
Stuart's user avatar
  • 11
1 vote
2 answers
28k views

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 ...
Kevin Yobeth's user avatar
1 vote
0 answers
1k views

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 ...
Apollo's user avatar
  • 145
1 vote
1 answer
2k views

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 ...
cheshie's user avatar
  • 111
1 vote
0 answers
781 views

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 / { ...
eadam's user avatar
  • 141
1 vote
0 answers
1k views

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/....
Kim Mỹ's user avatar
  • 111
1 vote
0 answers
2k views

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 ...
ahron's user avatar
  • 435
1 vote
0 answers
306 views

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 same. https://foo.example.com/...
George Shuklin's user avatar

1
2 3 4 5