爱意满满的作品展示区。
isCyan

Docker 一键 Google 反代镜像

  •  
  •   isCyan ·
    bohanwood · Feb 20, 2016 · 8887 views
    This topic created in 3781 days ago, the information mentioned may be changed or developed.

    https://github.com/bohanyang/onemirror

    演示不要玩坏了哟

    https + www 点 fonts.penbeat.cn 端口 11671

    请自己拼接成网址,这是防止被 K 及滥用

    只要一句话就可以用了:

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

    想要开启 SSL 和 HTTP/2

    只要 Fork 项目加上证书修改配置 Build 一下就好了

    按照 https://github.com/bohanyang/onemirror/tree/master/nginx/ssl
    的说明生成 DH parameter 并配置好之后直接 A+

    就是方便!(还附带 Google Fonts 和 Gravatar 反代配置)

    https://github.com/bohanyang/onemirror/tree/master/nginx/conf.d

    感谢 cuber 的 ngx_http_google_filter_module

    让 Google 无处不在吧~

    12 replies    2017-10-17 10:22:09 +08:00
    codeninja
        1
    codeninja  
       Feb 20, 2016 via iPhone   ❤️ 1
    已 star ,真会玩
    ixinshang
        2
    ixinshang  
       Feb 20, 2016   ❤️ 1
    感谢!
    hiroya
        3
    hiroya  
       Feb 20, 2016 via iPad   ❤️ 1
    楼主是会玩的,感谢
    Kahn
        4
    Kahn  
       Feb 20, 2016
    可以反代 Google Scholar 吗
    maskerTUI
        5
    maskerTUI  
       Feb 20, 2016   ❤️ 1
    这个好!
    isCyan
        6
    isCyan  
    OP
       Feb 20, 2016
    @Kahn 配置里加一行 google_scholar on; 就好了,这是用 https://github.com/cuber/ngx_http_google_filter_module 这个 Nginx 模块的
    isCyan
        7
    isCyan  
    OP
       Feb 20, 2016
    @Kahn Docker Hub 镜像已更新,已支持学术搜索
    Themyth
        8
    Themyth  
       Feb 21, 2016
    牛 X 。
    endlessroad1991
        9
    endlessroad1991  
       Feb 21, 2016
    赞!

    不过根据以往经验,此类网址只要发出来,要么过段时间用的人太多只能关闭,要么被重点关照无法访问。。
    cnleoyang
        10
    cnleoyang  
       Feb 21, 2016
    部署很方便,同赞
    isCyan
        11
    isCyan  
    OP
       Feb 21, 2016 via iPhone
    @endlessroad1991 这只是个演示,我是给你自己搭建方便的
    oldmenplus
        12
    oldmenplus  
       Oct 17, 2017
    Σ(゚д゚;) 还能这样玩
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5488 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 68ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    ♥ Do have faith in what you're doing.