# HG changeset patch # User Ruslan Ermilov # Date 1318239551 0 # Node ID e9948ec6286b9d2a96fdb0def63a3e6b53e01c14 # Parent 6327603448e2c46c5a1bbe2b2f24d21e3798ceb6 Removed the pre-0.7.11 tip for "How to prevent processing requests with undefined server names". diff --git a/xml/en/docs/http/request_processing.xml b/xml/en/docs/http/request_processing.xml --- a/xml/en/docs/http/request_processing.xml +++ b/xml/en/docs/http/request_processing.xml @@ -92,24 +92,6 @@ Since version 0.8.48, this is the defaul server name, so the server_name "" can be omitted. In earlier versions, the machine's hostname was used as a default server name. - - -Versions prior to 0.7.11 did not support an empty server name, -so another configuration was needed to achieve the same effect: - - -server { - listen 80 default; - server_name _; - return 444; -} - - -A non-existent domain name “_” is used as the server name, the server -should be the first or marked as default. -Note that the server name must be set explicitly here, otherwise nginx -will use the hostname. -