atom feed9 messages in ru.sysoev.nginxRe: Disable access by IP and unknown ...
FromSent OnAttachments
Leonardo CrespoMay 10, 2010 11:43 pm 
Igor SysoevMay 10, 2010 11:54 pm 
Leonardo CrespoMay 11, 2010 12:02 am 
Igor SysoevMay 11, 2010 12:15 am 
Leonardo CrespoMay 11, 2010 12:50 am 
MyNameOct 29, 2011 11:06 am 
Nginx UserOct 29, 2011 12:52 pm 
MyNameOct 30, 2011 9:57 am 
Nginx UserOct 30, 2011 10:21 am 
Subject:Re: Disable access by IP and unknown hosts
From:Leonardo Crespo (le@leocrespo.com)
Date:May 11, 2010 12:50:22 am
List:ru.sysoev.nginx

Cheers Igor!

On Tue, May 11, 2010 at 5:16 PM, Igor Sysoev <ig@sysoev.ru> wrote:

On Tue, May 11, 2010 at 05:02:42PM +1000, Leonardo Crespo wrote:

Cheers!

"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?

http://nginx.org/en/docs/http/server_names.html#miscellaneous_names

Thanks

On Tue, May 11, 2010 at 4:55 PM, Igor Sysoev <ig@sysoev.ru> wrote:

On Tue, May 11, 2010 at 04:44:33PM +1000, Leonardo Crespo wrote:

Hi.

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.

http://nginx.org/en/docs/http/request_processing.html#how_to_prevent_undefined_server_names