mirror of
https://github.com/MatteZ02/infra.git
synced 2024-11-22 10:40:18 +00:00
Update 000-default.conf
This commit is contained in:
parent
a6f8000a5d
commit
b25a5c2acf
@ -88,7 +88,7 @@ server {
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
if ($request_method !~ ^(GET|HEAD|POST)$ )
|
||||
if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE)$ )
|
||||
{
|
||||
return 405;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user