Disable access by IP and unknown hosts
leo at leocrespo.com
Tue May 11 11:02:42 MSD 2010
"Note that you should set a name for this server, otherwise nginx will
use the hostname. "
How do I "set a name" for a server in nginx?
On Tue, May 11, 2010 at 4:55 PM, Igor Sysoev <igor at sysoev.ru> wrote:
> On Tue, May 11, 2010 at 04:44:33PM +1000, Leonardo Crespo wrote:
>> How can I disable access by IP to my server and by hosts not defined
>> in server_name?
>> I only have www.domain.com on server_name but people can still access
>> the site via mail.domain.com or by the IP address.
> Igor Sysoev
> nginx mailing list
> nginx at nginx.org
More information about the nginx