diff options
author | Valery Piashchynski <[email protected]> | 2022-08-18 15:27:03 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-18 15:27:03 +0200 |
commit | 6a57268eafbc1407e4b242d0458a6df659c523d1 (patch) | |
tree | 8c86b149a82041a959e8b39548edf2f4b4df7aea /.rr.yaml | |
parent | e0e03f88b8ca9376bd2af34c62053e5b960ac4a6 (diff) | |
parent | 3d2381075a98f3b65f645fbcc66ad0280c8069ec (diff) |
[#1263]: feat: release `v2.11.0`v2.11.0
Diffstat (limited to '.rr.yaml')
-rw-r--r-- | .rr.yaml | 99 |
1 files changed, 83 insertions, 16 deletions
@@ -543,22 +543,87 @@ http: # Error if empty. NEW_RELIC_LICENSE_KEY env variable should be set if the license_key key is empty. If both empty - error. license_key: "key" - # RFC 7234 (partially) RR Cache middleware + # RFC 7234 RR Cache middleware + # + # Link: https://github.com/darkweak/souin cache: - # Cache driver - # - # Default: memory. Available drivers: memory - driver: memory - - # Methods to cache - # - # According to the RFC, we can cache only GET, HEAD or POST requests. Currently, only GET method supported. - cache_methods: [ "GET", "HEAD", "POST" ] - - # Configuration for the driver - # - # Empty for the memory - config: { } + api: + basepath: /souin-api + prometheus: + basepath: /anything-for-prometheus-metrics + souin: + basepath: /anything-for-souin + cache_keys: + '.*\.css': + disable_body: true + disable_host: true + disable_method: true + cdn: + api_key: XXXX + provider: fastly + strategy: soft + dynamic: true + default_cache: + allowed_http_verbs: + - GET + - POST + - HEAD + cache_name: Souin + distributed: true + headers: + - Authorization + key: + disable_body: true + disable_host: true + disable_method: true + etcd: + configuration: + endpoints: + - etcd-1:2379 + - etcd-2:2379 + - etcd-3:2379 + olric: + url: 'olric:3320' + regex: + exclude: 'ARegexHere' + stale: 1000s + timeout: + backend: 10s + cache: 20ms + ttl: 1000s + default_cache_control: no-store + log_level: INFO + ssl_providers: + - traefik + urls: + 'https:\/\/domain.com\/first-.+': + ttl: 1000s + 'https:\/\/domain.com\/second-route': + ttl: 10s + headers: + - Authorization + 'https?:\/\/mysubdomain\.domain\.com': + ttl: 50s + headers: + - Authorization + - 'Content-Type' + default_cache_control: public, max-age=86400 + ykeys: + The_First_Test: + headers: + Content-Type: '.+' + The_Second_Test: + url: 'the/second/.+' + The_Third_Test: + The_Fourth_Test: + surrogate_keys: + The_First_Test: + headers: + Content-Type: '.+' + The_Second_Test: + url: 'the/second/.+' + The_Third_Test: + The_Fourth_Test: # File uploading settings. uploads: @@ -1413,7 +1478,9 @@ jobs: - 1: 0 - 2: 0 - # not supported in beta.3 + # Kafka group id + # + # Optional, default - empty group_id: "foo" # Max number of outstanding requests a connection is allowed to have before sending on it blocks |