mirror of
https://github.com/go-gost/gost.git
synced 2026-10-08 12:05:46 +00:00
tests/e2e: add HTTP response cache e2e tests
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
caches:
|
||||
- name: http-cache
|
||||
memory:
|
||||
ttl: 10m
|
||||
maxSize: 1000
|
||||
|
||||
services:
|
||||
- name: cache-proxy
|
||||
addr: :8080
|
||||
cache: http-cache
|
||||
handler:
|
||||
type: tcp
|
||||
metadata:
|
||||
sniffing: true
|
||||
sniffing.timeout: 2s
|
||||
cache.ttl: 60s
|
||||
listener:
|
||||
type: tcp
|
||||
forwarder:
|
||||
nodes:
|
||||
- name: target
|
||||
addr: cache-backend:5677
|
||||
Reference in New Issue
Block a user