Welcome! Log In Create A New Profile

Advanced

Re: drop connection

Fedor Dikarev
December 21, 2018 03:58AM
21.12.2018 8:34, inkognito0609 пишет:
> Доброго времени суток!
>
> Кейс такой, на NS прописан 'wildcard *.exemple.com', директивой server_name
> разгуливаю на бэкенды.
>
> При наборе разной белиберды - 'asdfgasdg.exemple.com' отправляет на первый
> server_name.
> Сделал заглушку типа 'server_name _;' которая кидает на 404.
> Как совсем дропать имена которые не заданы в конфиге?

return 444; ?

>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?21,282435,282435#msg-282435
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

drop connection

inkognito0609 December 21, 2018 12:34AM

Re: drop connection

Fedor Dikarev December 21, 2018 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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