Sign inSign up

newfuture/blob-proxy-go

By newfuture

•Updated over 5 years ago

Image
0

1.2K

newfuture/blob-proxy-go repository overview

⁠blob-proxy-go

⁠blob forward rules

⁠single level subdomian

{STORAGE}--{COTANINER}--{SUBFOLDER}.my-proxy.com/xyz/ ==> {STORAGE}.blob.core.windows.net/{CONTAINER}/{SUBFOLDER}/xyz/index.html

⁠muti-level subdomain
  • {SUBFOLDER}.{CONTAINER}.{STORAGE}.mydomain.com/xyz/ ==> {STORAGE}.blob.core.windows.net/{CONTAINER}/{SUBFOLDER}/xyz/index.html
  • {CONTAINER}.{STORAGE}.mydomain.com/xyz/ ==> {STORAGE}.blob.core.windows.net/{CONTAINER}/xyz/index.html
  • {STORAGE}.mydomain.com/xyz/ ==> {STORAGE}.blob.core.windows.net/xyz/index.html

⁠configuration

NameDefaultcomment
BLOB_SUFFIXblob.core.windows.netsuffix domain for blob
DEFAULT_DOCUMENTindex.htmlappend default file when list folder
FORCE_HTTPStrueusing https connect to upstream
SPLIT_KEY--using one single level subdaomin as {STORAGE}--{COTANINER}--{SUBFOLDER}--{SubSUBFOLDER}.my-proxy.com
BASIC_DOMAIN_NUM0when set will ignore split_key
HTTP_PROXY_FRONT_DOMAINset http_proxy_domain suffix
HTTP_PROXY_BACKENDlocalhost:3000set HTTP_PROXY_BACKEND host

⁠docker support

blob-proxy-go⁠

  • stable

docker pull docker.pkg.github.com/newfuture/blob-proxy-go/blob-proxy-go

  • for beta

docker pull newfuture/blob-proxy-go:beta

Tag summary

Content type

Image

Digest

Size

6.7 MB

Last updated

over 5 years ago

docker pull newfuture/blob-proxy-go:beta