Welcome! Log In Create A New Profile

Advanced

reverse proxying towards various hardware devices

Paul Swielingen
January 23, 2010 10:48AM
Hi all,

I need some help with NGINX reverse proxying setup.

The problem: make several devices accessible through a single IP
address.
my current configuration works:
1) For some devices: fine
2) For other devices: for a large part
3) For still other devices: hardly

I analyzed the reason for 2) and 3) above and it comes down to: as soon
as such a device returns a page with links that starts with a / clicking
the link fails. The reason for this is that the reverse proxy no longer
recognizes the request as destined for the particular device.

The relevant part from my nginx.conf file:

server {
listen xxxxx.yyyyyy.zzzz.com:80;

location / {
root /var/mine/data;
index index.html;
}

location /spa3000-1/ { # forward to device
proxy_pass http://spa3000-1.xxxxx.yyyyyy.zzzz.com/;
}
....
similar configs for other devices
....
}

I am aware that I could destine all these devices to their own port but
I don't want to do that because securing them will become very
difficult. Therefore I don't want to take that path.

I know of the existence of referrers but I do not understand how to
approach using that. Anybody can help me?

kind regards
Paul Swielingen
--
Posted via http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

reverse proxying towards various hardware devices

Paul Swielingen January 23, 2010 10:48AM

Re: reverse proxying towards various hardware devices

Maxim Dounin January 23, 2010 01:46PM

Re: reverse proxying towards various hardware devices

Paul Swielingen January 24, 2010 07:58AM

Re: reverse proxying towards various hardware devices

Maxim Dounin January 24, 2010 05:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready