summaryrefslogtreecommitdiff
path: root/tests/plugins/http/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-13 17:15:00 +0300
committerValery Piashchynski <[email protected]>2021-05-13 17:15:00 +0300
commit2be94ad0400e2f523d87f47e09a7bf505edef689 (patch)
tree1824c8ee28d0c6ce2884b99d0a4eaa99dcaa9cbb /tests/plugins/http/configs
parent705b69631dc91323c64a19594dcfeca06ea4fa5a (diff)
- Remove unsafe casting (replace with a less unsafe)
- Make the static plugin great again (separate plugin) - Revert new behavior Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http/configs')
-rw-r--r--tests/plugins/http/configs/.rr-http-static-etags.yaml3
-rw-r--r--tests/plugins/http/configs/.rr-http-static-files.yaml6
-rw-r--r--tests/plugins/http/configs/.rr-http-static-security.yaml3
-rw-r--r--tests/plugins/http/configs/.rr-http-static.yaml3
4 files changed, 6 insertions, 9 deletions
diff --git a/tests/plugins/http/configs/.rr-http-static-etags.yaml b/tests/plugins/http/configs/.rr-http-static-etags.yaml
index e18c50dd..b09de0f4 100644
--- a/tests/plugins/http/configs/.rr-http-static-etags.yaml
+++ b/tests/plugins/http/configs/.rr-http-static-etags.yaml
@@ -15,8 +15,7 @@ http:
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
- dir: "../../../"
- pattern: "/tests/"
+ dir: "../../../tests"
forbid: [ "" ]
allow: [ ".txt", ".php" ]
calculate_etag: true
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
diff --git a/tests/plugins/http/configs/.rr-http-static-security.yaml b/tests/plugins/http/configs/.rr-http-static-security.yaml
index bbec13f9..e2e3af2a 100644
--- a/tests/plugins/http/configs/.rr-http-static-security.yaml
+++ b/tests/plugins/http/configs/.rr-http-static-security.yaml
@@ -15,8 +15,7 @@ http:
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
- dir: "../../../"
- pattern: "/tests/"
+ dir: "../../../tests"
forbid: [ "" ]
allow: [ ".txt", ".php" ]
calculate_etag: true
diff --git a/tests/plugins/http/configs/.rr-http-static.yaml b/tests/plugins/http/configs/.rr-http-static.yaml
index bbec13f9..e2e3af2a 100644
--- a/tests/plugins/http/configs/.rr-http-static.yaml
+++ b/tests/plugins/http/configs/.rr-http-static.yaml
@@ -15,8 +15,7 @@ http:
uploads:
forbid: [ ".php", ".exe", ".bat" ]
static:
- dir: "../../../"
- pattern: "/tests/"
+ dir: "../../../tests"
forbid: [ "" ]
allow: [ ".txt", ".php" ]
calculate_etag: true