Hi, I am using Nginx as reverse Proxy, during testing I have noticed a situation Nginx receives response from upstream server even no request has been sent yet from Nginx side. The scenario is that the "Upstream Server" started to transfer data just after the connection has established without waiting to request from Nginx, Nginx receives all the response and does not send the Proxiedby hagaizzz - Nginx Mailing List - English
Hi I thought HEAD should behave as GET only in case of success after reading the RFC I understand it's should be the same on any response Thanks On Wed, May 29, 2013 at 3:10 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Wed, May 29, 2013 at 02:49:46PM +0300, Hagai Avrahami wrote: > > > Hi > > > > I am trying to configure Nginx to deny HTTP HEADby hagaizzz - Nginx Mailing List - English
Hi I am trying to configure Nginx to deny HTTP HEAD requests 1. By adding the following to configuration file if ($request_method !~ ^(GET)$) { return 405; } 2. Explicitly in the module if (!(r->method & (NGX_HTTP_GET))) { return NGX_HTTP_NOT_ALLOWED; } Nginx returns 405 status code but the response content length is not 0 it's counting the error page text but when comingby hagaizzz - Nginx Mailing List - English
Hi I am trying to resend (with small modification..) my request for help Many Thanks Hagai ---------------------------------------------------------------------------------------------- Hi Is there any way to deny all requests with body? I know I can set set client_max_body_size to 1 (byte) But.. in that case Nginx reads all body request before finalizing the request. In case of requests with bby hagaizzz - Nginx Mailing List - English
Hi Is there any way to deny all requests with body? I know I can set set client_max_body_size to 1 (byte) But.. in that case Nginx reads all body request before finalizing the request. In case of requests with body as part of attack I would like to close the connection immediately without wasting any processing on that request. *I thought changing the code (ngx_http_core_module.c:996) from:* iby hagaizzz - Nginx Mailing List - English
Hi I am intend to use NGINX (LINUX) for serving static files with high concurrency and bandwidth. Some of the files is served from the disk and some from cache. I am trying to find the configuration for best performance. I have some questions regarding NGINX configuration. 1. *output_buffers 1 32k* ---------------------------------------- This directive excepts 2 inputs can someone explain meby hagaizzz - Nginx Mailing List - English