From 2be94ad0400e2f523d87f47e09a7bf505edef689 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 13 May 2021 17:15:00 +0300 Subject: - Remove unsafe casting (replace with a less unsafe) - Make the static plugin great again (separate plugin) - Revert new behavior Signed-off-by: Valery Piashchynski --- tests/plugins/http/configs/.rr-http-static-files.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/plugins/http/configs/.rr-http-static-files.yaml') diff --git a/tests/plugins/http/configs/.rr-http-static-files.yaml b/tests/plugins/http/configs/.rr-http-static-files.yaml index 5d8b50e8..18c6107d 100644 --- a/tests/plugins/http/configs/.rr-http-static-files.yaml +++ b/tests/plugins/http/configs/.rr-http-static-files.yaml @@ -15,8 +15,7 @@ http: uploads: forbid: [ ".php", ".exe", ".bat" ] static: - dir: "../../../" - pattern: "/tests/" + dir: "../../../tests" allow: [ ".ico" ] forbid: [ ".php", ".htaccess" ] @@ -25,6 +24,7 @@ http: max_jobs: 0 allocate_timeout: 60s destroy_timeout: 60s + logs: mode: development - level: error + level: info -- cgit v1.2.3