Reverse Proxy with multiple IP address

cocofuc88 nginx-forum at forum.nginx.org
Mon Apr 22 09:21:49 UTC 2019


currently on my nginx.conf (development) i using the intraface ip of the
server which is 192.168.1.2 (and only have 1 interface) then forward it to
172.16.98.10 and it works fine. and now i want to use another ip on the
listen, for example 192.168.1.3 but still forward to same server
172.16.98.10, i have try to change the ip on nginx.conf from 192.168.1.2 to
192.168.1.3 but when i restart the service its give me an error like
following

[99]cannot assign requested address

is that problem appear because the 192.168.1.3 ip its not apply on any
interface of the server ?

need your advice about this,

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,283865,283865#msg-283865



More information about the nginx mailing list