From 3c585488da36b8cef978733a04084bc35cc4be6c Mon Sep 17 00:00:00 2001 From: JulienChampagnol Date: Thu, 9 Nov 2023 11:23:29 +0100 Subject: [PATCH] fix(methods): add put method to viewer --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 45ae4ba..ca555c7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -19,7 +19,7 @@ http { client_max_body_size 0; location ~ "^/[a-z0-9]{32}/geode/" { - if ($request_method !~ ^(DELETE|GET|POST|OPTIONS)$) { + if ($request_method !~ ^(DELETE|GET|POST|PUT|OPTIONS)$) { return 405; } rewrite "^/[a-z0-9]{32}/geode/(.*)" /$1 break;