Re: Unexptected return code

2016-11-09 Thread Maxim Dounin
Hello! On Tue, Nov 08, 2016 at 11:27:36PM -0800, li...@lazygranch.com wrote: > I only serve static pages, hence I have this in my conf file: > > --- > ## Only allow these request methods ## > if ($request_method !~ ^(GET|HEAD)$ ) { > return 444; > } >

Unexptected return code

2016-11-08 Thread li...@lazygranch.com
I only serve static pages, hence I have this in my conf file: --- ## Only allow these request methods ## if ($request_method !~ ^(GET|HEAD)$ ) { return 444; } Shouldn't the return code be 444 instead of 400?