Add more examples

This commit is contained in:
cfal
2023-02-26 01:29:07 +09:00
parent fd8982fe11
commit f5264f3789
2 changed files with 42 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# An HTTPS server with Basic Authentication.
- address: 127.0.0.1:443
transport: tcp
protocol:
type: tls
default_target:
cert: cert.pem
key: key.pem
protocol:
type: http
username: secretuser
password: secretpass
rules:
- mask: 1.2.3.4/32
action: allow
override_ip: 192.168.0.1
client_proxy: direct
- mask: 0.0.0.0/0
action: allow
# Direct connection, don't forward requests through another proxy.
client_proxy: direct