diff options
author | Valery Piashchynski <[email protected]> | 2021-06-03 20:02:18 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-03 20:02:18 +0300 |
commit | 0323e070103cc2c30d2cdfb12719d753acafe151 (patch) | |
tree | fd71da071040f22dab2fbca7d89fc8e4f92c81cf /tests/plugins/http/configs/.rr-fcgi.yaml | |
parent | c3e57fd82d59be19b2c41479e9019c60a0afc28f (diff) | |
parent | 22e56524281c91aed3acaf5467be1de96798964b (diff) |
#702 fix(fcgi): use fcgi server in the `applyMiddlewares` for the `serveFCGI`
#702 fix(fcgi): use fcgi server in the `applyMiddlewares` for the `serveFCGI`
Diffstat (limited to 'tests/plugins/http/configs/.rr-fcgi.yaml')
-rw-r--r-- | tests/plugins/http/configs/.rr-fcgi.yaml | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/tests/plugins/http/configs/.rr-fcgi.yaml b/tests/plugins/http/configs/.rr-fcgi.yaml index c749e42b..b0060d85 100644 --- a/tests/plugins/http/configs/.rr-fcgi.yaml +++ b/tests/plugins/http/configs/.rr-fcgi.yaml @@ -1,16 +1,16 @@ server: command: "php ../../http/client.php echo pipes" - user: "" - group: "" - env: - "RR_HTTP": "true" relay: "pipes" relay_timeout: "20s" http: address: :8081 max_request_size: 1024 - middleware: [ "" ] + middleware: [ "gzip" ] + static: + dir: "../../../tests" + forbid: [ "" ] + allow: [ ".txt", ".php" ] uploads: forbid: [ ".php", ".exe", ".bat" ] 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" ] @@ -20,12 +20,6 @@ http: allocate_timeout: 60s destroy_timeout: 60s - ssl: - address: :8889 - redirect: false - cert: fixtures/server.crt - key: fixtures/server.key - # root_ca: root.crt fcgi: address: tcp://0.0.0.0:6920 http2: @@ -33,4 +27,4 @@ http: maxConcurrentStreams: 128 logs: mode: development - level: error
\ No newline at end of file + level: error |