Welcome! Log In Create A New Profile

Advanced

Can /etc/hosts be used with proxy_pass instead of resolver?

Posted by ianthe 
Can /etc/hosts be used with proxy_pass instead of resolver?
November 24, 2011 10:14PM
Can /etc/hosts be used with proxy_pass instead of resolver?

I need to perform a loopback to the same nginx machine. Is there a way to resolve the domains using the machine's /etc/hosts file instead of specifying a DNS server?

Thanks for any advice you could share..
Re: Can /etc/hosts be used with proxy_pass instead of resolver?
December 19, 2011 05:14AM
Posted an answer at http://stackoverflow.com/questions/8305015/when-using-proxy-pass-can-etc-hosts-be-used-to-resolve-domain-names-instead-of/8559797#8559797
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 121
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