summaryrefslogtreecommitdiff
path: root/tests/plugins/static/configs/.rr-http-static-disabled.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/static/configs/.rr-http-static-disabled.yaml')
-rw-r--r--tests/plugins/static/configs/.rr-http-static-disabled.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/plugins/static/configs/.rr-http-static-disabled.yaml b/tests/plugins/static/configs/.rr-http-static-disabled.yaml
index e31baffc..9f04b8a9 100644
--- a/tests/plugins/static/configs/.rr-http-static-disabled.yaml
+++ b/tests/plugins/static/configs/.rr-http-static-disabled.yaml
@@ -11,7 +11,7 @@ http:
debug: true
address: 127.0.0.1:21234
max_request_size: 1024
- middleware: [ "gzip", "static" ]
+ middleware: [ "gzip" ]
trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
@@ -19,10 +19,9 @@ http:
dir: "abc" #not exists
forbid: [ ".php", ".htaccess" ]
request:
- "Example-Request-Header": "Value"
- # Automatically add headers to every response.
+ Example-Request-Header: "Value"
response:
- "X-Powered-By": "RoadRunner"
+ X-Powered-By: "RoadRunner"
pool:
num_workers: 2
max_jobs: 0