Git Product home page Git Product logo

onemirror's Introduction

OneMirror

OneMirror is a Docker image for nginx with already configured Google Search proxy.

Warning!!!

This project is under maintenance-only mode, it is not actively supported, mainly because ngx_http_google_filter_module, the foundation of Google proxy feature, doesn't support latest version of nginx.

We recommend that you should look through the nginx config files before start using it, and also please adjust them as you need.

因为实现 Google 反代的模块 ngx_http_google_filter_module 不支持最新版本的 nginx,所以我们不会积极地维护这个项目。

我们建议您使用前浏览一遍 nginx 配置文件,并根据需要修改。

Info

Usage

Basic HTTP Mirror for Google Search

docker run -p 80:80 bohan/onemirror

Google Fonts, Gravatar, CDNJS & Launchpad PPA Mirror

docker run -p 80:8080 bohan/onemirror

Custom Configuration and SSL

Put your configuration files inside the nginx folder and then re-build it.

License

MIT

onemirror's People

Contributors

bohanyang avatar brentybh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onemirror's Issues

unknown directive "google" in /etc/nginx/conf.d/google.conf:22

你好,好奇你有没有遇到整个错误?

Executing busybox-1.25.1-r2.trigger
OK: 10 MiB in 24 packages
Removing intermediate container beac183302b7
 ---> 982586bb6c29
Step 9/13 : COPY nginx /etc/nginx/
 ---> 7d678f7cd815
Step 10/13 : RUN nginx -t
 ---> Running in a50454d820bb
2019/01/12 06:52:00 [emerg] 6#6: unknown directive "google" in /etc/nginx/conf.d/google.conf:22
nginx: [emerg] unknown directive "google" in /etc/nginx/conf.d/google.conf:22
nginx: configuration file /etc/nginx/nginx.conf test failed
The command '/bin/sh -c nginx -t' returned a non-zero code: 1

仅仅是folk了你的源码然后 build,并没有做更多的东西。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.