Merge branch 'main' into oauth-testing

This commit is contained in:
Michael Quigley 2023-09-08 14:55:59 -04:00
commit e6e619860d
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 14 additions and 2 deletions

View File

@ -6,7 +6,7 @@
Like other offerings in this space, `zrok` allows users to share tunnels for HTTP, TCP and UDP network resources. `zrok` additionally allows users to easily and rapidly share files, web content, and custom resources in a peer-to-peer manner.
`zrok` is an extensible platform for sharing. Initially we're targeting technical users. Super-simple sharing for end users is planned an in the backlog.
`zrok` is an extensible platform for sharing. Initially we're targeting technical users. Super-simple sharing for end users is planned and in the backlog.
![zrok Web Console](docs/images/zrok_web_console.png)

View File

@ -1,6 +1,18 @@
# Multiple Backends Example
#
http:// {
# Bind to the zrok share
bind {{ .ZrokBindAddress }}
reverse_proxy /zrok/* https://zrok.io
# Handle paths starting with `/zrok/*`
# This will also strip the `/zrok/` from the path before sending to the backend
handle_path /zrok/* {
reverse_proxy https://zrok.io {
header_up Host zrok.io
}
}
# All other traffic goes to localhost:3000
reverse_proxy /* 127.0.0.1:3000 {
header_up Host localhost:3000
}