Welcome! Log In Create A New Profile

Advanced

server_name "" 444 и 200

March 14, 2013 09:10AM
Привет.

Хочется сделать исключение в таком server. Что бы на /check отвечало 200, а остальных ботов в 444. Как лучше?

server {
listen *:80 default;
server_name _ "";
location = /check{
return 200;
}
return 444;

}
Subject Author Posted

server_name "" 444 и 200

anon March 14, 2013 09:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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