NGINX reverse proxy different backends
from:

Hey there,

I am just new to NGINX.

I set up NGINX as a reverse proxy from subdomain.example.com which affects the internal ip 192.168.xxx.x . This works great.

For now I want to reach another server in my network, let it call 192.168.xxx.Y .

The Y should be available under subdomain.example.com/Y .

How do I have to configure NGINX?

This is my first try - which does not work:

server {
listen 80;
server_name subdomain.example.com;

location / {
proxy_pass htp://192.xxx.xxx.x:80;
}...

NGINX reverse proxy different backends

Poster :
Domino1707