This commit is contained in:
root
2025-09-25 12:03:15 +02:00
commit afaafe8546
6 changed files with 743 additions and 0 deletions

40
envoy/envoy.yaml Normal file
View File

@@ -0,0 +1,40 @@
static_resources:
listeners:
- name: http_listener
address:
socket_address: { address: 0.0.0.0, port_value: 80 }
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
route_config:
name: local_route
virtual_hosts:
- name: default
domains: ["*"]
routes:
- match: { prefix: "/" }
route:
cluster: varnish
response_headers_to_remove:
- "x-envoy-upstream-service-time"
- "server"
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
clusters:
- name: varnish
connect_timeout: 2s
type: STRICT_DNS
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: varnish
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address: { address: varnish, port_value: 6081 }