improved multiple_upstream Caddyfile (#330, #388)

This commit is contained in:
Michael Quigley 2023-09-07 13:58:37 -04:00
parent ca6a11cc59
commit 7425247e7c
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -1,6 +1,10 @@
http:// {
bind {{ .ZrokBindAddress }}
reverse_proxy /zrok/* https://zrok.io
handle_path /zrok/* {
reverse_proxy https://zrok.io {
header_up Host zrok.io
}
}
reverse_proxy /* 127.0.0.1:3000 {
header_up Host localhost:3000
}