diff options
author | Valery Piashchynski <[email protected]> | 2020-11-30 12:54:41 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-30 12:54:41 +0300 |
commit | 9402ea1e88d6e63b8b0388ad662d20b727b940d0 (patch) | |
tree | 3a012e3d4a891f35466d53a7e8a3a8f209a249bc /plugins/static/tests/configs/.rr-http-static.yaml | |
parent | b27564251f4dbb8e366a4940d79a5645e2b28d3c (diff) |
Static plugin initial commit
Diffstat (limited to 'plugins/static/tests/configs/.rr-http-static.yaml')
-rw-r--r-- | plugins/static/tests/configs/.rr-http-static.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/static/tests/configs/.rr-http-static.yaml b/plugins/static/tests/configs/.rr-http-static.yaml new file mode 100644 index 00000000..f717dcf8 --- /dev/null +++ b/plugins/static/tests/configs/.rr-http-static.yaml @@ -0,0 +1,30 @@ +server: + command: "php ../../../tests/http/client.php pid pipes" + user: "" + group: "" + env: + "RR_HTTP": "true" + relay: "pipes" + relayTimeout: "20s" + +http: + debug: true + address: 127.0.0.1:21603 + maxRequestSize: 1024 + middleware: [ "gzip", "static" ] + 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" ] + uploads: + forbid: [ ".php", ".exe", ".bat" ] + static: + dir: "../../../tests" + forbid: [ ".php", ".htaccess" ] + request: + "Example-Request-Header": "Value" + # Automatically add headers to every response. + response: + "X-Powered-By": "RoadRunner" + pool: + numWorkers: 2 + maxJobs: 0 + allocateTimeout: 60s + destroyTimeout: 60s
\ No newline at end of file |