summaryrefslogtreecommitdiff
path: root/plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-30 11:24:00 +0300
committerGitHub <[email protected]>2020-11-30 11:24:00 +0300
commita7f1952bc80f28985dde7da6446342a774464e24 (patch)
tree12e1261102ff417f5d4077ce34f754527a135478 /plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml
parentb5020bfce6b5362400cb9b578fe32c1a6ed5d61a (diff)
parentb27564251f4dbb8e366a4940d79a5645e2b28d3c (diff)
Merge pull request #418 from spiral/plugin/gzip
Gzip plugin
Diffstat (limited to 'plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml')
-rw-r--r--plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml b/plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml
new file mode 100644
index 00000000..df02c043
--- /dev/null
+++ b/plugins/gzip/tests/configs/.rr-http-middlewareNotExist.yaml
@@ -0,0 +1,22 @@
+server:
+ command: "php psr-worker.php"
+ user: ""
+ group: ""
+ env:
+ "RR_HTTP": "true"
+ relay: "pipes"
+ relayTimeout: "20s"
+
+http:
+ debug: true
+ address: 127.0.0.1:18103
+ maxRequestSize: 1024
+ middleware: [ "gzip", "foo" ]
+ uploads:
+ forbid: [ ".php", ".exe", ".bat" ]
+ trustedSubnets: [ "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" ]
+ pool:
+ numWorkers: 2
+ maxJobs: 0
+ allocateTimeout: 60s
+ destroyTimeout: 60s \ No newline at end of file