Questions tagged [nginx-reverse-proxy]

283 questions
0
votes
1 answer

can nginx block incoming headers as reverse proxy / uwsgi client

I am using nginx and would like to block certain incoming headers, such, that uwsgi never receives these headers a server / service that I proxy to will not receive them How can I achieve this
gelonida
  • 259
  • 3
  • 16
0
votes
0 answers

can nginx distinguish http headers with underscors from headers with a dash

I have one server where I have one HTTP header that contains an underscore (example X_MYHEADER) all other headers do not use underscores. Therefore I enabled the option underscores_in_headers on; Now I'm asking myself whether I could distinguish a…
gelonida
  • 259
  • 3
  • 16
0
votes
0 answers

Write override-config.yml to reverse proxy domain path to cloud service with nginx-proxy-automation?

I am using https://github.com/evertramos/nginx-proxy-automation/ and it has as a component https://github.com/nginx-proxy/docker-gen. I would like to proxy a location on my host https://someurl.com/consumer -> …
0
votes
0 answers

Revese proxy fails to forward requests to port

I have a server where I want setup a reverse proxy with nginx to handle HTTPS traffic to an app in a docker container. Below is the config file in /etc/nginx/sites-enabled. It is based on this guide and the ssl setup done automatically by certbot…
shs
  • 101
  • 2
0
votes
1 answer

NextCloud FPM Docker Image behind an NGinX Docker Container as Proxy Reverse

The Issue - I'm getting a 404 - File not Found when trying to access the App (Including First Time) When trying to access the App on a browser via nextcloud.example.com I'm getting this Error from the Console Log of the NextCloud FMP Docker…
0
votes
1 answer

Disabling Nginx's proxy buffering doesn't synchronize the response

My understand on disabled Nginx's proxy buffering is that the app server will wait the client to respond instead of Nginx, so I should see many open connections, but it's not the case in my testing. Setup: client (10.2.0.7) <===> Nginx (10.2.0.5)…
Belive
  • 103
  • 4
0
votes
0 answers

Nginx reverse proxy requires internal port to work when redirecting traffic to Docker host machine

I've been using a Linux host machine with several docker containers running with one of those as Nginx Proxy Manager (from now on: NPM), which is just Nginx with a friendly UI. NPM exposes ports 80 and 443 and redirects traffic to each container as…
0
votes
1 answer

how do i network VMs when only one IP available ? (proxmox)

sorry if the question has already been asked but cannot find an answer for my usecase. The problem: we have a server in a datacenter colocation, this server is connected to the DC network and has access to two IPs, one (10.8.x.x) that is only…
0
votes
0 answers

nginx reverse poxy to a service on another wireguard peer

Before asking this question, I already self-searched but no solutions. I have lots of services on my home server, and I bind it with a VPS by Wireguard (confirmed they can find each other). I hope to use nginx on VPS to reverse proxy to these…
0
votes
2 answers

nginx mirror traffic configuration issues

I am trying to mirror the SNMP trap across multiple servers. It uses TCP/IP traffic. I am using nginx to complete this but i am getting the following error vsrsadmin@TRAP02:~$ sudo nginx -t nginx: [emerg] "location" directive is not allowed here in…
Rohan Raj
  • 1
  • 1
0
votes
1 answer

[Wordpress][CACHE] Fastcgi_cache or proxy_cache?

I'm preparing a server to host a classic WordPress site (lots of dynamic content). I have an apache server associated with a Nginx reverse proxy ( with the proxy_pass configuration ). I have several ideas to advance my NGINX configuration: A)…
0
votes
0 answers

Trouble getting NGINX to serve static content for specific directory from CDN via proxy

I would like to serve static files from my remote CDN URL: https://my.cdn.com/project/files/2023/01/some_image.png https://my.cdn.com/project/files/2021/04/some_file.txt These need to be reached via proxy from my website URLs (without redirecting)…
Ren
  • 11
  • 2
0
votes
0 answers

nginx redirect to the proxy-host instead the public host

Authelia works, first of all I open in browser https://ads.target.org, then redirected to https://auth.target.org/?rd=https%3A%2F%2Fads.target.org%2F After authentication, I redirected to https://192.168.1.14:7100 - this is upstreamed proxy-host of…
0
votes
1 answer

nginx returns 499 with 110: Connection timed out in error log

I can't get over the nginx 60s timeout. If I access the node server directly at 8000 it works, through nginx as reverse proxy it always times out after 60s. I have tried every timeout setting I have read on my google journey regarding this…
0
votes
1 answer

map nginx $request_uri to port

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 } location /path2 { proxy_pass 127.0.0.1:10001 } I…
FIFO
  • 1
  • 1