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

I want to configure nginx to use Keycloak for API authentication and Basic Auth scheme

I have an API running locally: http://localhost:8081/myapi I have configured nginx and Keycloak running on the same host. I have created a user and client in Keycloak and want all calls coming to my API be validated by calling Keycloak. I want to…
0
votes
0 answers

nginx reverse proxy multiple domains docker

I have a container with nginx (reverse proxy) and currently I have this configuration for when the user enters the following url (http://panels-cliente1.company.com) the page loads: upstream panels-cliente1.company.com { …
0
votes
1 answer

Nginx Reverse Proxy For Web App Hosted on Local Server

I am hosting a web application via a home server. I have my Cloudflare DNS A record pointed to my public ip and my firewall is off. I am using cloud flare for SSL. My app is running on local host (127.0.0.1) port 1624. I am using nginx. My server…
Fictor
  • 1
  • 5
0
votes
0 answers

I get nginx error - location 404 not found

When I try www.abc.com it works but when i try www.abc.com/def or www.abc.com/ghi/ get 404 error. Here is my nginx config worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type …
0
votes
0 answers

No host name in browser Nginx

I'm having a problem with nginx server. When I deploy it and type my hostname in the broker window it will find the page, but it will display IP, not the host name. I tried few things and it always fails. It is strange because I used this before and…
Michal
  • 112
  • 1
  • 9
0
votes
1 answer

How to configure Nginx Proxy Pass For Kibana Dashboard

We are working on integrating kibana dashboard into our front-end applications. instead of directly using kibana dashboard URL, we want to route via nginx. Eg. Kibana URL:…
Gowtham Raj
  • 103
  • 2
  • 13
0
votes
0 answers

how to setup nginx server with multiple epxress js application in same domain using nginx location

can you help on the nginx configration . my application on node express js I have two application express js i want to run in single domain. This my server like : app.example.com app1 run :- app.example.com/allinone/ app2 run …
Sanjay
  • 1
  • 2
0
votes
1 answer

Run 3 websites on one domain using nginx

Lets say i have domain abc.com which redirects my server ip 1.2.3.4 i have 3 websites running on my server using docker container, 1st website ip 1.2.3.4:50/a 2nd website ip 1.2.3.4:60/b 3rd website ip 1.2.3.4:70/c i can access this all websites…
0
votes
1 answer

How to configure nginx reverse-proxy to support external site in iframes

I'm in the unfortunate situation that I need to extend my react application with an iframe containing an external application. My application is hosted by a nginx reverse proxy that handles /api and signalr communication. Unfortunately it also…
BLC
  • 3
  • 3
0
votes
0 answers

NGINX: redirect requests from installed nginx to nginx in docker

I have two nginx reverse proxy on the same machine: Installed into Ubuntu (takes 80 and 443 ports) nginx in docker container (takes 445 port and mapped to 443) The installed nginx should redirect particular domain requests to nginx in…
Victor Ponomarenko
  • 490
  • 1
  • 7
  • 12
0
votes
0 answers

Nginx Redirect To Https Except One or More Folders

I would like to serve some of my website static assets like .txt, .csv, images and other document types as non https. But my current configuration always redirects to https. server { listen 80; listen [::]:80; root…
Deon
  • 153
  • 2
  • 14
0
votes
1 answer

How to read client header?

I am following nginx - read custom header from upstream server . My requirement is to read a http header and send it as a cookie to upstream server So I have following code in location block if ($http_remote_user){ add_header Set-Cookie …
Chirayu Sharma
  • 75
  • 1
  • 11
0
votes
0 answers

nginx as proxy for wss

real address => https://wssserver1/wss/ Only test1 able to access, try using proxy_pass for other testX able to browse wssserver1. When I open it from test2 https://test1/wssserver1, it manage to update the header name but nothing appear. error log…
chteow
  • 1
0
votes
0 answers

Nginx reverse proxy works only outside lan

I have a server which has multiple "app pages" running on it. (for example: Home Assitant, Cockpit etc.). On the local network I can access them using like http://192.168.1.200:8123. I used to use port forwarding but I didn't wanted to remember…
0
votes
0 answers

502 Bad Gateway Error with Nginx Proxy and Vercel Hosted React Frontend on AWS EC2 - Solved

I am here to describe a certain issue I faced recently. Me and My friends are having a pet project called Wibrant(earlier named winbook). Which is a social media website, hosted here. It has a Django-react stack both repos can be found here, and is…
D3M0N1K
  • 56
  • 6