全球主机交流论坛

标题: 哈哈哈哈,看我的山寨google。 [打印本页]

作者: znithy    时间: 2011-9-21 20:18
标题: 哈哈哈哈,看我的山寨google。
(, 下载次数: 13)




https://900913.tk
哈哈,山寨的像吧。
作者: wdlth    时间: 2011-9-21 20:20
那个红色的锁头表明了一切
作者: qxwo    时间: 2011-9-21 20:22
给力,有创意啊
作者: Ultratude    时间: 2011-9-21 20:22
打不开啊...
作者: chipang    时间: 2011-9-21 20:23
提示: 作者被禁止或删除 内容自动屏蔽
作者: 店长推荐    时间: 2011-9-21 20:23
原帖由 Ultratude 于 2011-9-21 20:22 发表
打不开啊...

可能被刚才那个人D了
作者: 悟雨    时间: 2011-9-21 20:25
不会被d了吧
作者: Sylar    时间: 2011-9-21 20:25
神奇的Hostloc
作者: znithy    时间: 2011-9-21 20:25
原帖由 店长推荐 于 2011-9-21 20:23 发表

可能被刚才那个人D了


我刚放出来就被D,大家都挺闲的,哈哈。
作者: znithy    时间: 2011-9-21 20:27
现在好了,又能打开了。
-----------------------

又在D了。
朋友别D了,一个免费域名放在个首月3折的VPS上没啥好D的。

[ 本帖最后由 znithy 于 2011-9-21 20:32 编辑 ]
作者: 金关村村长    时间: 2011-9-21 20:36
打不开了
作者: qxwo    时间: 2011-9-21 20:40
真悲剧啊,想看看都打不开
作者: baidns    时间: 2011-9-21 20:42
不错哦
作者: qwb    时间: 2011-9-21 20:51
提示: 作者被禁止或删除 内容自动屏蔽
作者: tearjoker    时间: 2011-9-21 20:53
怎么做出来的?
作者: www003    时间: 2011-9-21 20:57
得瑟吧
作者: znithy    时间: 2011-9-21 21:01
原帖由 tearjoker 于 2011-9-21 20:53 发表
怎么做出来的?


nginx反向代理https google,再nginx重定向几张图片。
作者: cdm    时间: 2011-9-21 21:02
提示: 作者被禁止或删除 内容自动屏蔽
作者: 失足大叔    时间: 2011-9-21 21:06
  干啥非得https呢
作者: dianso    时间: 2011-9-21 21:10
不像 颜色差不多
作者: netskyline    时间: 2011-9-21 21:11
提示: 作者被禁止或删除 内容自动屏蔽
作者: myhost123    时间: 2011-9-21 21:13
哇,好创意
作者: znithy    时间: 2011-9-21 21:26
原帖由 myhost123 于 2011-9-21 21:13 发表
哇,好创意


可惜900913.com被注册了,要卖1500欧元。
作者: qxwo    时间: 2011-9-21 21:30
求反代配置文件
作者: znithy    时间: 2011-9-21 21:33
原帖由 qxwo 于 2011-9-21 21:30 发表
求反代配置文件


发给你了,见论坛短消息。
作者: 54dev    时间: 2011-9-21 21:51

作者: hexiaojun    时间: 2011-9-21 21:51
原帖由 Sylar 于 2011-9-21 20:25 发表
神奇的Hostloc

作者: qiqibian    时间: 2011-9-21 21:54
求分享代码
作者: znithy    时间: 2011-9-21 21:58
标题: 回复 29# qiqibian 的帖子
已发。
要配置文件的全部发了。
作者: edmin    时间: 2011-9-21 21:59
我也要代码
作者: 9426    时间: 2011-9-21 22:32
被收錄後

你會收到法律訴訟


作者: 有容乃大    时间: 2011-9-21 22:47
牛逼
作者: znithy    时间: 2011-9-21 22:59
直接贴出来吧,大家不要再pm我了,我现在手机上网回pm比较麻烦。
  1. server
  2.         {
  3.                 listen       443;
  4.                 server_name  900913.tk;

  5.                 ssl on;
  6.                  ssl_certificate /root/900913/server.crt;
  7.                   ssl_certificate_key /root/900913/server.key;

  8.                 location / {
  9.                
  10.                 proxy_redirect off;
  11.                 proxy_set_header X-Real-IP $remote_addr;
  12.                 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  13.                 proxy_set_header X-Forwarded-Proto https;
  14.                 proxy_pass https://encrypted.google.com;
  15.                 }
  16.                
  17.                 location ~ /images/logos/ssl_logo.png {
  18.                 rewrite ^/ http://img.900913.tk/900913_logo.png;
  19.                 }
  20.                
  21.                 location ~ /images/logos/ssl_logo_srp.png {
  22.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  23.                 }
  24.                
  25.                 location ~ /images/nav_logo86.png {
  26.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  27.                 }
  28.         }
  29.        
  30. server
  31.         {
  32.                 listen       80;
  33.                 server_name  900913.tk;

  34.                 location / {
  35.                 proxy_redirect off;
  36.                 proxy_set_header X-Real-IP $remote_addr;
  37.                 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  38.                 proxy_pass https://encrypted.google.com;
  39.                 }
  40.                
  41.                 location ~ /images/logos/ssl_logo.png {
  42.                 rewrite ^/ http://img.900913.tk/900913_logo.png;
  43.                 }
  44.                
  45.                 location ~ /images/logos/ssl_logo_srp.png {
  46.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  47.                 }
  48.                
  49.                 location ~ /images/nav_logo86.png {
  50.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  51.                 }

  52.         }
