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
1 answer

NGINX - using a web app's port number bypasses my NGINX config

I am running an 'Opensearch Dashboards' server (it's a free fork of Kibana). Opensearch Dashboards runs on port 5601 ('https://myopensearchserver:5601'). I have the below NGINX config that allows me to access the application via…
jaboo
  • 1
  • 3
0
votes
1 answer

How to configure Nginx reverse proxy to NodeJS app

I am new to nginx and I am following tutorials to set up nodejs app with nginx reverse proxy but nothing seems to be working. I have a very simple configuration and I’m not sure what the problem is can anybody let me know? I am just trying to get…
jim
  • 53
  • 5
0
votes
1 answer

Nginx server is unable to start when i try to deploy a static website

i have captures on the code of config file and the exact location and the error itself The error display The config script and the exact location of the file i've tried to change port but it doesn't work i've created another config file thinking…
0
votes
0 answers

Facing issue in restarting the nginx server after few changes

Made few changes in the /etc/nginx/sites-available/default file like changing the listen port number and added few parameters to access the Kibana. when i m restarting the nginx server sudo systemctl start nginx, its throwing error…
0
votes
1 answer

I can't connect to nginx website locally with www, how do I fix this

I'm trying to figure out how to do this and I need help PLEASE!! I am currently running 2 websites with nginx, one as a reverse proxy (running on port 8080) and one regular with 443 and 8083. I need to be able to connect to an API running on the…
Satire
  • 3
  • 2
0
votes
0 answers

Nginx reverse proxy add to URL based on pattern?

I need to add a string to a URL to make nginx show the content properly. I have no idea why it won't show it properly without, but I've found out that adding &SpecialSauce=true to the URL makes it work through nginx. But I only want to add it for…
0
votes
0 answers

Unbound variable proxy_add_x_forwarded_for in nginx entrypoint.sh file

I am using an nginx server to forward requests to a routing service that filters requests based on IP. This routing service is returning a 403 because the X-Forwarded-For header is missing from the request. This is expected behaviour. I am trying to…
0
votes
1 answer

Nginx UI problem with proxy routing when forwarding host/path to specific port

Now the Problem is as shown in the below pictures i need to port forward my incoming trafic from my NOIP domain kucna-mreza.ddns.net to my portainer which is located on the same device and the locak ip is 192.168.2.15 portainer port is 9000 and when…
Peky5
  • 11
  • 6
0
votes
0 answers

Nginx reverse proxy 502 bad gateway

Hello i want to use nginx reverse proxy url parameters but not working. location /redirect { proxy_pass $arg_url; proxy_ssl_server_name on; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection…
leshcode
  • 1
  • 2
0
votes
0 answers

How to use Nginx Reverse Proxy redirect

i want use nginx reserve proxy but I want to use it like this. http://example.com/redirect/http://google.com/search?q=1 I want to redirect the link that comes after the redirect article to that link completely with the referrer, origin information I…
leshcode
  • 1
  • 2
0
votes
0 answers

Unable to delete server from NGINX upstream using API

i'm trying to use NGINX ngx_http_api_module to control list of upstream servers. So far, I had a success with adding new servers to upstream. But I noticed that I'm unable to delete the servers that have been added via API. The server's ID that was…
dcpt
  • 81
  • 1
  • 7
0
votes
0 answers

nginx .Net core webapp: Why should we use proxy and replace default configuration of nginx

According to the fowlloing microsoft page, in order to do the https configuration, we should use proxy and replace the default configuration of nginx.conf by the suggestion of microsoft: Linux with Nginx Before i did this change, everything worked…
Jimy Weiss
  • 568
  • 1
  • 9
  • 25
0
votes
0 answers

Docker COPY files are lost when running nginx reverse proxy

I'm learning docker and I'm trying to publish blazor wasm app into docker container. Here is my docker-compose.yml: version: '3.7' services: reverseproxy: build: context: . dockerfile: nginx/nginx.Dockerfile ports: -…
fingers10
  • 6,675
  • 10
  • 49
  • 87
0
votes
1 answer

Configure Nginx reverse proxy with Mosquitto

Hello I came from this post Configure Nginx reverse proxy for MQTT I have a virtual machine, in this virtual machine I have nginx proxy listening to the port 1885 where the clients connect, and I want to make it redistribute the messages among all…
adrian
  • 97
  • 2
  • 12
0
votes
0 answers

Nginx 502 Error | AWS EC2 | Fastapi server

I have my FastAPI server deployed on AWS EC2 and I am using Nginx as reverse proxy. Also, I am using uvicorm to start fastapi server. When I sent requests from localhost, it successfully send the response to all the endpoint, even if they take more…