Questions tagged [nginx-reverse-proxy]

283 questions
0
votes
0 answers

Nginx as proxy and very slow client weird issue

We have web api with multiple endpoints behind nginx (1.18.0 on Ubuntu 20) proxy. Everything works fine but one scenario. When user whith our company's Android app tries to upload attchment using one specific endpoint to server behind nginx and…
Dadudki
  • 1
  • 1
0
votes
0 answers

access.log of Nginx filling up space (Ubuntu 22 Server)

Recently I have deployed my website using node.js server and using Nginx as reverse proxy, also nginx handles SSL, and forwards the HTTPS to HTTP server of node.js running at specific port. I am using UFW firewall and only allowed OpenSSH and Nginx…
0
votes
1 answer

NGINX proxy fails to disconnect sessions on target Apache server

I have a PHP script running on an Apache server which is responsible for disconnecting all user sessions. For that, it makes a loop that identifies itself as the session that should be disconnected and destroys it. This procedure has no echo. The…
Tom
  • 289
  • 3
  • 13
0
votes
0 answers

NGINX 502 Error on specific page paths

I've utilized Nginx 404 Not Found when entering a specific url path to help be fix a 404 error that has been occuring when I copy any specific page path of my site into the search bar ( ie "example.com/hello" instead of "example.com"). There is no…
bug1827
  • 1
  • 1
0
votes
1 answer

Nginx Reverse Proxy do not load JS and CSS from other server

I have two version of a WebApp, running on two different servers (prod and dev). Prod version is available on exemple.com, and dev version on exemple.com/dev. However, when I set the proxy to load dev version, only the index.html file is loaded, JS…
Guix
  • 103
  • 2
0
votes
1 answer

Nginx - Black list cookies

Is there a way to black list cookies purely through Nginx? I tried this: https://stackoverflow.com/questions/67548886/remove-specific-cookie-in-nginx-reverse-proxy But it doesn't seem to cover cases where there are multiples of the same cookie and…
0
votes
0 answers

how to prevent redirect cloudflare origin domain when we do reverse proxy on nginx

im having problem with my reverse proxy config on nginx, how can i stop domain that using cloudflare to not redirecting to their original domain when we reversing proxy ? listen 443 ssl; server_name 234.234.234.234; ssl_certificate…
Siauz
  • 1
  • 1
0
votes
1 answer

How to reverse proxy host paths to absolute urls using ngix?

I have a series of local services all running on different ports. I'd like to expose these services via a nginx reverse proxy. The routing patterns should follow the pattern: 0.0.0.0/app -> locahost:3000 0.0.0.0/api -> locahost:3001 0.0.0.0/db ->…
Vaune_
  • 1
  • 1
0
votes
1 answer

Nginx Reverse Proxy : using self signed SSL certificate to backend server

I need to accomplish this: User (https using wildcard CA cert 1 year) to --> Nginx reverse proxy (https using self signed cert 10 years) to --> backend server I'm stuck on configuring the connection from Nginx to the backend server. How to add self…
0
votes
0 answers

nginx as reverse proxy for different PHP backends

I maintain two Debian Linux servers, A and B. A is rather old and runs a old PHP installation (5.4), while B runs a newer (7.2). Both run Apache as a web server. Server A uses PHP as a module, while server B uses PHP FPM. What I'd like to do is to…
0
votes
0 answers

Hard coded nginx memory limit

Is there a hard-coded memory limit when using Nginx as a reverse proxy? I don't find any relevant information about this, so I assume there is no limit in nginx itself.
D.Bence
  • 1
  • 2
0
votes
0 answers

Nginx proxy pass issue

I have two site the one is main.domain.com, two is two.domain2.com, domain2 is wordpress blog server in diffrent server that I want use main.domain.com/blog nginx proxy pass to and click the blog page no change the main.domain.com to…
0
votes
0 answers

Nginx reverse proxy to IIS backend not working

New to nginx. I have a VM running Nginx 1.20.1 as a reverse proxy with IP 10.0.0.4. I also have a VM with IIS serving app A with IP 10.0.0.19. The subdomain xyz.test.com.my is pointing to Nginx. From the Nginx VM, I can access app A on IIS using…
Abang
  • 1
  • 1
0
votes
1 answer

Nginx Reverse proxy acme challenge 404 error

I have a vhost which seems to work fine except when trying to generate SSL keep getting errors. Can some one help me to spot what is going wrong please? Thanks example.com: Domain could not be validated, error message: error type:…
Tapash
  • 153
  • 1
  • 6
0
votes
0 answers

Set up nginx to proxy web and ssh by domain?

I'm not a pro with nginx. Please bear with me. I couldn't find a working how-to anywhere in the net. Only old stuff with nginx versions not able to pre-read anything. So this is my last resort, kind of. I want to connect to some servers by…
awado
  • 133
  • 1
  • 8