From 9e52ad9d6936363f16f83868071616726729868c Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 25 Jan 2024 06:21:25 +0100 Subject: [PATCH] fix https://github.com/ZoeyVid/NPMplus/commit/1045ccf592c86bf38e938b607c23235480e6aa07#commitcomment-137760709 Signed-off-by: Zoey --- .../usr/local/nginx/conf/conf.d/include/block-exploits.conf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rootfs/usr/local/nginx/conf/conf.d/include/block-exploits.conf b/rootfs/usr/local/nginx/conf/conf.d/include/block-exploits.conf index 09019997..329f6c13 100644 --- a/rootfs/usr/local/nginx/conf/conf.d/include/block-exploits.conf +++ b/rootfs/usr/local/nginx/conf/conf.d/include/block-exploits.conf @@ -16,10 +16,6 @@ if ($query_string ~ "[a-zA-Z0-9_]=http://") { return 403; } -if ($query_string ~ "[a-zA-Z0-9_]=https://") { - return 403; -} - if ($query_string ~ "[a-zA-Z0-9_]=(\.\.//?)+") { return 403; }