Questions tagged [nginx-reverse-proxy]

283 questions
0
votes
1 answer

nginx Reverse-Proxy: using stream module for passthrough and reverse proxy

I use the stream module in order to passthrough tls traffic where I cannot reverse proxy, e.g. because I dont have the certificate (local 3CX install) or it breaks stuff (ssl vpn with client cert). I then forward the "rest" to a different IP on the…
Questi
  • 13
  • 5
0
votes
0 answers

Hosting 2 apps on different ports using nginx proxy_pass

Why does the proxy_pass http://backends/; under the location /textcat bring me to the root of the server (localhost:8081) and proxy_pass http://backends; (no trailing /) brings me to (seemingly) localhost:8081/textcat. I am trying to host two…
Kevin
  • 223
  • 3
  • 7
0
votes
2 answers

nginx reverse proxy 404 with two servers

I have a problem with my NGINX configuration. I have two webservers running on windows servers. Which one is called from outside with 443 and then should be forwarded to the server with 41001. The second server block should be called the FQDN and…
0
votes
1 answer

Why can I write one set of URLs but not others with NGINX?

I've set up NGINX, version 1.18.0, as reverse proxy for my Apache Superset 1.4.0 installation. I'm trying to capture some URL patterns, and rewrite them by adding standalone=1 at the end. The following NGINX configuration works as expected: location…
Emre Sevinç
  • 239
  • 3
  • 7
  • 15
0
votes
1 answer

Using Nginx as both a webserver and reverse proxy causing problems

I'm trying to setup Nginx as both a webserver for wordpress and as a reverse proxy, to serve both pihole (Which is using lighttpd) and various other servers. However, after configuring, I'm having a weird problem. When I have my reverse-proxy.conf…
ProGamer1
  • 13
  • 1
0
votes
1 answer

Nginx Proxy Manager proxy_pass not working

On Nginx Proxy Manager I have this configuration (names redacted) # ------------------------------------------------------------ # www.lab.myself.it # ------------------------------------------------------------ server { set $forward_scheme…
0
votes
1 answer

NGINX long delays when completing proxied WebDAV uploads

I have an internal IIS server running WebDAV being used directly for file uploads and downloads from an android application. My internal DNS resolves the https://webdav.mydomain.com directly to IIS (bypassing NGINX) and this internal communication…
BenH
  • 61
  • 1
  • 5
0
votes
1 answer

Nginx access log file in every x minute

I need to read the access log from nginx, do some post processing and send it as a csv to another server. But by default nginx generates access log in one single file. Is there any way to create the access log files every x minute? for example x=10…
0
votes
1 answer

How to reverse proxy specific extension names with Nginx

Say I am trying to proxy all requests coming in for jpg, png and mp3 files like so: http://example.com/some/url/file.png to http://example.net/data/some/url/file.png Notice it's the exact same path to another server but with data added. Her's what I…
Shaunak
  • 103
  • 3
-1
votes
0 answers

Nginx Reverse Proxy working on wrong server_name (Sub domain ignored)

I have a created new Nginx server which I am using for reverse proxy for my 2 NodeJS apps. First app I need to run on example.com Second app I need to run on endpoint.example.com I created the file endpoint.example.com in sites-available as…
Aayush
  • 97
  • 4
-1
votes
1 answer

I try to use nginx as a reverse proxy with validating client certifikate and I want to check OU in client certificate. Always return 404

Here is my configuration. server { listen 443 ssl default_server; listen [::]:443 ssl default_server; server_name _; ssl_certificate /etc/ssl/certs/nginx-self.crt; ssl_certificate_key…
sqra
  • 1
  • 1
-1
votes
1 answer

My location restriction to admin panel is not working in Nginx

My website is at https://www.example.com and I have a CMS Panel at https://www.example.com/administrator -> 301 -> https://www.example.com/administrator/ -> 302 https://www.example.com/administrator/Login.aspx?Session=Out And I am trying to…
Blason R
  • 29
  • 3
-1
votes
1 answer

Unable to get subdomain to connect to MariaDB

So far I can reach the DB from the main domain lets say example.com but connection from the subdomain lets say portal.example.com, don't work. I am currently running Nginx & Varnish & Apache on CWP7PRO. I have basic user data on the database and…
Sam
  • 1
  • 3
1 2 3
18
19