I install nginx as a reverse proxy. If I use:
proxy_pass http://127.0.0.1:81
it does not work. But if I use:
proxy_pass http://domain.com:81
it works. And I can use browser to access to http://domain.com:81
and http://ip:81
Could anyone explain for me?