Skip to content

Commit ae76f7a

Browse files
Merge pull request #2 from Geode-solutions/feature/add_delete_method
Add delete http method
2 parents ce240f4 + 7f245a4 commit ae76f7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ http {
1919
client_max_body_size 0;
2020

2121
location ~ "^/[a-z0-9]{32}/geode/" {
22-
if ($request_method !~ ^(GET|POST|OPTIONS)$) {
22+
if ($request_method !~ ^(DELETE|GET|POST|OPTIONS)$) {
2323
return 405;
2424
}
2525
rewrite "^/[a-z0-9]{32}/geode/(.*)" /$1 break;

0 commit comments

Comments
 (0)