复制代码

作者: znithy    时间: 2011-9-21 23:01
原帖由 9426 于 2011-9-21 22:32 发表
被收錄後

你會收到法律訴訟



哈哈,能被google诉讼也是荣幸啊。
作者: Cokid    时间: 2011-9-21 23:09
  不错不错啊
作者: 瘦够了    时间: 2011-9-21 23:14
谷歌可以用来上网代理
作者: ls2829373    时间: 2011-9-21 23:15
真不错,证书去搞个不是叉叉的
作者: znithy    时间: 2011-9-22 02:18
原帖由 ls2829373 于 2011-9-21 23:15 发表
真不错,证书去搞个不是叉叉的


嗯,等明天找无米版主买一个。
作者: 咯拉无米    时间: 2011-9-22 02:25
标题: 回复 39# znithy 的帖子
恩  感谢分享源码  证书我免费送你一个
作者: znithy    时间: 2011-9-22 02:55
标题: 回复 40# 咯拉无米 的帖子
这么好,谢谢无米版主。
我去注册个后缀正式点的900913,这个tk绑定ssl太浪费了。
明天再联系你了。
作者: znithy    时间: 2011-9-22 20:39
更新下conf文件。
干脆http和带www都重定向到https://900913.tk算了。
如果要缓存,限制一些参数的话直接添在第一个server里。
  1. server
  2.         {
  3.                 listen       443;
  4.                 server_name  900913.tk;

  5.                 ssl on;
  6.                 ssl_certificate /root/900913/server.crt;
  7.                 ssl_certificate_key /root/900913/server.key;

  8.                 location / {
  9.                
  10.                 proxy_redirect off;
  11.                 proxy_set_header X-Real-IP $remote_addr;
  12.                 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  13.                 proxy_set_header X-Forwarded-Proto https;
  14.                 proxy_pass https://encrypted.google.com;
  15.                 }
  16.                
  17.                 location ~ /images/logos/ssl_logo.png {
  18.                 rewrite ^/ http://img.900913.tk/900913_logo.png;
  19.                 }
  20.                
  21.                 location ~ /images/logos/ssl_logo_srp.png {
  22.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  23.                 }
  24.                
  25.                 location ~ /images/nav_logo86.png {
  26.                 rewrite ^/ http://img.900913.tk/900913_logo_srp.png;
  27.                 }
  28.         }
  29.        
  30. server
  31.         {
  32.                 listen       80;
  33.                 server_name  900913.tk;
  34.                 rewrite ^(.*) https://900913.tk/$1 permanent;
  35.         }

  36. server
  37.         {
  38.                 listen       80;
  39.                 server_name  www.900913.tk;
  40.                 rewrite ^(.*) https://900913.tk/$1 permanent;
  41.         }
  42.        
  43. server
  44.         {
  45.                 listen       433;
  46.                 server_name  www.900913.tk;
  47.                 rewrite ^(.*) https://900913.tk/$1 permanent;
  48.         }
复制代码

作者: vip1    时间: 2011-9-22 20:58
网站出具的安全证书不是由受信任的证书颁发机构颁发的。

安全证书问题可能显示试图欺骗您或截获您向服务器发送的数据。  
  建议关闭此网页,并且不要继续浏览该网站。
  单击此处关闭该网页。  
  继续浏览此网站(不推荐)。  
     详细信息


如果通过单击链接到达此页面,请检查地址栏中的网站以确保该地址是您希望到达的页面。
转到如 https://example.com 等网站时,请尝试将 "www" 添加到地址中,变为 https://www.example.com

有关详细信息,请参阅 Internet Explorer 帮助中的“证书错误”。




欢迎光临 全球主机交流论坛 (https://hostloc-workers.ikyomon.com/) Powered by Discuz! X3.4