mirror of
https://github.com/openziti/zrok.git
synced 2025-06-21 10:17:51 +02:00
public/proxy for 'http backend' (#99)
This commit is contained in:
parent
ade25d21db
commit
a9f76d1b40
@ -104,6 +104,8 @@ func (self *httpBackendCommand) run(_ *cobra.Command, args []string) {
|
|||||||
req := service.NewShareParams()
|
req := service.NewShareParams()
|
||||||
req.Body = &rest_model_zrok.ShareRequest{
|
req.Body = &rest_model_zrok.ShareRequest{
|
||||||
ZID: env.ZId,
|
ZID: env.ZId,
|
||||||
|
ShareMode: "public",
|
||||||
|
BackendMode: "proxy",
|
||||||
BackendProxyEndpoint: cfg.EndpointAddress,
|
BackendProxyEndpoint: cfg.EndpointAddress,
|
||||||
AuthScheme: string(model.None),
|
AuthScheme: string(model.None),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user