OneMirror一个Nginx的Docker image 带有已经配置好的Google镜像

jopen 8年前

OneMirror

OneMirror一个Nginx的Docker image。已经带有配置好的Google Search, Google Fonts and Gravatar 代理,它可以帮助您轻松开始自己的镜像站点。

Info

  • Build parameters is from the offical Debian package
  • Latest mainline version Nginx
  • Latest stable OpenSSL
  • Google Search mirror module ngx_http_google_filter_module added
  • With Google Search, Google Fonts and Gravatar proxy configuration example

Usage

Basic HTTP Google mirror

$ docker run -p 80:80 -d bohan/onemirror

Custom configuration and SSL

  • You can use your own nginx.conf,
  • and your own site configuartions at nginx/conf.d,
  • and also enable SSL (Please read nginx/ssl/README.txt)
  • Build it
  • $ docker build -t mirror .
  • and use it
  • $ docker run -p 80:80 -d mirror

License

MIT

项目地址: https://github.com/bohanyang/onemirror