From 1c325f45b4bfc3d310790a8acd52d47c0f3ac3b1 Mon Sep 17 00:00:00 2001 From: Jacob Kiers Date: Wed, 23 Aug 2023 19:29:49 +0200 Subject: [PATCH] Add sample configuration file Signed-off-by: Jacob Kiers --- config.yaml.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config.yaml.example diff --git a/config.yaml.example b/config.yaml.example new file mode 100644 index 0000000..faffa85 --- /dev/null +++ b/config.yaml.example @@ -0,0 +1,16 @@ +version: 1 +log: debug + +servers: + example_server: + listen: + - "0.0.0.0:8443" + tls: true # Enable TLS features like SNI filtering + sni: + api.example.org: example-api + www.example.org: gh-proxy + default: ban + +upstream: + proxy: "tcp://new-www.example.org:443" # Connect over IPv4 or IPv6 to new-www.example.org:443 + example-api: "tcp6://api-v1.example.com:443" # Connect over IPv6 to api-v1.example.com:443