{ "apps": { "cache": { "Storers": null, "SurrogateStorage": null, "allowed_http_verbs": [ "GET", "POST" ], "api": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": true, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": true, "security": false } }, "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": { "dynamic": true, "strategy": "hard" }, "default_cache_control": "public", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": [], "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "/test2.*" }, "stale": "0s", "storers": null, "timeout": { "backend": "10s", "cache": "100ms" }, "ttl": "16m40s" }, "http": { "servers": { "srv0": { "listen": [ ":4443" ], "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" } ], "match": [ { "path": [ "/souin-api*" ] } ] }, { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" } ], "match": [ { "path": [ "/default" ] } ] }, { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" } ], "match": [ { "path": [ "/test1*" ] } ] }, { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "50s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" } ], "match": [ { "path": [ "/test2*" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "Another", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" } ] } ] } ], "match": [ { "path": [ "/another-cache-status-name" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": { "Dir": "/tmp/badger-configuration", "MemTableSize": 4194304, "ValueDir": "match2", "ValueLogFileSize": 16777216, "ValueThreshold": 524288 }, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "15s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello badger", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/badger-configuration" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": { "body": { "disable_body": true }, "everything-with-content-type": { "disable_method": true, "headers": [ "Content-Type" ] }, "host": { "disable_host": true }, "method": { "disable_method": true } } }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello to the authenticated user.", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/custom-key/without-*" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": true, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": { "ClientName": "souin-redis", "InitAddress": [ "127.0.0.1:6379" ], "SelectDB": 0 }, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello redis", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/redis-configuration" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": { "/.+": { "headers": [ "Authorization" ] } } }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Souin-Cache-Control": [ "public" ] } } }, { "body": "Hello to the authenticated user.", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/cache-authorization" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": true, "etcd": { "configuration": { "AutoSyncInterval": "1s", "DialKeepAliveTime": "1s", "DialKeepAliveTimeout": "1s", "DialTimeout": "1s", "Endpoints": [ "etcd:2379", "etcd:2379" ], "MaxCallRecvMsgSize": "10000000", "MaxCallSendMsgSize": "10000000", "PermitWithoutStream": "false", "RejectOldCluster": "false" }, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello etcd", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/etcd-configuration" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": { "Servers": "nats://127.0.0.1:4222" }, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello nats", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/nats-configuration" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": { "Dir": "/tmp/nuts-configuration", "EntryIdxMode": "1", "NodeNum": "42", "RWMode": "0", "SegmentSize": "1024", "StartFileLoadingMode": "1", "SyncEnable": "true" }, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "15s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello nuts", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/nuts-configuration" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "reverse_proxy", "upstreams": [ { "dial": "127.0.0.1:9000" } ] } ] } ] } ], "match": [ { "path": [ "/no-reverse-proxy" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "1s", "cache": "1ms" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "reverse_proxy", "upstreams": [ { "dial": "127.0.0.1:8081" } ] } ] } ] } ], "match": [ { "path": [ "/backend-timeout" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "5s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "must-revalidate" ] } } }, { "handler": "reverse_proxy", "upstreams": [ { "dial": "127.0.0.1:81" } ] } ] } ] } ], "match": [ { "path": [ "/must-revalidate" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "bypass_response", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "no-cache, no-store" ] } } }, { "body": "Hello bypass_response", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/bypass_response" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "strict", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "no-cache, no-store" ] } } }, { "body": "Hello strict", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/strict_response" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Content-Type": [ "text/html" ] } } }, { "body": "\u003ch1\u003eALTERNATE ESI INCLUDE\u003c/h1\u003e", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/alt-esi-include" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "s-maxage=10" ] } } }, { "body": "Hello, s-maxage!", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/cache-s-maxage" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "5s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "3s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "max-age=5" ] } } }, { "body": "Hello, max-age!", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/cache-maxstale" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Surrogate-Key": [ "KEY-{http.request.header.X-Surrogate-Key-Suffix}" ] } } }, { "handler": "headers", "response": { "set": { "Vary": [ "X-Surrogate-Key-Suffix,Accept-Encoding" ] } } }, { "body": "Hello {http.request.header.X-Surrogate-Key-Suffix}", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/surrogate-keys" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "bypass_request", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello bypass_request", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/bypass_request" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "strict", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello strict", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/strict_request" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "max-age=5" ] } } }, { "body": "Hello, max-age!", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/cache-maxage" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "reverse_proxy", "upstreams": [ { "dial": "127.0.0.1:9000" } ] } ] } ] } ], "match": [ { "path": [ "/not-modified" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Content-Type": [ "text/html" ] } } }, { "body": "\u003ch1\u003eESI INCLUDE\u003c/h1\u003e", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/esi-include" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": true, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "127.0.0.1:6379" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello redis url", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/redis-url" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "reverse_proxy", "upstreams": [ { "dial": "127.0.0.1:81" } ] } ] } ] } ], "match": [ { "path": [ "/stream" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "bypass", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Cache-Control": [ "no-store" ] } } }, { "body": "Hello bypass", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/bypass" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": true, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": { "ClientName": "souin-redis", "InitAddress": [ "127.0.0.1:6379" ], "SelectDB": 0 }, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello redis", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/redis" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": true, "etcd": { "configuration": { "AutoSyncInterval": "1s", "DialKeepAliveTime": "1s", "DialKeepAliveTimeout": "1s", "DialTimeout": "1s", "Endpoints": [ "etcd1:2379", "etcd2:2379", "etcd3:2379" ], "MaxCallRecvMsgSize": "10000000", "MaxCallSendMsgSize": "10000000", "Password": "doe", "PermitWithoutStream": "false", "RejectOldCluster": "false", "Username": "john" }, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello etcd", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/etcd" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "nats://127.0.0.1:4222" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "5s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "body": "Hello nats", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/nats" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "15s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Vary": [ "X-Something" ] } } }, { "body": "Hello {http.request.header.X-Something}", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/vary" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "encodings": { "gzip": {} }, "handler": "encode", "minimum_length": 5, "prefer": [ "gzip" ] }, { "handler": "headers", "response": { "set": { "Content-Type": [ "text/plain" ] } } }, { "body": "Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip. Hello, gzip.", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/gzip" ] } ] }, { "handle": [ { "handler": "subroute", "routes": [ { "handle": [ { "Configuration": { "API": { "basepath": "", "debug": { "basepath": "", "enable": false, "security": false }, "prometheus": { "basepath": "", "enable": false, "security": false }, "security": { "basepath": "", "enable": false, "secret": "", "users": null }, "souin": { "basepath": "", "enable": false, "security": false } }, "DefaultCache": { "allowed_http_verbs": [], "badger": { "configuration": null, "path": "", "url": "" }, "cache_name": "", "cdn": {}, "default_cache_control": "", "disable_coalescing": false, "distributed": false, "etcd": { "configuration": null, "path": "", "url": "" }, "headers": null, "key": {}, "mode": "", "nats": { "configuration": null, "path": "", "url": "" }, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "regex": { "exclude": "" }, "stale": "0s", "storers": null, "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, "LogLevel": "", "SurrogateKeys": null, "URLs": null, "cache_keys": {} }, "badger": { "configuration": null, "path": "", "url": "" }, "etcd": { "configuration": null, "path": "", "url": "" }, "handler": "cache", "key": {}, "nuts": { "configuration": null, "path": "", "url": "" }, "olric": { "configuration": null, "path": "", "url": "" }, "otter": { "configuration": null, "path": "", "url": "" }, "redis": { "configuration": null, "path": "", "url": "" }, "stale": "0s", "timeout": { "backend": "0s", "cache": "0s" }, "ttl": "0s" }, { "handler": "headers", "response": { "set": { "Content-Type": [ "text/html" ] } } }, { "body": "\u003cesi:include src=\"http://localhost:4443/esi-include\" alt=http://localhost:4443/alt-esi-include /\u003e", "handler": "static_response" } ] } ] } ], "match": [ { "path": [ "/esi" ] } ] }, { "handle": [ { "body": "Hello World!", "handler": "static_response" } ] } ] } } } }, "logging": { "logs": { "default": { "level": "debug" } } } }