summaryrefslogtreecommitdiff
path: root/plugins/http/tests/configs/.rr-http.yaml
blob: c6868f8c3b1a3c2cb68310622969aa06ab6f826e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
rpc:
  listen: tcp://127.0.0.1:6001
  disabled: false

server:
  command: "php ../../../tests/http/client.php echo pipes"
  user: ""
  group: ""
  env:
    "RR_HTTP": "true"
  relay: "pipes"
  relayTimeout: "20s"

http:
  debug: true
  address: 127.0.0.1:18903
  maxRequestSize: 1024
  middleware: [ "pluginMiddleware", "pluginMiddleware2" ]
  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

  ssl:
    port: 8892
    redirect: false
    cert: fixtures/server.crt
    key: fixtures/server.key
  #    rootCa: root.crt
  fcgi:
    address: tcp://0.0.0.0:7921
  http2:
    enabled: false
    h2c: false
    maxConcurrentStreams: 128
logs:
  mode: development
  level: error