diff options
author | Valery Piashchynski <[email protected]> | 2021-08-19 19:38:52 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-19 19:38:52 +0300 |
commit | bea5916c57469cd75102cde07a7a6c62914c74f0 (patch) | |
tree | 3b5bde4c20d705b4742f1c80b9ebcc5e02372c3a /tests/plugins/http/configs | |
parent | 324407b3e2d779143be65872993c4d091abb1d38 (diff) |
Add support for the IPv6
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/http/configs')
-rw-r--r-- | tests/plugins/http/configs/.rr-http-ipv6-2.yaml | 24 | ||||
-rw-r--r-- | tests/plugins/http/configs/.rr-http-ipv6.yaml | 24 |
2 files changed, 48 insertions, 0 deletions
diff --git a/tests/plugins/http/configs/.rr-http-ipv6-2.yaml b/tests/plugins/http/configs/.rr-http-ipv6-2.yaml new file mode 100644 index 00000000..233a22b4 --- /dev/null +++ b/tests/plugins/http/configs/.rr-http-ipv6-2.yaml @@ -0,0 +1,24 @@ +rpc: + listen: tcp://[::1]:6001 + +server: + command: "php ../../http/client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +http: + address: "[::1]:10784" + max_request_size: 1024 + middleware: [] + 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" ] + pool: + num_workers: 2 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s +logs: + mode: development + level: error + diff --git a/tests/plugins/http/configs/.rr-http-ipv6.yaml b/tests/plugins/http/configs/.rr-http-ipv6.yaml new file mode 100644 index 00000000..cb768159 --- /dev/null +++ b/tests/plugins/http/configs/.rr-http-ipv6.yaml @@ -0,0 +1,24 @@ +rpc: + listen: tcp://[0:0:0:0:0:0:0:1]:6001 + +server: + command: "php ../../http/client.php echo pipes" + relay: "pipes" + relay_timeout: "20s" + +http: + address: "[0:0:0:0:0:0:0:1]:10684" + max_request_size: 1024 + middleware: [] + 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" ] + pool: + num_workers: 2 + max_jobs: 0 + allocate_timeout: 60s + destroy_timeout: 60s +logs: + mode: development + level: debug + |