summaryrefslogtreecommitdiff
path: root/tests/plugins/http/configs
diff options
context:
space:
mode:
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