control_addr: "127.0.0.1:8440"
_routes: &routes
"/dir/":
proxy: "http://localhost:8450/dir/"
"/authdir/":
proxy: "http://localhost:8450/authdir/"
"/file":
proxy: "http://localhost:8450/file"
"/cgi/":
proxy: "http://localhost:8450/cgi/"
"/status/":
proxy: "http://localhost:8450/status/"
"/bad/unreacheable":
proxy: "http://localhost:1/"
"/bad/empty":
proxy: "http:"
"/dar/":
proxy: "http://localhost:8450/dir/"
"/gogo/":
redirect: "https://google.com"
reqlog:
"requests":
file: ".01-fe.requests.log"
http:
":8441":
routes: *routes
reqlog:
"/": "requests"
https:
":8442":
certs: ".certs"
routes: *routes
reqlog:
"/": "requests"
":8443":
autocerts:
hosts: ["miau.com"]
acmeurl: "http://localhost:8460/directory"
cachedir: ".autocerts-cache"
routes: *routes
reqlog:
"/": "requests"
# Raw proxy to the same backend.
raw:
":8445":
to: "localhost:8450"
reqlog: "requests"
":8446":
to: "localhost:8450"
certs: ".certs"
reqlog: "requests"
":8447":
to: "localhost:0"
reqlog: "requests"
# Raw proxy to ourselves over https, to test having a TLS backend.
":8448":
to: "localhost:8442"
to_tls: true
reqlog: "requests"