OneMirror一個Nginx的Docker image 帶有已經配置好的Google鏡像

jopen 8年前發布 | 10K 次閱讀 onemirror Web服務器

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

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!