mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
Merge branch 'main' into oauth-testing
This commit is contained in:
commit
e6e619860d
@ -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.
|
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)
|
![zrok Web Console](docs/images/zrok_web_console.png)
|
||||||
|
|
||||||
|
@ -1,6 +1,18 @@
|
|||||||
|
# Multiple Backends Example
|
||||||
|
#
|
||||||
http:// {
|
http:// {
|
||||||
|
# Bind to the zrok share
|
||||||
bind {{ .ZrokBindAddress }}
|
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 {
|
reverse_proxy /* 127.0.0.1:3000 {
|
||||||
header_up Host localhost:3000
|
header_up Host localhost:3000
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user