From cc23a1eed665a194b9e0cac638265a86889a5479 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 11 May 2021 11:24:18 +0200 Subject: [PATCH] return method not allowed --- docker/nginx/conf.d/client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/nginx/conf.d/client.conf b/docker/nginx/conf.d/client.conf index 6af30b6f..d1664254 100644 --- a/docker/nginx/conf.d/client.conf +++ b/docker/nginx/conf.d/client.conf @@ -400,7 +400,7 @@ server { } location /skynet/metadata { - limit_except GET PATCH { return 405; } + limit_except GET PATCH { deny all; } include /etc/nginx/conf.d/include/cors;