mirror of
https://github.com/openziti/zrok.git
synced 2025-06-25 04:02:15 +02:00
public shares; tweaks
This commit is contained in:
parent
b89a7f1709
commit
bdf684b389
@ -3,21 +3,14 @@ sidebar_position: 10
|
|||||||
---
|
---
|
||||||
# Shares - Public
|
# Shares - Public
|
||||||
|
|
||||||
`zrok` was built to share and access digital resources. a `public` share allows something to be shared through
|
`zrok` supports `public` sharing for web-based (HTTP and HTTPS) resources. These resources are easily shared with the general internet through public access points.
|
||||||
a publicly available endpoint.
|
|
||||||
|
|
||||||
## Public Sharing
|
## Peer to Public
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Sharing something with `public` is useful when the person or service accessing the thing being shared doesn't
|
`public` sharing is most useful when the person or service accessing your resources does not have `zrok` running locally and cannot make use of the `private` sharing mode built into `zrok`. Many users share development web servers, webhooks, and other HTTP/HTTPS resources.
|
||||||
have `zrok` running locally and can't make use of the `private` sharing mode built into `zrok`. This could be
|
|
||||||
a development web server to share with friends and colleagues, or perhaps a webhook from a
|
|
||||||
server running in the cloud which can't have `zrok` installed onto it. What matters is that the access to the
|
|
||||||
shared resource needs to be done in a public way, generally for easy access.
|
|
||||||
|
|
||||||
Using `public` shares is easy and is accomplished using the `zrok share public` command. Run `zrok share public`
|
As with `private` sharing, `public` sharing does not require you to open any firewall ports or otherwise compromise the security of your local environments. A `public` share goes away as soon as you terminate the `zrok share` command.
|
||||||
to see the usage output and to further learn how to use the command.
|
|
||||||
|
|
||||||
Unless `reserved` (see [Sharing - Reserved](./sharing-reserved.md), all 'public' shares are ephemeral. When the
|
Using `public` shares is easy and is accomplished using the `zrok share public` command. Run `zrok share public` to see the command-line help and to learn how to use `public` shares.
|
||||||
sharing is stopped, the shared url will be reclaimed.
|
|
Loading…
x
Reference in New Issue
Block a user