Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 323 Bytes
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
### This file contains a map directive that is used to block the
### invocation of HTTP methods. Out of the box it allows for HEAD, GET and POST.
map $request_method $not_allowed_method {
default 1;
GET 0;
HEAD 0;
POST 0;
}
Jump to Line
Something went wrong with that request. Please try again.