mirror of
https://github.com/MatteZ02/infra.git
synced 2026-10-22 16:05:00 +00:00
Update 000-default.conf
This commit is contained in:
1 parent
a6f8000a5d
commit
b25a5c2acf
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user