Maxim Dounin Wrote: ------------------------------------------------------- > Hello! > > On Wed, Nov 05, 2014 at 04:32:15AM -0500, bluekyu wrote: > > > Hello. > > > > I want to reject a connection when some errors (400, 403, ...) > occur, so I > > used error code 444 in error_page like this: > > > > error_page 400 =444 @reject_connby bluekyu - Nginx Mailing List - English
Hello. I want to reject a connection when some errors (400, 403, ...) occur, so I used error code 444 in error_page like this: error_page 400 =444 @reject_conn; location @reject_conn { return 444; } When I tested it, the network connection was waiting continuously, not closed (reseted). I wonder if this situation is right. I also searched internet and read a document, but I couldby bluekyu - Nginx Mailing List - English
Hello, everyone. I want to catch all invalid server name (empty AND undefined server name) to prevent invalid access. But I confuse whether my configuration is exactly right. I read two documents. 1. http://nginx.org/en/docs/http/server_names.html#miscellaneous_names 2. http://nginx.org/en/docs/http/request_processing.html#how_to_prevent_undefined_server_names I thought that 'defaultby bluekyu - How to...
![]() |
![]() |
![]() |
![]() |
|