summaryrefslogtreecommitdiff
path: root/src/daq/s5proxy/sample.json
blob: 5200bcab1fec56eee83bf8f19044bf94a511c320 (plain) (blame)
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
45
46
47
48
49
50
51
52
53
{
    "listen": ":8443",
    "protocol": "http+https",
    "redirect2https": 301,
    "tls": {
        "certificate": "fullchain.pem",
        "certificate-key": "private.key",
        "min-protocol-version": "TLSv1",
        "ciphers": [
            "ECDHE_RSA_WITH_AES_256_GCM_SHA384",
            "ECDHE_RSA_WITH_AES_256_CBC_SHA",
            "RSA_WITH_AES_256_GCM_SHA384",
            "RSA_WITH_AES_256_CBC_SHA"
        ],
        "prefer-server-ciphers": true,
        "ecdh-curves": [
            "secp521r1",
            "secp384r1",
            "secp256r1"
        ]
    },
    "connect": "http://flumotion-worker-emc-01:8000",
    "request_header": [
        { "op": "del", "header": "X-Forwarded-For" }
    ],
    "response_header": [
        { "op": "set", "header": "Cache-Control", "value": "no-cache" },
        { "op": "add", "header": "Cache-Control", "value": "no-store" },
        { "op": "add", "header": "Cache-Control", "value": "must-revalidate" },
        { "op": "add", "header": "Cache-Control", "value": "max-age=0" },
        { "op": "time", "header": "Expires", "value": "-1s" }
    ],
    "locations": {
        "/hls/": { "connect": "http://nginx-streamer-emc-01:8000" },
        "/dash/": { "connect": "http://nginx-streamer-emc-01:8000" }
    },
    "sfive": {
        "socket": "../../hub/test/pipegram",
        "hostname": "public1",
        "tags": [ "hello", "world" ],
        "duration": "15s",
        "matches": [
            {
                "format" : "/${content}-${format}-${quality}",
                "streams":"av-orig/flash,webm/high,medium,low,mini"
            },
            {
                "format" : "/${format}/${content}-${quality}",
                "streams": "av-orig/dash,hls/high,medium,low,mini"
            }
        ]
    }
}