Questions tagged [nginx-reverse-proxy]

When a reverse proxy proxies a request, it sends the request to a specified proxied server (http or other), fetches the response, and sends it back to the client, as if it came from the reverse proxy itself.

More information: https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

2738 questions
0
votes
0 answers

with nginx, how do i pass setup authentication from a response

a bit confused about the process here: i have a keycloak container that once i login gives me something like…
rnd om
  • 295
  • 2
  • 11
0
votes
0 answers

nginx reverse proxy all request when location match

I am trying to use nginx to host 2 different web apps and make it work on the same domain (eg, www.myapp.com). I want to be able to detect a specific location and then load all resources from a specific app based on a location. Previously I had…
anz
  • 987
  • 7
  • 21
0
votes
0 answers

Nginx load balancer & freeradius docker - Reply packet is from docker container

So doing a POC, with Nginx load balancer and freeradius docker. When the request packet is sent to the freeradius container from the proxy, the reply is received by the proxy and all is well. So the containers are working as expected 100%. However…
Anton May
  • 1
  • 1
0
votes
0 answers

NGINX Api command unknown

Im trying to setup an additional proxy to a local api with different port. i managed to get the connection but somethings wrong with the header. Trying to call https://example.com/**broker**/help (help is the api command) getting error "command…
BM-SMS
  • 13
  • 3
0
votes
0 answers

Can't access Nginx server from local network (LAN)

I just installed Nginx and a service on port 8069. I able to access to my service from outside by using odoo.domain.com. But the problem is I can't access from local network (LAN). If I try to access Nginx's IP then I can see Nginx default page but…
0
votes
0 answers

Nginx how to retain the hostname in the uri and perform rewrite

Nginx how to retain the hostname in the uri and perform rewrite location /app1/ { proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; rewrite /app1/(.*) /$1 break; proxy_pass <**how…
Sairam
  • 3
  • 1
0
votes
0 answers

Nginx Blocking task with long processing time

I'm trying to perform horizontal scaling of long processing task with docker compose. To simulate that task, I used the following code in python: @app.get("/test") def test(): start = time.time() print("Start time",…
Arif Oyong
  • 392
  • 1
  • 3
  • 11
0
votes
1 answer

nginx load balancing configuration for web sockets

I am configuring Nginx to redirect incoming web socket requests to two different servers, but every time I get 404. My Nginx configuration in loadbalancer.conf file in /etc/nginx/conf.d/ folder look like this: upstream websocket { server…
0
votes
1 answer

Attempting to redirect is not working as expected

When I go to https://www.something.org:8443 It redirects from my Nginx proxy server to my Proxmox server using the following location settings: ProxMox Nginx Settings Site location / { proxy_http_version 1.1; proxy_set_header Upgrade…
adviner
  • 3,295
  • 10
  • 35
  • 64
0
votes
1 answer

Basic NGINX proxy_pass example is serving 404's

I have an very basic out-of-the-box NGINX server running on a Windows machine at http://10.0.15.19:80. I'm attempting to use it as a proxy to get around a CORS restriction. I have the following nginx.conf, which from every example I've seen sounds…
uPaymeiFixit
  • 153
  • 1
  • 11
0
votes
1 answer

WSO2 + NGINX - Problem to access created APIs

Situation: Enviroment: 1 Server: Oracle Linux Micro-integrator 4.1.0 running Api-Manager 4.1.0 running Admin,Publisher, DevPortal sites can be accessed within the server and the LAN An API I've created with oauth2 (authorization+token) can be…
0
votes
1 answer

What should be best Nginx Cache on top of Nginx Server or Varnish cache on top of Nginx server for small VPS?

I am thinking to install varnish cache on a small VPS configuration. My VPS configuration is 2 core CPU & 2 GB RAM with 50 GB SSD. I would like to know on such small VPS configuration what should be best to install Varnish Cache, Nginx Web server…
Sanjay Goswami
  • 822
  • 1
  • 16
  • 36
0
votes
1 answer

How to get real client IP directly from nginx

I want to get the final real client IP direct from nginx return, and avoid getting the IP of proxy servers. The articles I have searched are all something like server /client-ip { ... proxy_set_header X-Real-IP $remote_addr; …
Aaron
  • 61
  • 9
0
votes
0 answers

How to proxy pass to another port (multiple)

I want to proxy pass based on the path to another port (multiple) using NginX. Example: / -> :3000 /test -> :3001 I already config my nginx.conf like this: server { listen 443 ssl http2; listen [::]:443 ssl http2; …
And24
  • 1
  • 2
0
votes
1 answer

Nginx | Reverse proxy

I have a Nextjs application running on https://localhost port 3000 on my server and it is accessable through https://rgb.irpsc.com:3000/citizen/hm-2000001. The hm-2000001 part is dynamic and can range from hm-2000000 to any value. What I want to do…
1 2 3
99
100