Welcome! Log In Create A New Profile

Advanced

Re: Disable access by IP and unknown hosts

May 11, 2010 04:00AM
Cheers Igor!

On Tue, May 11, 2010 at 5:16 PM, Igor Sysoev <igor@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 <igor@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
>> >
>> >
>> > --
>> > Igor Sysoev
>> > http://sysoev.ru/en/
>> >
>> > _______________________________________________
>> > nginx mailing list
>> > nginx@nginx.org
>> > http://nginx.org/mailman/listinfo/nginx
>> >
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://nginx.org/mailman/listinfo/nginx
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Disable access by IP and unknown hosts

leocrespo May 11, 2010 02:52AM

Re: Disable access by IP and unknown hosts

Igor Sysoev May 11, 2010 02:58AM

Re: Disable access by IP and unknown hosts

leocrespo May 11, 2010 03:06AM

Re: Disable access by IP and unknown hosts

Igor Sysoev May 11, 2010 03:20AM

Re: Disable access by IP and unknown hosts

leocrespo May 11, 2010 04:00AM

Re: Disable access by IP and unknown hosts

MyName October 29, 2011 02:06PM

Re: Disable access by IP and unknown hosts

Nginx User October 29, 2011 03:54PM

Re: Disable access by IP and unknown hosts

MyName October 30, 2011 12:57PM

Re: Disable access by IP and unknown hosts

Nginx User October 30, 2011 01:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready