mirror of
https://github.com/openziti/zrok.git
synced 2025-01-09 23:48:14 +01:00
1 line
5.1 KiB
JavaScript
1 line
5.1 KiB
JavaScript
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[992],{3905:(e,r,t)=>{t.d(r,{Zo:()=>l,kt:()=>b});var n=t(7294);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function i(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function a(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function s(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var c=n.createContext({}),p=function(e){var r=n.useContext(c),t=r;return e&&(t="function"==typeof e?e(r):a(a({},r),e)),t},l=function(e){var r=p(e.components);return n.createElement(c.Provider,{value:r},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},h=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(t),h=o,b=u["".concat(c,".").concat(h)]||u[h]||d[h]||i;return t?n.createElement(b,a(a({ref:r},l),{},{components:t})):n.createElement(b,a({ref:r},l))}));function b(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=h;var s={};for(var c in r)hasOwnProperty.call(r,c)&&(s[c]=r[c]);s.originalType=e,s[u]="string"==typeof e?e:o,a[1]=s;for(var p=2;p<i;p++)a[p]=t[p];return n.createElement.apply(null,a)}return n.createElement.apply(null,t)}h.displayName="MDXCreateElement"},5390:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var n=t(7462),o=(t(7294),t(3905));const i={sidebar_position:10},a="Public Shares",s={unversionedId:"concepts/sharing-public",id:"concepts/sharing-public",title:"Public Shares",description:"zrok supports public sharing for web-based (HTTP and HTTPS) resources. These resources are easily shared with the general internet through public access points.",source:"@site/../docs/concepts/sharing-public.md",sourceDirName:"concepts",slug:"/concepts/sharing-public",permalink:"/docs/concepts/sharing-public",draft:!1,editUrl:"https://github.com/openziti/zrok/blob/main/docs/../docs/concepts/sharing-public.md",tags:[],version:"current",sidebarPosition:10,frontMatter:{sidebar_position:10},sidebar:"tutorialSidebar",previous:{title:"Private Shares",permalink:"/docs/concepts/sharing-private"},next:{title:"Reserved Shares",permalink:"/docs/concepts/sharing-reserved"}},c={},p=[{value:"Peer to Public",id:"peer-to-public",level:2}],l={toc:p};function u(e){let{components:r,...i}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,i,{components:r,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"public-shares"},"Public Shares"),(0,o.kt)("p",null,(0,o.kt)("inlineCode",{parentName:"p"},"zrok")," supports ",(0,o.kt)("inlineCode",{parentName:"p"},"public")," sharing for web-based (HTTP and HTTPS) resources. These resources are easily shared with the general internet through public access points."),(0,o.kt)("h2",{id:"peer-to-public"},"Peer to Public"),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"zrok_public_share",src:t(6831).Z,width:"2200",height:"916"})),(0,o.kt)("p",null,(0,o.kt)("inlineCode",{parentName:"p"},"public")," sharing is most useful when the person or service accessing your resources does not have ",(0,o.kt)("inlineCode",{parentName:"p"},"zrok")," running locally and cannot make use of
|