Sign inSign up

jialezi/proxy-http

By jialezi

•Updated over 7 years ago

Use caddy to proxy

Image
0

1.4K

jialezi/proxy-http repository overview

⁠proxy-http(s)

Use caddy to proxy

Caddy Usage and reference:https://doub.io/jzzy-2/⁠

⁠proxy-http

docker run -d -p 80:80 -e proxy=< the proxy site > -e host=< your domian or :80> jialezi/proxy-http

env:

1.proxy=< the proxy site >
example: proxy=https://www.baidu.com⁠

2.host=< your domian or :80>
example: host=http://geeglo.ml⁠ or host=:80

(填域名默认自动申请SSL,与下面proxy-https重复)

eg:

docker run -d -p 82:80 -e proxy=https://www.baidu.com⁠ -e host=:80 jialezi/proxy-http

browse: http://ip:82⁠

⁠proxy-https

docker run -d -p 80:80 -p 443:443 -e proxy=< the proxy site> -e host=<https://your⁠ domian> -e email=[email protected]⁠ jialezi/proxy-https

!:before applying for an SSL certificate, be sure to resolve the domain name record in advance !:申请SSL之前必需先解析好域名,且80端口必需能够访问

env:

1.proxy=< the proxy site >

2.host=< your domian >

3.eamil=< your email > (to apply ssl)

eg:

docker run -d -p 80:80 -p 443:443 -e proxy=https://www.google.com⁠ -e host=https://geeglo.ml⁠ -e email=[email protected]⁠ jialezi/proxy-https

browse: https://geeglo.ml⁠

Tag summary

Content type

Image

Digest

Size

51.4 MB

Last updated

over 7 years ago

docker pull jialezi/proxy-http