forked from doubigenjudi/doubi-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
675 lines (645 loc) · 92.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!link href='http://api.youziku.com/webfont/CSS/567f672ef629d8039c4bf336' rel='stylesheet' type='text/css' />
<!link href='http://api.youziku.com/webfont/CSS/56e3a918f629da0ad88fbde8' rel='stylesheet' type='text/css' />
<style type="text/css">@font-face {font-family: 'jin_mei_mxplzx86d456993036';src: url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.gif');src: url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336-.gif#iefix') format('embedded-opentype'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.bmp') format('woff'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.jpg') format('truetype'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.png#jin_mei_mxplzx') format('svg'); }.css86d456993036{font-family: 'jin_mei_mxplzx86d456993036';}
</style>
<style type="text/css">@font-face {font-family: 'LiDeBiao-Xing320e75d0253036';src: url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.gif');src: url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8-.gif#iefix') format('embedded-opentype'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.bmp') format('woff'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.jpg') format('truetype'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.png#LiDeBiao-Xing3') format('svg'); }.css20e75d0253036{font-family: 'LiDeBiao-Xing320e75d0253036';}
tbody tr:nth-child(odd) { background-color:#f9f9f9; }
</style>
<link rel="stylesheet" type="text/css" href="../wp-content/themes/yusi1.0/csshake.css">
<link id="favicon" href="../wp-content/themes/yusi1.0/img/logo.ico" rel="icon" type="img/x-icon" />
<title>利用 Caddy 非常简单的部署 反向代理/镜像(支持自签SSL证书) | 逗比根据地</title>
<script>
window._deel = {name: '逗比根据地',url: 'https://doub.io/wp-content/themes/yusi1.0', ajaxpager: 'on', commenton: 1, roll: [3,4]}
</script>
<!-- All in One SEO Pack 2.3.13.2 by Michael Torbert of Semper Fi Web Design[2121,2177] -->
<meta name="description" content="Caddy是一个使用 Go语言写的 HTTP Server,开发时间并不长,在性能上或许比不上 Nginx,但是在 上手难度/配置难度 上面简单的不行不行的。 并且 Caddy支持 自动签订Let’s Encrypt SSL证书,什么都不需要你管,只需要提供一个邮箱,剩下的他会自己申请、配置和续约" />
<meta name="keywords" content="caddy,反向代理,镜像" />
<link rel="canonical" href="index.html" />
<!-- /all in one seo pack -->
<link rel='stylesheet' id='toggle-box-css' href='../wp-content/plugins/toggle-box/toggle-box-ver=4.2.13.css' type='text/css' media='all' />
<link rel='stylesheet' id='style-css' href='../wp-content/themes/yusi1.0/style-ver=1.0.css' type='text/css' media='all' />
<script type='text/javascript' src='../wp-content/themes/yusi1.0/js/jquery.min-ver=1.0.js'></script>
<script type='text/javascript' src='../wp-content/plugins/toggle-box/js/toggle-box-ver=4.2.13.js'></script>
<script type='text/javascript' src='../wp-content/plugins/wp-images-lazy-loading/js/jquery.lazyload.min-ver=1.9.3.js'></script>
<link rel='prev' title='『原创』Go语言 跨平台支持的极简 HTTP Server —— Caddy一键安装脚本' href='../shell-jc1/index.html' />
<link rel='next' title='ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配' href='../ss-jc48/index.html' />
<link rel='shortlink' href='index.html' />
<link rel="stylesheet" href="../wp-content/plugins/wp-content-index/style.css" type="text/css" media="all" />
<style type='text/css'>img.lazy { display: none; }
</style>
<meta name="keywords" content="Caddy, 反向代理, 镜像, 建站资源, 网络资源">
<meta name="description" content="Caddy是一个使用 Go语言写的 HTTP Server,开发时间并不长,在性能上或许比不上 Nginx,但是在 上手难度/配置难度 上面简单的不行不行的。 并且 Caddy支持 自动签订Let’s Encrypt SSL证书,什么都不需要你管,只需要提供一个邮箱,剩下的他会自己申请、配置和续约 SSL证书! 部署 Caddy Caddy 是 Go语言编译好的二进制程序,所以只有一个 Caddy 文件(还需要生成一个配置文件),但是">
<!--[if lt IE 9]><script src="https://doub.io/wp-content/themes/yusi1.0/js/html5.js"></script><![endif]-->
<style type="text/css">.dg ul{list-style:none;margin:0;padding:0;width:100%;clear:both}.dg.ac{position:fixed;top:0;left:0;right:0;height:0;z-index:0}.dg:not(.ac) .main{overflow:hidden}.dg.main{-webkit-transition:opacity .1s linear;transition:opacity .1s linear}.dg.main.taller-than-window{overflow-y:auto}.dg.main.taller-than-window .close-button{opacity:1;margin-top:-1px;border-top:1px solid #2c2c2c}.dg.main ul.closed .close-button{opacity:1!important}.dg.main .close-button.drag,.dg.main:hover .close-button{opacity:1}.dg.main .close-button{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;border:0;position:absolute;line-height:19px;height:20px;cursor:pointer;text-align:center;background-color:#000}.dg.main .close-button:hover{background-color:#111}.dg.a{float:right;margin-right:15px;overflow-x:hidden}.dg.a.has-save>ul{margin-top:27px}.dg.a.has-save>ul.closed{margin-top:0}.dg.a .save-row{position:fixed;top:0;z-index:1002}.dg li{-webkit-transition:height .1s ease-out;transition:height .1s ease-out}.dg li:not(.folder){cursor:auto;height:27px;line-height:27px;overflow:hidden;padding:0 4px 0 5px}.dg li.folder{padding:0;border-left:4px solid transparent}.dg li.title{cursor:pointer;margin-left:-4px}.dg .closed li:not(.title),.dg .closed ul li,.dg .closed ul li>*{height:0;overflow:hidden;border:0}.dg .cr{clear:both;padding-left:3px;height:27px}.dg .property-name{cursor:default;float:left;clear:left;width:40%;overflow:hidden;text-overflow:ellipsis}.dg .c{float:left;width:60%}.dg .c input[type=text]{border:0;margin-top:4px;padding:3px;width:100%;float:right}.dg .has-slider input[type=text]{width:30%;margin-left:0}.dg .slider{float:left;width:66%;margin-left:-5px;margin-right:0;height:19px;margin-top:4px}.dg .slider-fg{height:100%}.dg .c input[type=checkbox]{margin-top:9px}.dg .c select{margin-top:5px}.dg .cr.boolean,.dg .cr.boolean *,.dg .cr.function,.dg .cr.function *,.dg .cr.function .property-name{cursor:pointer}.dg .selector{display:none;position:absolute;margin-left:-9px;margin-top:23px;z-index:10}.dg .c:hover .selector,.dg .selector.drag{display:block}.dg li.save-row{padding:0}.dg li.save-row .button{display:inline-block;padding:0 6px}.dg.dialogue{background-color:#222;width:460px;padding:15px;font-size:13px;line-height:15px}#dg-new-constructor{padding:10px;color:#222;font-family:Monaco,monospace;font-size:10px;border:0;resize:none;box-shadow:inset 1px 1px 1px #888;word-wrap:break-word;margin:12px 0;display:block;width:440px;overflow-y:scroll;height:100px;position:relative}#dg-local-explain{display:none;font-size:11px;line-height:17px;border-radius:3px;background-color:#333;padding:8px;margin-top:10px}#dg-local-explain code{font-size:10px}#dat-gui-save-locally{display:none}.dg{color:#eee;font:11px Lucida Grande,sans-serif;text-shadow:0 -1px 0 #111}.dg.main::-webkit-scrollbar{width:5px;background:#1a1a1a}.dg.main::-webkit-scrollbar-corner{height:0;display:none}.dg.main::-webkit-scrollbar-thumb{border-radius:5px;background:#676767}.dg li:not(.folder){background:#1a1a1a;border-bottom:1px solid #2c2c2c}.dg li.save-row{line-height:25px;background:#dad5cb;border:0}.dg li.save-row select{margin-left:5px;width:108px}.dg li.save-row .button{margin-left:5px;margin-top:1px;border-radius:2px;font-size:9px;line-height:7px;padding:4px 4px 5px;background:#c5bdad;color:#fff;text-shadow:0 1px 0 #b0a58f;box-shadow:0 -1px 0 #b0a58f;cursor:pointer}.dg li.save-row .button.gears{background:#c5bdad url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAANCAYAAAB/9ZQ7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpiYKAU/P//PwGIC/ApCABiBSAW+I8AClAcgKxQ4T9hoMAEUrxx2QSGN6+egDX+/vWT4e7N82AMYoPAx/evwWoYoSYbACX2s7KxCxzcsezDh3evFoDEBYTEEqycggWAzA9AuUSQQgeYPa9fPv6/YWm/Acx5IPb7ty/fw+QZblw67vDs8R0YHyQhgObx+yAJkBqmG5dPPDh1aPOGR/eugW0G4vlIoTIfyFcA+QekhhHJhPdQxbiAIguMBTQZrPD7108M6roWYDFQiIAAv6Aow/1bFwXgis+f2LUAynwoIaNcz8XNx3Dl7MEJUDGQpx9gtQ8YCueB+D26OECAAQDadt7e46D42QAAAABJRU5ErkJggg==) 2px 1px no-repeat;height:7px;width:8px}.dg li.save-row .button:hover{background-color:#bab19e;box-shadow:0 -1px 0 #b0a58f}.dg li.folder{border-bottom:0}.dg li.title{padding-left:16px;background:#000 url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlI+hKgFxoCgAOw==) 6px 10px no-repeat;cursor:pointer;border-bottom:1px solid hsla(0,0%,100%,.2)}.dg .closed li.title{background-image:url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlGIWqMCbWAEAOw==)}.dg .cr.boolean{border-left:3px solid #806787}.dg .cr.color{border-left:3px solid}.dg .cr.function{border-left:3px solid #e61d5f}.dg .cr.number{border-left:3px solid #2fa1d6}.dg .cr.number input[type=text]{color:#2fa1d6}.dg .cr.string{border-left:3px solid #1ed36f}.dg .cr.string input[type=text]{color:#1ed36f}.dg .cr.boolean:hover,.dg .cr.function:hover{background:#111}.dg .c input[type=text]{background:#303030;outline:none}.dg .c input[type=text]:hover{background:#3c3c3c}.dg .c input[type=text]:focus{background:#494949;color:#fff}.dg .c .slider{background:#303030;cursor:ew-resize}.dg .c .slider-fg{background:#2fa1d6;max-width:100%}.dg .c .slider:hover{background:#3c3c3c}.dg .c .slider:hover .slider-fg{background:#44abda}</style>
<script type="text/javascript">try {
var AG_onLoad=function(func){if(document.readyState==="complete"||document.readyState==="interactive")func();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",func);else if(document.attachEvent)document.attachEvent("DOMContentLoaded",func)};
var AG_removeElementById = function(id) { var element = document.getElementById(id); if (element && element.parentNode) { element.parentNode.removeChild(element); }};
var AG_removeElementBySelector = function(selector) { if (!document.querySelectorAll) { return; } var nodes = document.querySelectorAll(selector); if (nodes) { for (var i = 0; i < nodes.length; i++) { if (nodes[i] && nodes[i].parentNode) { nodes[i].parentNode.removeChild(nodes[i]); } } } };
var AG_each = function(selector, fn) { if (!document.querySelectorAll) return; var elements = document.querySelectorAll(selector); for (var i = 0; i < elements.length; i++) { fn(elements[i]); }; };
var AG_removeParent = function(el, fn) { while (el && el.parentNode) { if (fn(el)) { el.parentNode.removeChild(el); return; } el = el.parentNode; } };
var AdFox_getCodeScript = function() {};
AG_onLoad(function() { AG_each('iframe[id^="AdFox_iframe_"]', function(el) { if (el && el.parentNode) { el.parentNode.removeChild(el); } }); });
try { Object.defineProperty(window, 'noAdsAtAll', { get: function() { return true; } }); } catch (ex) {}
navigator.getBattery = undefined;
(function() { window.Ya = window.Ya || {}; window.Ya.Metrika = function() { var noop = function() {}; this.addFileExtension = noop; this.extLink = noop; this.file = noop; this.hit = noop; this.notBounce = noop; this.params = noop; this.reachGoal = noop; this.replacePhones = noop; this.clickmap = noop; this.trackLinks = noop; }; })();
var _gaq = []; var _gat = { _getTracker: function() { return { _initData: function(){}, _trackPageview: function(){}, _trackEvent: function(){}, _setAllowLinker: function() {}, _setCustomVar: function() {} } }, _createTracker: function() { return this._getTracker(); }, _anonymizeIp: function() {} };
function urchinTracker() {};
window.uabInject = function() {};
} catch (ex) { console.error('Error executing AG js: ' + ex); }</script>
</head>
<body class="single single-post postid-1983 single-format-standard">
<header id="header" class="header">
<div class="container-inner">
<div class="yusi-logo">
<a href="../index.html">
<h1>
<span style="font-family:'jin_mei_mxplzx86d456993036';color: #fff;font-weight: normal;font-size: 54px;animation: shake-slow 300s ease-in-out infinite;"class="preview-item small shake-slow shake-constant shake-constant--hover">逗比根据地</span>
<span style="font-family:'LiDeBiao-Xing320e75d0253036';color: #fff;font-size: 24px;animation: shake-slow 300s ease-in-out infinite;" class="preview-item small shake-slow shake-constant shake-constant--hover">– 世界那么逗,我想出去看看</span>
</h1>
</a>
</div>
</div>
<div id="nav-header" class="navbar">
<ul class="nav">
<li><a href="../index.html"><i class="fa fa-flag"></i> 首页</a></li>
<li><a target="_blank" href="../dbtj/index.html"><i class="fa fa-thumbs-up"></i> 逗比推荐</a>
<ul class="sub-menu">
<li><a target="_blank" href="../dbwz/index.html">碉堡网站</a></li>
<li><a target="_blank" href="../dbrj/index.html">逗比软件</a></li>
<li><a target="_blank" href="../xnzj/index.html">虚拟主机</a></li>
<li><a target="_blank" href="../vpszy/index.html">VPS资源</a></li>
</ul>
</li>
<li class="current-post-ancestor"><a target="_blank" href="../kxsw/index.html"><i class="fa fa-google"></i> 科学上网</a>
<ul class="sub-menu">
<li><a target="_blank" href="../androidkxsw/index.html">安卓合集</a></li>
<li><a target="_blank" href="../pckxsw/index.html">电脑合集</a></li>
<li class="current-post-ancestor current-menu-parent"><a target="_blank" href="../wlzy/index.html">网络资源</a></li>
<li class="current-post-ancestor current-menu-parent"><a target="_blank" href="../jzzy/index.html">建站资源</a></li>
<li><a target="_blank" href="../vpnzy/index.html">VPN资源</a></li>
<li><a target="_blank" href="../shell/index.html">Shell脚本</a></li>
<li><a target="_blank" href="../linux/index.html">Linux教程</a></li>
</ul>
</li>
<li><a target="_blank" href="../ss-jc26/index.html"><i class="fa fa-paper-plane"></i> Shadowsocks</a>
<ul class="sub-menu">
<li><a target="_blank" href="../all-one/index.html"><span style="color: #ffe200;">网站文章 合辑</span></a></li>
<li><a target="_blank" href="../sszhfx/index.html">免费账号 分享</a></li>
<li><a target="_blank" href="../ss-jc26/index.html">所有教程 合辑</a></li>
<li><a target="_blank" href="../ss-jc35/index.html">小白常见 问题</a></li>
<li><a target="_blank" href="../ss-jc39/index.html">故障排除 方法</a></li>
<li><a target="_blank" href="../ss-jc42/index.html">一键管理 脚本</a></li>
<li><a target="_blank" href="../ss-jc60/index.html">一键管理 脚本2</a></li>
</ul>
</li>
<li><a target="_blank" href="../vps-tj/index.html"><i class="fa fa-tasks"></i> 便宜VPS推荐</a></li>
<li><a target="_blank" href="https://softs.fun"><i class="fa fa-cloud"></i> 逗比云</a></li>
<li><a target="_blank" href="../dashang/index.html"><span style="color: #ff6464;"><i class="fa fa-heart"></i></span> 捐赠打赏</a></li>
<li><a target="_blank" href="../guestbook/index.html"><i class="fa fa-pencil-square-o"></i> 留言</a></li>
<li style="float:right;">
<div class="toggle-search" style="width: 60px;"><i class="fa fa-search"></i><a href="index.html#" style="padding: 0;">搜索</a></div>
<div class="search-expand" style="display: none;"><div class="search-expand-inner"><form method="get" class="searchform themeform" onsubmit="location.href='https://doub.io/search/' + encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;" action="../index.html"><div> <input type="ext" class="search" name="s" onblur="if(this.value=='')this.value='请善用搜索功能...';" onfocus="if(this.value=='请善用搜索功能...')this.value='';" value="请善用搜索功能..."></div></form></div></div>
</li>
</ul>
</div>
</div>
</header>
<section class="container"><div class="speedbar">
<div class="toptip"><strong class="text-success"><i class="fa fa-volume-up"></i> </strong> <strong>本站被恶意攻击,攻击者为: <a target="_blank" href="http://www.sstest.cc/">sstest.cc</a> </strong>不仅盗我网站文章和免费SS账号,还DDCC本站,着实无耻! <div style="float: right;margin: 0 10px;"><a target="_blank" href="../tougao/index.html"><i class="fa fa-envelope" style="color: #1abc9c;opacity: 1;"></i>投稿文章</a> | <a target="_blank" href="../guanggao/index.html"><i class="fa fa-money" style="color: #1abc9c;opacity: 1;"></i>广告投放</a> | <a target="_blank" href="https://doub.io/go/tg"><i class="fa fa-paper-plane" style="color: #1abc9c;opacity: 1;"></i>Telegram 群组</a> / <a target="_blank" href="https://doub.io/go/tg_a">公告频道</a> </div></div>
</div>
<div class="content-wrap">
<div class="content">
<header class="article-header">
<h1 class="article-title"><a href="index.html">利用 Caddy 非常简单的部署 反向代理/镜像(支持自签SSL证书)</a></h1>
<div class="meta">
<span id="mute-category" class="muted"><i class="fa fa-list-alt"></i><a href="../jzzy/index.html"> 建站资源</a></span> <span class="muted"><i class="fa fa-user"></i> <a href="../author/toyo/index.html">Toyo</a></span>
<time class="muted"><i class="fa fa-clock-o"></i> 6个月前 (03-13)</time>
<!-- span class="muted"><i class="fa fa-eye"></i> 4281℃</span -->
<span class="muted"><i class="fa fa-comments-o"></i> <a href="index.html#comments">59评论</a></span> </div>
</header>
<article class="article-content">
<div id="content-index" class="content-index" style="margin:0 0 10px 10px;float:right;"><div class="content-index-title">文章目录</div><span class="content-index-toctoggle">[<a id="content-index-togglelink" href="javascript:content_index_toggleToc()">显示</a>]</span>
<script type="text/javascript" language="javascript">
window.content_index_showTocToggle=false;function content_index_toggleToc(){var tts="显示";var tth="隐藏";if(window.content_index_showTocToggle){window.content_index_showTocToggle=false;document.getElementById("content-index-contents").style.display="none";document.getElementById("content-index-togglelink").innerHTML=tts}else{window.content_index_showTocToggle=true;document.getElementById("content-index-contents").style.display="block";document.getElementById("content-index-togglelink").innerHTML=tth}}
</script>
<ul id="content-index-contents" style="display: none;"><li class="content-index-level-1"><a href="index.html#%E9%83%A8%E7%BD%B2%20Caddy" title="部署 Caddy"><span>部署 Caddy</span></a></li><li class="content-index-level-1"><a href="index.html#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6" title="配置文件"><span>配置文件</span></a><ul class="children"><li class="content-index-level-2"><a href="index.html#%E6%9C%8D%E5%8A%A1%E5%99%A8IP%20%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86" title="服务器IP 反向代理"><span>服务器IP 反向代理</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%9F%9F%E5%90%8D%20%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86%20HTTP" title="域名 反向代理 HTTP"><span>域名 反向代理 HTTP</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%9F%9F%E5%90%8D%20%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86%20HTTPS" title="域名 反向代理 HTTPS"><span>域名 反向代理 HTTPS</span></a></li><li class="content-index-level-2"><a href="index.html#HTTP%E9%87%8D%E5%AE%9A%E5%90%91%E4%B8%BAHTTPS" title="HTTP重定向为HTTPS"><span>HTTP重定向为HTTPS</span></a></li></ul></li><li class="content-index-level-1"><a href="index.html#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E" title="使用说明"><span>使用说明</span></a><ul class="children"><li class="content-index-level-2"><a href="index.html#%E5%8D%B8%E8%BD%BD%20Caddy%EF%BC%9A" title="卸载 Caddy:"><span>卸载 Caddy:</span></a></li></ul></li><li class="content-index-level-1"><a href="index.html#%E5%85%B6%E4%BB%96%E8%AF%B4%E6%98%8E" title="其他说明"><span>其他说明</span></a><ul class="children"><li class="content-index-level-2"><a href="index.html#%E5%8D%95%E7%BD%91%E7%AB%99/%E5%A4%9A%E7%BD%91%E7%AB%99" title="单网站/多网站"><span>单网站/多网站</span></a></li><li class="content-index-level-2"><a href="index.html#%E7%BD%91%E9%A1%B5%E5%8A%A0%E5%AF%86" title="网页加密"><span>网页加密</span></a></li><li class="content-index-level-2"><a href="index.html#%E8%AE%B0%E5%BD%95%E6%97%A5%E5%BF%97" title="记录日志"><span>记录日志</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%90%AF%E5%8A%A8%E6%98%BE%E7%A4%BA%E6%88%90%E5%8A%9F%EF%BC%8C%E4%BD%86%E6%98%AF%E5%AE%9E%E9%99%85%E6%9C%AA%E8%BF%90%E8%A1%8C" title="启动显示成功,但是实际未运行"><span>启动显示成功,但是实际未运行</span></a></li><li class="content-index-level-2"><a href="index.html#Caddy%E5%90%AF%E5%8A%A8%E5%A4%B1%E8%B4%A5%EF%BC%8C%E6%89%93%E5%BC%80%20http://ip%20%E6%98%BE%E7%A4%BA%E7%9A%84%E6%98%AF%20It%20works%20!" title="Caddy启动失败,打开 http://ip 显示的是 It works !"><span>Caddy启动失败,打开 http://ip 显示的是 It works !</span></a></li></ul></li></ul></div>
<div class="old-message">本文最后更新于 <a style="color: #ff6464;"><strong>2017年6月8日 15:38</strong></a> 可能会因为没有更新而失效。如已失效或需要修正,请留言!</div><p>Caddy是一个使用 Go语言写的 HTTP Server,开发时间并不长,在性能上或许比不上 Nginx,但是在 上手难度/配置难度 上面简单的不行不行的。</p>
<p>并且 Caddy支持 自动签订Let’s Encrypt SSL证书,什么都不需要你管,只需要提供一个邮箱,剩下的他会自己申请、配置和续约 SSL证书!</p>
<h2 id="部署 Caddy">部署 Caddy</h2>
<p>Caddy 是 Go语言编译好的二进制程序,所以只有一个 Caddy 文件(还需要生成一个配置文件),但是为了管理方便,所以我做了个一键脚本。</p>
<pre class="prettyprint linenums">wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager
# 如果上面这个脚本无法下载,尝试使用备用下载:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager
</pre>
<p>安装Caddy成功后,我们就继续下面的步骤。</p>
<h2 id="配置文件">配置文件</h2>
<p>Caddy的特点之一就是,配置文件非常的简单,继续下面看就知道了。</p>
<h3 id="服务器IP 反向代理">服务器IP 反向代理</h3>
<p>下面是一个,用你服务器的IP 来反向代理一个<code> http 协议的网站 http://www.baidu.com </code><br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<p>一次性复制以下全部代码,并粘贴到SSH中执行:</p>
<pre class="prettyprint linenums">echo ":80 {
gzip
proxy / http://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>服务器IP 也可以反向代理 HTTPS 协议的网站,但是需要自签SSL证书,现在的浏览器一般都不会认 自签的SSL证书,所以不建议这么做。<br />
</p></div></p>
<h3 id="域名 反向代理 HTTP">域名 反向代理 HTTP</h3>
<p>下面是一个,用你的域名 来反向代理一个<code> http 协议的网站 http://www.baidu.com </code><br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<p>以下所有示例域名为<code> toyoo.ml </code>,请注意替换为 自己的域名 !</p>
<p>一次性复制以下全部代码,并粘贴到SSH中执行:</p>
<pre class="prettyprint linenums">echo "http://toyoo.ml {
gzip
proxy / http://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>如果你需要反向代理 HTTPS 协议的网站,比如<code> https://www.baidu.com </code>,那么继续看下面步骤。<br />
</p></div></p>
<h3 id="域名 反向代理 HTTPS">域名 反向代理 HTTPS</h3>
<p>如果你有 SSL证书和密匙的话,把 <strong>SSL证书(xxx.crt)和密匙(xxx.key)文件</strong>放到<code> /root </code>文件夹下(也可以是其他文件夹,自己改下面代码),然后这样做:<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<p>一次性复制以下全部代码,并粘贴到SSH中执行:</p>
<pre class="prettyprint linenums">echo "https://toyoo.ml {
gzip
tls /root/xxx.crt /root/xxx.key
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>如果你没有 SSL证书和密匙,那么你可以这样做:</p>
<p>下面的<code> [email protected] </code>改成你的邮箱,同时需要注意的是,<strong>申请 SSL证书前,请务必提前解析好域名记录(解析后最好等一会,以全球生效)</strong>,否则 Caddy会申请并配置失败!</p>
<p>一次性复制以下全部代码,并粘贴到SSH中执行:</p>
<pre class="prettyprint linenums">echo "https://toyoo.ml {
gzip
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>如果一切正常,那么Caddy会自动帮你申请 SSL证书并配置好,而且会定时续约SSL证书 和 强制 http重定向至https !</p>
<blockquote><p>上面这两段示例中,只要把 <strong>https://www.baidu.com</strong> 改成 <strong>https://www.google.com</strong> ,即可实现反向代理 Google了!</p>
<p>需要注意的是,因为墙会检测关键词,所以<strong>请务必使用 HTTPS协议,不要使用 HTTP协议,否则很快就会被墙!</strong></p></blockquote>
<p></p></div></p>
<h3 id="HTTP重定向为HTTPS">HTTP重定向为HTTPS</h3>
<p>当你是手动指定 SSL证书和密匙 来配置的话,Caddy只会监听 443端口(https),并不会自动设置 80端口(http)的重定向(如果是Caddy自动申请的SSL证书,那么就自动做好了),如果要做重定向的话,可以这样做:<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<p>下面的示例代码中,是把<code> http://toyoo.ml、http://233.toyoo.ml、https://666.toyoo.ml </code>三个域名都重定向到了<code> https://toyoo.ml </code>。</p>
<p>一次性复制以下全部代码,并粘贴到SSH中执行:</p>
<pre class="prettyprint linenums">echo "http://toyoo.ml ,http://233.toyoo.ml ,https://666.toyoo.ml {
redir https://toyoo.ml{url}
}
https://toyoo.ml {
gzip
tls /root/xxx.crt /root/xxx.key
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>修改完 Caddy的配置文件后,重启 Caddy即可。</p>
<pre class="prettyprint linenums">service caddy restart
</pre>
<p></p></div></p>
<h2 id="使用说明">使用说明</h2>
<p><strong>启动:</strong>service caddy start</p>
<p><strong>停止:</strong>service caddy stop</p>
<p><strong>重启:</strong>service caddy restart</p>
<p><strong>查看状态:</strong>service caddy status</p>
<p><strong>查看Caddy启动日志:</strong> tail -f /tmp/caddy.log</p>
<p><strong>Caddy配置文件位置:</strong>/usr/local/caddy/Caddyfile</p>
<h3 id="卸载 Caddy:">卸载 Caddy:</h3>
<p>执行以下代码后,会问你是否确定要卸载 Caddy,输入<code> y </code>即可。</p>
<pre>注意:卸载 Caddy 会把Caddy的所有虚拟主机文件夹和配置文件删除,并且不可恢复!</pre>
<pre class="prettyprint linenums">wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh uninstall
# 如果上面这个脚本无法下载,尝试使用备用下载:
wget -N --no-check-certificate https://raw.githubusercontent.com/pipesocks/install/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh uninstall
</pre>
<h2 id="其他说明">其他说明</h2>
<h3 id="单网站/多网站">单网站/多网站</h3>
<p>当然,上面的几个示例,实际上都算是单网站。<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<p>最后一句代码都是<code> }" > /usr/local/caddy/Caddyfile </code>,也就是清空了 Caddy配置文件,然后再写入了配置信息。</p>
<p>如果你要设置多个网站,那么把最后一句代码改成<code> }" >> /usr/local/caddy/Caddyfile </code>即可,注意是把<code> > </code>改成<code> >> </code>,这样就不会清空原来的配置信息了,而是会把要添加的配置信息加到配置文件最后!<br />
</p></div></p>
<h3 id="网页加密">网页加密</h3>
<p>什么?担心自己做的镜像不小心爆露被滥用?没事,设置一下用户名和密码即可,只需要在上面的示例中加入这行代码:<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<pre class="prettyprint linenums">basicauth / user passwd</pre>
<p><code>user</code>指的是 用户名,<code>passwd</code>指的是 用户名密码,设置这个后,访问网页就需要输入用户名和密码来验证了!</p>
<pre>注意:用户名和密码不支持特殊符号,必须使用 数字和字母 [a-z][A-z][0-6]</pre>
<p>修改配置文件后,记得重启 Caddy !</p>
<p><strong>配置示例:</strong></p>
<pre class="prettyprint linenums">echo "https://toyoo.ml {
gzip
basicauth / user passwd
tls /root/xxx.crt /root/xxx.key
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p></p></div></p>
<h3 id="记录日志">记录日志</h3>
<p>如果你想要记录网站访问日志,那么只需要在上面的示例中加入这行代码:<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<pre class="prettyprint linenums">log /tmp/caddy_1.log
</pre>
<p>修改配置文件后,记得重启 Caddy !</p>
<p><strong>配置示例:</strong></p>
<pre class="prettyprint linenums">echo "https://toyoo.ml {
gzip
log /tmp/caddy_1.log
tls /root/xxx.crt /root/xxx.key
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
</pre>
<p>日志文件的位置和名字可以自己改,放到<code> /tmp </code>文件夹的话,每次重启都会自动清空日志的。<br />
</p></div></p>
<h3 id="启动显示成功,但是实际未运行">启动显示成功,但是实际未运行</h3>
<p>因为 服务脚本判断的问题,只判断了nohub是否运行 Caddy成功,但没有判断 Caddy 是否保持正常运行。</p>
<p>你可以理解为,nohub成功启动了 Caddy,但是 Caddy因为配置文件错误等原因,启动后又退出了。</p>
<p>所以这种情况下,你应该去查看启动日志:</p>
<pre class="prettyprint linenums">tail -f /tmp/caddy.log
</pre>
<h3 id="Caddy启动失败,打开 http://ip 显示的是 It works !">Caddy启动失败,打开 http://ip 显示的是 It works !</h3>
<p>一些系统会自带 apache2 ,而 apache2 会占用80端口,导致Caddy无法绑定端口,所以只要关掉就好了。<br />
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<pre class="prettyprint linenums">netstat -lntp
# 我们可以通过这个命令查看是不是被其他软件占用了 80 端口。
</pre>
<p>不过 apache2 会默认开机自启动,如果不需要可以关闭自启动或者卸载 apache2 。</p>
<p><strong>停止 Apache2</strong></p>
<pre class="prettyprint linenums">service apache2 stop
# 尝试使用上面这个关闭,如果没效果或者提示什么错误无法关闭,那就用下面这个强行关闭进程。
kill -9 $(ps -ef|grep "apache2"|grep -v "grep"|awk '{print $2}')
</pre>
<p><strong>取消开机自启动</strong></p>
<pre class="prettyprint linenums"># 以下代码仅限 Debian/Ubuntu 系统 #
update-rc.d -f apache2 remove
</pre>
<p><strong>卸载 Apache2</strong></p>
<pre class="prettyprint linenums"># 以下代码仅限 Debian/Ubuntu 系统 #
apt-get remove --purge apache2
</pre>
<p>关闭 Apache2后,就可以尝试启动 Caddy ,并试试能不能打开网页。</p>
<pre class="prettyprint linenums">service caddy start
</pre>
<p></p></div></p>
<hr />
<p>有什么问题请在下面留言评论。</p>
<p><pre style="border-left: solid 4px #1abc9c;"><strong>转载请超链接注明:</strong><a href="../index.html">逗比根据地</a> » <a href="index.html">利用 Caddy 非常简单的部署 反向代理/镜像(支持自签SSL证书)</a></pre><pre><strong>责任声明:</strong>本站一切资源仅用作交流学习,请勿用作商业或违法行为!如造成任何后果,本站概不负责!</pre></p>
<div class="article-social">
<a href="javascript:;" data-action="ding" data-id="1983" id="Addlike" class="action"><i class="fa fa-thumbs-o-up"></i>赞 (<span class="count">18</span>)</a><span class="or">or</span><a class="action dashang-single" target="_blank" href="../dashang/index.html"><i style="color: #ff6464;" class="fa fa-heart"></i>打赏</a>
</div>
</article>
<footer class="article-footer">
<div class="article-tags"><i class="fa fa-tags"></i><a href="../tag/caddy/index.html" rel="tag">Caddy</a><a href="../tag/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/index.html" rel="tag">反向代理</a><a href="../tag/%E9%95%9C%E5%83%8F/index.html" rel="tag">镜像</a></div></footer>
<nav class="article-nav">
<span class="article-nav-prev"><i class="fa fa-angle-double-left"></i> <a href="../shell-jc1/index.html" rel="prev">『原创』Go语言 跨平台支持的极简 HTTP Server —— Caddy一键安装脚本</a></span>
<span class="article-nav-next"><a href="../ss-jc48/index.html" rel="next">ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配</a> <i class="fa fa-angle-double-right"></i></span>
</nav>
<div class="related_top">
<div class="related_posts"><ul class="related_img">
<li class="related_box" >
<a href="../wlzy-34/index.html" title="Debian 编译安装 SNI Proxy 反向代理教程(可用于Hosts/DNS服务器)" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-qita-04-03.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="Debian 编译安装 SNI Proxy 反向代理教程(可用于Hosts/DNS服务器)" /> <br><span class="r_title">Debian 编译安装 SNI Proxy 反向代理教程(可用于Hosts/DNS服务器)</span></a>
</li>
<li class="related_box" >
<a href="../shell-jc3/index.html" title="『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-qita-04-09.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本" /> <br><span class="r_title">『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本</span></a>
</li>
<li class="related_box" >
<a href="../jzzy-3/index.html" title="利用 Caddy FileManager扩展 非常简单的部署 私人网盘/在线文件管理器" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-caddy.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="利用 Caddy FileManager扩展 非常简单的部署 私人网盘/在线文件管理器" /> <br><span class="r_title">利用 Caddy FileManager扩展 非常简单的部署 私人网盘/在线文件管理器</span></a>
</li>
<li class="related_box" >
<a href="../ss-jc48/index.html" title="ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-shadowsocksR-0.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配" /> <br><span class="r_title">ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配</span></a>
</li>
</ul>
<div class="relates">
<ul>
<li><i class="fa fa-minus"></i><a href="../wlzy-34/index.html">Debian 编译安装 SNI Proxy 反向代理教程(可用于Hosts/DNS服务器)</a></li><li><i class="fa fa-minus"></i><a href="../shell-jc3/index.html">『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本</a></li><li><i class="fa fa-minus"></i><a href="../jzzy-3/index.html">利用 Caddy FileManager扩展 非常简单的部署 私人网盘/在线文件管理器</a></li><li><i class="fa fa-minus"></i><a href="../ss-jc48/index.html">ShadowsocksR服务端伪装成 正常网站流量,以更好的欺骗流量匹配</a></li><li><i class="fa fa-minus"></i><a href="../shell-jc1/index.html">『原创』Go语言 跨平台支持的极简 HTTP Server —— Caddy一键安装脚本</a></li><li><i class="fa fa-minus"></i><a href="../linux-jc5/index.html">Linux开放HTTP服务并下载文件到本地 以测试 VPS回程速度</a></li><li><i class="fa fa-minus"></i><a href="../wlzy-27/index.html">一个 反代无需证书 适用于DNS/Hosts的小工具 —— SNI Proxy代理 安装教程</a></li><li><i class="fa fa-minus"></i><a href="../wlzy-10/index.html">Google/Youtube/Wiki/Instagram等 一键镜像部署脚本 —— Zmirror</a></li>
</ul></div></div> </div>
<div id="respond" class="no_webshot">
<form action="https://doub.io/wp-comments-post.php" method="post" id="commentform">
<div class="comt-title">
<div class="comt-avatar pull-left">
</div>
<div class="comt-author pull-left">
发表我的评论 </div>
<a id="cancel-comment-reply-link" class="pull-right" href="javascript:;">取消评论</a>
</div>
<div class="comt">
<div class="comt-box">
<textarea placeholder="看见这么吊的文章,还不惊为天人?赶紧写下感想膜拜一下吧!哇哇哇(如问略复杂的问题请Telegram[t.me/doubi]联系本人,评论里只适合简单的交流。)" class="input-block-level comt-area" name="comment" id="comment" cols="100%" rows="3" tabindex="1" onkeydown="if(event.ctrlKey&&event.keyCode==13){document.getElementById('submit').click();return false};"></textarea>
<div class="comt-ctrl">
<button class="btn btn-primary pull-right" type="submit" name="submit" id="submit" tabindex="5"><i class="fa fa-check-square-o"></i> 提交评论</button>
<div class="comt-tips pull-right"><input type='hidden' name='comment_post_ID' value='1983' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
</div>
<span data-type="comment-insert-smilie" class="muted comt-smilie"><i class="fa fa-smile-o"></i> 表情</span>
<span class="muted comt-mailme"><label for="comment_mail_notify" class="checkbox inline" style="padding-top:0"><input type="checkbox" name="comment_mail_notify" id="comment_mail_notify" value="comment_mail_notify" checked="checked"/>有人回复时邮件通知我</label></span>
</div>
</div>
<div class="comt-comterinfo" id="comment-author-info" >
<h4>Hi,您需要填写昵称和邮箱!</h4>
<ul>
<li class="form-inline"><label class="hide" for="author">昵称</label><input class="ipt" type="text" name="author" id="author" value="" tabindex="2" placeholder="昵称"><span class="help-inline">昵称 (必填)</span></li>
<li class="form-inline"><label class="hide" for="email">邮箱</label><input class="ipt" type="text" name="email" id="email" value="" tabindex="3" placeholder="邮箱"><span class="help-inline">邮箱 (必填)</span></li>
<li class="form-inline"><label class="hide" for="url">网址</label><input class="ipt" type="text" name="url" id="url" value="" tabindex="4" placeholder="网址"><span class="help-inline">网址</span></li>
</ul>
</div>
</div>
</form>
</div>
<div id="postcomments">
<div id="comments">
<i class="fa fa-comments-o"></i> <b> (59)</b>个小伙伴在吐槽
</div>
<ol class="commentlist">
<li class="comment even thread-even depth-1" id="comment-17812"><div class="c-avatar"><div class="c-main" id="div-comment-17812">按照教程安装一件脚本后添加域名反代回车没反应,启动:service caddy start提示启动失败。求解决,谢谢。<div class="c-meta"><span class="c-author">反代</span>2017-08-30 10:07 <a class='comment-reply-link' href='index-replytocom=17812.html#respond' onclick='return addComment.moveForm( "div-comment-17812", "17812", "respond", "1983" )' aria-label='回复给反代'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-17820"><div class="c-avatar"><div class="c-main" id="div-comment-17820">请提供日志内容。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-08-30 14:47 <a class='comment-reply-link' href='index-replytocom=17820.html#respond' onclick='return addComment.moveForm( "div-comment-17820", "17820", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-17767"><div class="c-avatar"><div class="c-main" id="div-comment-17767">证书无发申请是怎么回事 日志里面 Activating privacy features...2017/08/29 06:17:56 [myssf.tk] failed to get certificate: acme: Error 400 - urn:acme:error:connection - DNS problem: SERVFAIL looking up CAA for myssf.tk
Error Detail:
Validation for myssf.tk:443
Resolved to:<div class="c-meta"><span class="c-author">yexing</span>2017-08-29 18:24 <a class='comment-reply-link' href='index-replytocom=17767.html#respond' onclick='return addComment.moveForm( "div-comment-17767", "17767", "respond", "1983" )' aria-label='回复给yexing'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-17772"><div class="c-avatar"><div class="c-main" id="div-comment-17772">Caddy申请Let's SSL证书前,首先VPS要空出80端口,然后 你的域名也要做好解析(做完解析,可能需要过一段时间 国外Let's SSL的服务器才能更新到DNS解析记录)。你这个报错就是我括号里说的,要么你没做域名DNS解析,要么 Let's SSL 的服务器还没更新到最新的域名DNS解析(特别如果用的是国内DNS托管解析)。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-08-29 20:16 <a class='comment-reply-link' href='index-replytocom=17772.html#respond' onclick='return addComment.moveForm( "div-comment-17772", "17772", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment even depth-2" id="comment-17776"><div class="c-avatar"><div class="c-main" id="div-comment-17776">已经解决 要用国外的DNS解析商做解析才行<div class="c-meta"><span class="c-author">ufo86817</span>2017-08-29 20:33 <a class='comment-reply-link' href='index-replytocom=17776.html#respond' onclick='return addComment.moveForm( "div-comment-17776", "17776", "respond", "1983" )' aria-label='回复给ufo86817'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-17638"><div class="c-avatar"><div class="c-main" id="div-comment-17638">推荐一个虚拟主机也能用的网页代理,就一个文件,改名后放进虚拟主机目录里就能用,简直不能再方便。谷歌和维基百科测试正常。没有教程写快要死的时候可以用它充数哈哈。https://github.com/joshdick/miniProxy<div class="c-meta"><span class="c-author">Walsh Iscute</span>2017-08-27 04:42 <a class='comment-reply-link' href='index-replytocom=17638.html#respond' onclick='return addComment.moveForm( "div-comment-17638", "17638", "respond", "1983" )' aria-label='回复给Walsh Iscute'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-17642"><div class="c-avatar"><div class="c-main" id="div-comment-17642">这类网页代理程序有缺陷,特征还是较明显的,经常流量大的情况下,容易被封(看地区)。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-08-27 06:53 <a class='comment-reply-link' href='index-replytocom=17642.html#respond' onclick='return addComment.moveForm( "div-comment-17642", "17642", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-17390"><div class="c-avatar"><div class="c-main" id="div-comment-17390">老大,反代wiki的时候域名会自动跳转到原始域名,这是为什么呀?<div class="c-meta"><span class="c-author">toyo's fans</span>2017-08-21 21:59 <a class='comment-reply-link' href='index-replytocom=17390.html#respond' onclick='return addComment.moveForm( "div-comment-17390", "17390", "respond", "1983" )' aria-label='回复给toyo's fans'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-17391"><div class="c-avatar"><div class="c-main" id="div-comment-17391">可能是wiki做了反镜像,这个要一点一点排除文件内的代码,很麻烦。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-08-21 22:01 <a class='comment-reply-link' href='index-replytocom=17391.html#respond' onclick='return addComment.moveForm( "div-comment-17391", "17391", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-15976"><div class="c-avatar"><div class="c-main" id="div-comment-15976">成功搭建了一个youtube镜像,网站可以正常访问,但视频无法播放,一直显示在加载。可能是什么问题?<div class="c-meta"><span class="c-author">小伙子</span>2017-07-27 17:28 <a class='comment-reply-link' href='index-replytocom=15976.html#respond' onclick='return addComment.moveForm( "div-comment-15976", "15976", "respond", "1983" )' aria-label='回复给小伙子'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-15992"><div class="c-avatar"><div class="c-main" id="div-comment-15992">因为youtube的网站域名和视频是分开的,视频是CDN分发的,有几十上百个CDN域名。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-07-28 00:06 <a class='comment-reply-link' href='index-replytocom=15992.html#respond' onclick='return addComment.moveForm( "div-comment-15992", "15992", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-16018"><div class="c-avatar"><div class="c-main" id="div-comment-16018">谢谢回复!简单了解了一下什么是CDN。在使用caddy之前还使用过您博客里推荐的Zmirror,当时搭建成功后YouTube的视频是可以看的,这两天发现不行了,这又可能是什么原因呢?<div class="c-meta"><span class="c-author">小伙子</span>2017-07-28 12:05 <a class='comment-reply-link' href='index-replytocom=16018.html#respond' onclick='return addComment.moveForm( "div-comment-16018", "16018", "respond", "1983" )' aria-label='回复给小伙子'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-4" id="comment-16020"><div class="c-avatar"><div class="c-main" id="div-comment-16020">不清楚,自从写过教程后,我就没再用过 Zmirror 了,你可以去Github询问作者。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-07-28 12:41 <a class='comment-reply-link' href='index-replytocom=16020.html#respond' onclick='return addComment.moveForm( "div-comment-16020", "16020", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-14486"><div class="c-avatar"><div class="c-main" id="div-comment-14486">这个可以和LNMP共用吗?<div class="c-meta"><span class="c-author">KCP</span>2017-06-04 10:21 <a class='comment-reply-link' href='index-replytocom=14486.html#respond' onclick='return addComment.moveForm( "div-comment-14486", "14486", "respond", "1983" )' aria-label='回复给KCP'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-14491"><div class="c-avatar"><div class="c-main" id="div-comment-14491">那端口需要区分开,否则80 443 端口冲突。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-04 11:33 <a class='comment-reply-link' href='index-replytocom=14491.html#respond' onclick='return addComment.moveForm( "div-comment-14491", "14491", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-14386"><div class="c-avatar"><div class="c-main" id="div-comment-14386">另外toyo又想到一个疑问,因为自己的域名已经解析到vps主机ip上了,也就是说如果加密自己在公司使用,域名别人很可能看一眼就记住了,加密后别人又无法登录,那么怎么避免别人由于ping这个域名得到我的vps地址而带来的潜在攻击行为? 例如隐藏vps的IP? 还是有什么别的思路?谢谢~<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-01 23:19 <a class='comment-reply-link' href='index-replytocom=14386.html#respond' onclick='return addComment.moveForm( "div-comment-14386", "14386", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-14393"><div class="c-avatar"><div class="c-main" id="div-comment-14393">CDN自己了解。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-02 01:09 <a class='comment-reply-link' href='index-replytocom=14393.html#respond' onclick='return addComment.moveForm( "div-comment-14393", "14393", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-14414"><div class="c-avatar"><div class="c-main" id="div-comment-14414">cdn在我没有vps时 用7ghost建镜像站时用过,但原因是国外免费虚机访问速度慢所以用cdn加速,如果现在换了vps做主机再加节点是不是丧失了vps访问速度的优势?<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-02 14:27 <a class='comment-reply-link' href='index-replytocom=14414.html#respond' onclick='return addComment.moveForm( "div-comment-14414", "14414", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-4" id="comment-14429"><div class="c-avatar"><div class="c-main" id="div-comment-14429">cdn就是多服务器 反向代理+负载均衡+缓存 用的,至于是否速度比如直连,自行测试,不同CDN等因素都不一样。CDN主要用于 加速和 保护服务器源IP,避免被攻击。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-02 23:06 <a class='comment-reply-link' href='index-replytocom=14429.html#respond' onclick='return addComment.moveForm( "div-comment-14429", "14429", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-5" id="comment-14552"><div class="c-avatar"><div class="c-main" id="div-comment-14552">cdn隐藏主机IP也弄好了;教程里关于访问加密的机制,是输入一次密码以后同一IP/主机码访问都不用再输入密码 还是 更换IP或者访问客户主机就需要再次输入密码? 有没有什么代码可以实现强制要求每次无论是否更换ip或者访问客户主机码都必须再次输入密码? 谢谢!<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-06 22:51 <a class='comment-reply-link' href='index-replytocom=14552.html#respond' onclick='return addComment.moveForm( "div-comment-14552", "14552", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-6" id="comment-14556"><div class="c-avatar"><div class="c-main" id="div-comment-14556">无论是Nginx Apache还是Caddy,他们的用户名和密码机制,都是浏览器写入cookie,会有一个失效时间,如果你换个浏览器或者清理缓存下次在访问就会需要再次输入用户名和密码了。<br />
“有没有什么代码可以实现强制要求每次无论是否更换ip或者访问客户主机码都必须再次输入密码? 谢谢!”答案:无。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-07 02:38 <a class='comment-reply-link' href='index-replytocom=14556.html#respond' onclick='return addComment.moveForm( "div-comment-14556", "14556", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-7" id="comment-14898"><div class="c-avatar"><div class="c-main" id="div-comment-14898">toyo出了点问题:我第一个域名解析到vps后,镜像好了然后用cloudflare隐藏了ip加密访问都没问题, 换了两个域名同样的操作cloudflare添加好了,域名都打不开,不用cloudflare还用默认ns又可以访问了,域名应该没被Q;无法加载的提示:net::ERR_SSL_PROTOCOL_ERROR<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-17 21:39 <a class='comment-reply-link' href='index-replytocom=14898.html#respond' onclick='return addComment.moveForm( "div-comment-14898", "14898", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-8" id="comment-14899"><div class="c-avatar"><div class="c-main" id="div-comment-14899">:net::ERR_SSL_PROTOCOL_ERROR 这个错误还是SSL证书配置有问题,SSL网站在使用CDN后,需要在 CDN里做一些配置啥的(直接访问源站IP正常,访问CDN的报错),否则SSL证书可能会报错,但是cloudflare我没怎么用过,不清楚。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-17 23:04 <a class='comment-reply-link' href='index-replytocom=14899.html#respond' onclick='return addComment.moveForm( "div-comment-14899", "14899", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-14385"><div class="c-avatar"><div class="c-main" id="div-comment-14385">如果你没有 SSL证书和密匙,那么你可以这样做:
一次性复制以下全部代码,并粘贴到SSH中执行:
echo "https://toyoo.ml {
gzip
proxy / https://www.baidu.com
}" > /usr/local/caddy/Caddyfile
---------------------------------------------------------------------
问下toyo:代码第一行 你用的域名前面加了https: 但是域名解析完成后并没有绑定主机上传网页文件也就没有网站 只有一个域名是吗? 这时候为什么要加https呢? 我ping自己的域名返回vps的主机ip了就是解析完,那么第一行代码的域名我是加http: 还是https: ?
另外你的教程分反代http和反代https网站,后者又分有ssl和没有ssl,我理解前面的http或https大部分原站自动跳转https(如谷歌)也就是并不需要我做操作只要区分即可,那么后面的是否有ssl不是应该说的自己的网站吗? 网站未上传只有域名也分http和https? 逻辑有点混乱没搞明白~<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-01 23:00 <a class='comment-reply-link' href='index-replytocom=14385.html#respond' onclick='return addComment.moveForm( "div-comment-14385", "14385", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-14394"><div class="c-avatar"><div class="c-main" id="div-comment-14394">http就是只允许访问http,https就是只允许https。<br />
反向代理不需要网页文件,自行了解原理。<br />
【另外你的教程分反代http和反代https网站,后者又分有ssl和没有ssl】什么意思?https必须有SSL证书,否则就是http。<br />
看起来你没有一点基础知识,HTTP和HTTPS,与SSL等关系完全不理解,说都说不清。<br />
无法理解,就按教程一次次尝试,自己摸索。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-06-02 01:13 <a class='comment-reply-link' href='index-replytocom=14394.html#respond' onclick='return addComment.moveForm( "div-comment-14394", "14394", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-14416"><div class="c-avatar"><div class="c-main" id="div-comment-14416">设置完成生效了,但是我想你把http https以及ssl又说一遍的原因还是我对问题的表述不清楚,这是我的问题,打了太多字确实看着累直接过了<div class="c-meta"><span class="c-author">ogr1432</span>2017-06-02 14:37 <a class='comment-reply-link' href='index-replytocom=14416.html#respond' onclick='return addComment.moveForm( "div-comment-14416", "14416", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-even depth-1" id="comment-12899"><div class="c-avatar"><div class="c-main" id="div-comment-12899">你好,请问有没有镜像youtube的教程?<div class="c-meta"><span class="c-author">Ivan</span>2017-04-17 14:56 <a class='comment-reply-link' href='index-replytocom=12899.html#respond' onclick='return addComment.moveForm( "div-comment-12899", "12899", "respond", "1983" )' aria-label='回复给Ivan'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-12902"><div class="c-avatar"><div class="c-main" id="div-comment-12902"><a href="../wlzy-10/index.html" target="_blank" rel="nofollow">Google/Youtube/Wiki/Instagram等 一键镜像部署脚本 —— Zmirror</a><div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-04-17 16:28 <a class='comment-reply-link' href='index-replytocom=12902.html#respond' onclick='return addComment.moveForm( "div-comment-12902", "12902", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-12679"><div class="c-avatar"><div class="c-main" id="div-comment-12679">请问支持直接泛解析吗,比如mm.mm ==> *.123.com<div class="c-meta"><span class="c-author"><a href='http://asheblog.org' rel='external nofollow' class='url'>Ashe</a></span>2017-04-11 15:54 <a class='comment-reply-link' href='index-replytocom=12679.html#respond' onclick='return addComment.moveForm( "div-comment-12679", "12679", "respond", "1983" )' aria-label='回复给Ashe'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-12614"><div class="c-avatar"><div class="c-main" id="div-comment-12614">默认是以root运行caddy的吧?能以www-data用户来运行吗?<div class="c-meta"><span class="c-author">shinkansen</span>2017-04-09 21:33 <a class='comment-reply-link' href='index-replytocom=12614.html#respond' onclick='return addComment.moveForm( "div-comment-12614", "12614", "respond", "1983" )' aria-label='回复给shinkansen'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-12620"><div class="c-avatar"><div class="c-main" id="div-comment-12620">不清楚,详细的自己去Caddy官方文档查看。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-04-09 22:42 <a class='comment-reply-link' href='index-replytocom=12620.html#respond' onclick='return addComment.moveForm( "div-comment-12620", "12620", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-12418"><div class="c-avatar"><div class="c-main" id="div-comment-12418">感谢你的教程!有些不明白的地方还希望Toyo大指点。如果我想反代一个网站有多个地址,比如wikipedia,有https://en.wikipedia.org、https://zh.wikipedia.org……我手里只有一个顶级域名,需要分别解析不同二级域名后对应反代不同的网址吗?比如我有域名abc.com,A记录加en反代https://en.wikipedia.org,zh反代https://zh.wikipedia.org……有没有更简便的方法。另,反代twitter、facebook这种网站应该如何解决?我是新手,期待大大的解答。感谢!<div class="c-meta"><span class="c-author">mzxwt</span>2017-04-04 11:57 <a class='comment-reply-link' href='index-replytocom=12418.html#respond' onclick='return addComment.moveForm( "div-comment-12418", "12418", "respond", "1983" )' aria-label='回复给mzxwt'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-12423"><div class="c-avatar"><div class="c-main" id="div-comment-12423">如果你有个 666.com 域名,想要完全反代使用了大量外链CDN之类的网站(例如 233.com),那么需要把他的外链域名 全部反代,比如:
<pre class="prettyprint linenums" >
233.com => 666.com
cdn.233.com => cdn.666.com
img.233.com => img.666.com
</pre>
然后还要使用caddy的一个参数来替换你反代 233.com 里面的 cdn. img.的域名 为自己反代的 cdn. img. 域名,不过那个参数我还没研究过。。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-04-04 13:34 <a class='comment-reply-link' href='index-replytocom=12423.html#respond' onclick='return addComment.moveForm( "div-comment-12423", "12423", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-12504"><div class="c-avatar"><div class="c-main" id="div-comment-12504">谢谢解答。看来还是用zmirror的一键脚本比较方便。零基础,不容易。再次感谢!<div class="c-meta"><span class="c-author">mzxwt</span>2017-04-06 18:07 <a class='comment-reply-link' href='index-replytocom=12504.html#respond' onclick='return addComment.moveForm( "div-comment-12504", "12504", "respond", "1983" )' aria-label='回复给mzxwt'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-even depth-1" id="comment-12025"><div class="c-avatar"><div class="c-main" id="div-comment-12025">感谢教程,英文不好看官网看得迷糊。
请问怎么能让caddy服务开机后自动启动?
另外,我访问 我开放的是http://ip:80 结果主业就能访问,但是点进去的副页面就不行,例如 http://ip/aboutme.html,请问应该如何设置...谢谢<div class="c-meta"><span class="c-author">热血天堂</span>2017-03-25 14:17 <a class='comment-reply-link' href='index-replytocom=12025.html#respond' onclick='return addComment.moveForm( "div-comment-12025", "12025", "respond", "1983" )' aria-label='回复给热血天堂'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-12026"><div class="c-avatar"><div class="c-main" id="div-comment-12026">用我的脚本安装后,默认就是注册成服务,开机自启动的。如果没有启动请查看启动日志<code> tail -f /tmp/caddy.log </code><br />
副页面不行,提示的是什么?按教程默认应该是没问题的,毕竟我也一直在用。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-25 15:36 <a class='comment-reply-link' href='index-replytocom=12026.html#respond' onclick='return addComment.moveForm( "div-comment-12026", "12026", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-11945"><div class="c-avatar"><div class="c-main" id="div-comment-11945">再写个利用caddy搭建博客教程吧! <img data-original="https://doub.io/wp-content/themes/yusi1.0/img/smilies/icon_arrow.gif" alt=":arrow:" class="wp-smiley" style="height: 1em; max-height: 1em;" /><div class="c-meta"><span class="c-author">Qqq</span>2017-03-23 19:15 <a class='comment-reply-link' href='index-replytocom=11945.html#respond' onclick='return addComment.moveForm( "div-comment-11945", "11945", "respond", "1983" )' aria-label='回复给Qqq'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11946"><div class="c-avatar"><div class="c-main" id="div-comment-11946">如果是 Caddy+PHP+Mysql 的话,手动配置挺麻烦的。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-23 19:28 <a class='comment-reply-link' href='index-replytocom=11946.html#respond' onclick='return addComment.moveForm( "div-comment-11946", "11946", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-even depth-1" id="comment-11856"><div class="c-avatar"><div class="c-main" id="div-comment-11856">我看了下官方文档,有个filter插件,用来做关键字替换的,可以替换gg相关。。。可惜我一直部署不成功。https://caddyserver.com/docs/filter<div class="c-meta"><span class="c-author"><a href='https://www.amzcn.com/' rel='external nofollow' class='url'>AmzCN</a></span>2017-03-20 20:32 <a class='comment-reply-link' href='index-replytocom=11856.html#respond' onclick='return addComment.moveForm( "div-comment-11856", "11856", "respond", "1983" )' aria-label='回复给AmzCN'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-11782"><div class="c-avatar"><div class="c-main" id="div-comment-11782">可以代理Youtube么。。。。<div class="c-meta"><span class="c-author">额@去</span>2017-03-19 00:47 <a class='comment-reply-link' href='index-replytocom=11782.html#respond' onclick='return addComment.moveForm( "div-comment-11782", "11782", "respond", "1983" )' aria-label='回复给额@去'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11786"><div class="c-avatar"><div class="c-main" id="div-comment-11786">可以是可以,但是只镜像youtube.com是不行的,还要把youtube的视频源的域名全都镜像。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-19 10:15 <a class='comment-reply-link' href='index-replytocom=11786.html#respond' onclick='return addComment.moveForm( "div-comment-11786", "11786", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-11770"><div class="c-avatar"><div class="c-main" id="div-comment-11770">按教程反向代理谷歌以后caddy监听的是tcp6,这正常吗?输入自己的域名可以进入谷歌,但一搜索就跳到了ipv6.google.com, 然后打不开了,小白不太懂这是怎么回事<div class="c-meta"><span class="c-author">Create</span>2017-03-18 18:57 <a class='comment-reply-link' href='index-replytocom=11770.html#respond' onclick='return addComment.moveForm( "div-comment-11770", "11770", "respond", "1983" )' aria-label='回复给Create'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11771"><div class="c-avatar"><div class="c-main" id="div-comment-11771">这些HTTP服务器 基本都是,如果有ipv6就 ipv4+ipv6 都监听,如果只有ipv4就只监听ipv4。<br />
要么设置只监听ipv4(我也不知道能不能,说明文档里没找到),要么禁用服务器的ipv6。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-18 19:04 <a class='comment-reply-link' href='index-replytocom=11771.html#respond' onclick='return addComment.moveForm( "div-comment-11771", "11771", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-11777"><div class="c-avatar"><div class="c-main" id="div-comment-11777">不知道为什么,反向代理https://www.google.com,总是跳到ipv6.google.com,然后就无法连接……但是代理https://scholar.google.com正常<div class="c-meta"><span class="c-author">create</span>2017-03-18 22:07 <a class='comment-reply-link' href='index-replytocom=11777.html#respond' onclick='return addComment.moveForm( "div-comment-11777", "11777", "respond", "1983" )' aria-label='回复给create'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-4" id="comment-11779"><div class="c-avatar"><div class="c-main" id="div-comment-11779">这些HTTP服务器 基本都是,如果有ipv6就 ipv4+ipv6 都监听,如果只有ipv4就只监听ipv4。<br />
要么设置只监听ipv4(我也不知道能不能,说明文档里没找到),要么禁用服务器的ipv6。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-18 23:12 <a class='comment-reply-link' href='index-replytocom=11779.html#respond' onclick='return addComment.moveForm( "div-comment-11779", "11779", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-5" id="comment-11785"><div class="c-avatar"><div class="c-main" id="div-comment-11785">我错了,表生气 <img data-original="https://doub.io/wp-content/themes/yusi1.0/img/smilies/icon_sad.gif" alt=":sad:" class="wp-smiley" style="height: 1em; max-height: 1em;" /><div class="c-meta"><span class="c-author">create</span>2017-03-19 09:07 <a class='comment-reply-link' href='index-replytocom=11785.html#respond' onclick='return addComment.moveForm( "div-comment-11785", "11785", "respond", "1983" )' aria-label='回复给create'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-11759"><div class="c-avatar"><div class="c-main" id="div-comment-11759">Server file no newer than local file “caddy_install.sh” -- not retrieving.
caddy_install.sh: line 39: perl: command not found
[错误] Caddy 最新版本获取失败 !
出现这种情况?centos6 64位系统,跟系统有关系吗<div class="c-meta"><span class="c-author">wang</span>2017-03-18 15:18 <a class='comment-reply-link' href='index-replytocom=11759.html#respond' onclick='return addComment.moveForm( "div-comment-11759", "11759", "respond", "1983" )' aria-label='回复给wang'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11760"><div class="c-avatar"><div class="c-main" id="div-comment-11760">精简到这种程度?perl都没装?绝大部分linux系统都默认安装的,这些linux基础的命令都精简了,着实没见过。。。<br />
尝试<code> yum install perl </code>看看有没有这个软件包,如果没有建议手动安装caddy 或者 更换系统算了<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-18 15:59 <a class='comment-reply-link' href='index-replytocom=11760.html#respond' onclick='return addComment.moveForm( "div-comment-11760", "11760", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment even depth-2" id="comment-11781"><div class="c-avatar"><div class="c-main" id="div-comment-11781">感谢,已解决。注:搬瓦工新出的kvm<div class="c-meta"><span class="c-author">wang</span>2017-03-19 00:46 <a class='comment-reply-link' href='index-replytocom=11781.html#respond' onclick='return addComment.moveForm( "div-comment-11781", "11781", "respond", "1983" )' aria-label='回复给wang'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-11902"><div class="c-avatar"><div class="c-main" id="div-comment-11902">速度如何?<div class="c-meta"><span class="c-author">西部老大</span>2017-03-22 17:24 <a class='comment-reply-link' href='index-replytocom=11902.html#respond' onclick='return addComment.moveForm( "div-comment-11902", "11902", "respond", "1983" )' aria-label='回复给西部老大'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-4" id="comment-11903"><div class="c-avatar"><div class="c-main" id="div-comment-11903">自行测试。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-22 18:31 <a class='comment-reply-link' href='index-replytocom=11903.html#respond' onclick='return addComment.moveForm( "div-comment-11903", "11903", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-11575"><div class="c-avatar"><div class="c-main" id="div-comment-11575">话说要是域名被墙了 挂代理还能打开吗<div class="c-meta"><span class="c-author">南琴浪</span>2017-03-14 10:25 <a class='comment-reply-link' href='index-replytocom=11575.html#respond' onclick='return addComment.moveForm( "div-comment-11575", "11575", "respond", "1983" )' aria-label='回复给南琴浪'>回复</a></div></div></div><ul class="children">
<li class="comment even depth-2" id="comment-11578"><div class="c-avatar"><div class="c-main" id="div-comment-11578">哥们你这是在试探大逗的底线啊~ <img data-original="https://doub.io/wp-content/themes/yusi1.0/img/smilies/icon_smile.gif" alt=":smile:" class="wp-smiley" style="height: 1em; max-height: 1em;" /><div class="c-meta"><span class="c-author">ogr1432</span>2017-03-14 10:45 <a class='comment-reply-link' href='index-replytocom=11578.html#respond' onclick='return addComment.moveForm( "div-comment-11578", "11578", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11579"><div class="c-avatar"><div class="c-main" id="div-comment-11579">当然可以,墙了也只是 国内DNS污染。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-14 11:01 <a class='comment-reply-link' href='index-replytocom=11579.html#respond' onclick='return addComment.moveForm( "div-comment-11579", "11579", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-11558"><div class="c-avatar"><div class="c-main" id="div-comment-11558">不管是nginx还是caddy,如果用自己的vps绑定了域名反代谷歌,无论是否有ssl证书在,一旦网站域名被ban,vps会不会受牵连?有什么使用不当的后果?<div class="c-meta"><span class="c-author">ogr1432</span>2017-03-13 18:14 <a class='comment-reply-link' href='index-replytocom=11558.html#respond' onclick='return addComment.moveForm( "div-comment-11558", "11558", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11560"><div class="c-avatar"><div class="c-main" id="div-comment-11560">域名反向代理谷歌,目前都只是被墙发现后,吧域名DNS污染了。<br />
不影响VPS本身,就像我的网站,出问题的只是域名,VPS不用更换。<br />
SSL证书是必须加的,否则可能几天就墙了,即使是HTTPS,流量越大,被墙的几率越高,所以建议自己或者少量人使用,同时购买垃圾域名,墙了就更换。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-13 19:16 <a class='comment-reply-link' href='index-replytocom=11560.html#respond' onclick='return addComment.moveForm( "div-comment-11560", "11560", "respond", "1983" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment even depth-3" id="comment-11566"><div class="c-avatar"><div class="c-main" id="div-comment-11566">嗯,之前用7ghost做的几个反向代理,都做了ssl加密,如果没有https访问我也基本不敢分享给别人用;现在手里有几个免费域名一会去试一下这个教程~<div class="c-meta"><span class="c-author">ogr1432</span>2017-03-13 22:04 <a class='comment-reply-link' href='index-replytocom=11566.html#respond' onclick='return addComment.moveForm( "div-comment-11566", "11566", "respond", "1983" )' aria-label='回复给ogr1432'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-11554"><div class="c-avatar"><div class="c-main" id="div-comment-11554">虽然我完全看不懂,可是不妨碍我全部看完了。<div class="c-meta"><span class="c-author">大人看的片叫大片</span>2017-03-13 17:48 <a class='comment-reply-link' href='index-replytocom=11554.html#respond' onclick='return addComment.moveForm( "div-comment-11554", "11554", "respond", "1983" )' aria-label='回复给大人看的片叫大片'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-11553"><div class="c-avatar"><div class="c-main" id="div-comment-11553">这个可以有<div class="c-meta"><span class="c-author">kurokutomoko</span>2017-03-13 17:45 <a class='comment-reply-link' href='index-replytocom=11553.html#respond' onclick='return addComment.moveForm( "div-comment-11553", "11553", "respond", "1983" )' aria-label='回复给kurokutomoko'>回复</a></div></div></div></li><!-- #comment-## -->
</ol>
<div class="commentnav" >
</div>
</div>
</div>
</div>
<aside class="sidebar">
<div class="widget widget_text"><div class="textwidget"><div class="social">
<a href="https://doub.io/go/g-plus/" rel="external nofollow" title="Google plus" target="_blank"><i class="sinaweibo fa fa-google"></i></a><a href="https://doub.io/go/github/" rel="external nofollow" title="Github" target="_blank"><i class="github fa fa-github"></i></a><a href="https://doub.io/go/twitter/" rel="external nofollow" title="Twitter" target="_blank"><i class="twitter fa fa-twitter"></i></a><a href="https://doub.io/go/facebook/" rel="external nofollow" title="Facebook" target="_blank"><i class="facebook fa fa-facebook"></i></a><a href="https://doub.io/go/tg/" rel="external nofollow" title="Telegram" target="_blank"><i class="paper-plane fa fa-paper-plane"></i></a><a href="../feed/index.rss" rel="external nofollow" target="_blank" title="订阅本站"><i class="rss fa fa-rss"></i></a>
</div></div></div>
<div class="widget widget_text"> <div class="textwidget"><div style="text-align:center;padding: 10px 20px 5px;">
<a class="wid-xiaobai" style="padding-top:15px;padding-bottom:15px;background-color: #2196F3;font-size: 16px;font-weight: bold;" target="_blank" href="../all-one/index.html">逗比根据地 所有文章教程分类合辑</a>
<a class="wid-xiaobai" style="padding-top: 7px;padding-bottom: 7px;background-color: #673AB7;" target="_blank" href="../ss-jc26/index.html">Shadowsocks 指导篇 SS教程合辑</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #E91E63;" target="_blank" href="../sszhfx/index.html">Shadowsocks 免费公共 账号分享</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc39/index.html">Shadowsocks 无法使用 排除方法</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc35/index.html">Shadowsocks 小白 常见问题合辑</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc10/index.html">ShadowsocksR 客户端 小白教程</a>
<a class="wid-xiaobai" target="_blank" href="../ss-jc41/index.html">ShadowsocksR 服务端 视频教程</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc42/index.html">ShadowsocksR 单用户 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc60/index.html">ShadowsocksR 多用户 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-16/index.html">Linux 优化加速技巧 BBR 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../ruisu-jc1/index.html">Linux 优化加速技巧 锐速 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-21/index.html">Linux 优化加速 LotServer 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-33/index.html">锐速 / LotServer 配置参数简单说明</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-2/index.html">CentOS/Debian/Ubuntu L2TP 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-3/index.html">CentOS/Debian/Ubuntu IKEv2 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-7/index.html">Debian/Ubuntu AnyConnect 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #FF5722;" target="_blank" href="../linux-jc8/index.html">「持续更新」Linux常见命令介绍 - 基础篇</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #03a9f4;" target="_blank" href="../jzzy-3/index.html">一键搭建最简单的私人网盘 FileManager</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../shell-jc2/index.html">Linux封垃圾邮件(SPAM)/BT/PT 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../wlzy-11/index.html">VPS建博客 安装WordPress 小白视频教程</a>
<a class="wid-xiaobai" style="background-color: #555555;" target="_blank" href="../paypal-jc2/index.html">PayPal 更换汇率结算方式降低汇率手续费</a>
<a class="wid-xiaobai" style="width: 45.5%;" target="_blank" href="../androidkxsw/index.html">安卓科学上网合辑</a>
<a class="wid-xiaobai" style="width: 45.5%;" target="_blank" href="../pckxsw/index.html">电脑科学上网合辑</a>
</div></div>
</div><div class="widget widget_text"> <div class="textwidget"><a target="_blank" href="https://doub.io/go/minecloud/"><img style="margin-bottom: 10px;" src="../wp-content/uploads/minecloud-04.png" /></a>
<a target="_blank" href="https://doub.io/go/bwg-56/"><img style="margin-bottom: 10px;" src="../wp-content/uploads/bandwagonhost-01.png" /></a>
<a target="_blank" href="https://doub.io/go/vultr/"><img src="../wp-content/uploads/vultr-logo8.png" /></a></div>
</div><div class="widget widget_text"> <div class="textwidget"><style>.dashang a {
position: relative;
background-color: #ff6464;
color: #fff;
padding: 10px 15px;
border: 0;
padding-right: 50px;
}
.dashang a:hover {
background-color: #ff4545;
}
.dashang i {
background-color: #ff4545;
font-size: 16px;
position: absolute;
right: 0;
top: 0;
height: 27px;
padding: 12px 5px 0;
}
</style>
<div class="dashang" style="text-align:center;padding: 20px 0;">
<a target="_blank" href="../dashang/index.html">打赏大逗比<i class="fa fa-heart"></i></a>
</div></div>
</div><div class="widget d_tag"><div class="title"><h2>逗比の标签</h2></div><div class="d_tags"><a title="56个话题" href="../tag/shadowsocks/index.html">Shadowsocks (56)</a><a title="49个话题" href="../tag/%E6%95%99%E7%A8%8B/index.html">教程 (49)</a><a title="38个话题" href="../tag/kxsw/index.html">科学上网 (38)</a><a title="37个话题" href="../tag/%E8%84%9A%E6%9C%AC/index.html">脚本 (37)</a><a title="24个话题" href="../tag/shadowsocksr/index.html">ShadowsocksR (24)</a><a title="23个话题" href="../tag/vps/index.html">VPS (23)</a><a title="16个话题" href="../tag/linux/index.html">Linux (16)</a><a title="11个话题" href="../tag/vpn/index.html">VPN (11)</a><a title="11个话题" href="../tag/vpsyh/index.html">VPS优惠 (11)</a><a title="10个话题" href="../tag/vps%E8%B5%84%E6%BA%90/index.html">VPS资源 (10)</a><a title="10个话题" href="../tag/shell/index.html">shell (10)</a><a title="8个话题" href="../tag/bt/index.html">BT (8)</a><a title="7个话题" href="../tag/%E6%90%AC%E7%93%A6%E5%B7%A5/index.html">搬瓦工 (7)</a><a title="7个话题" href="../tag/%E7%A3%81%E5%8A%9B%E9%93%BE%E6%8E%A5/index.html">磁力链接 (7)</a><a title="7个话题" href="../tag/dns/index.html">DNS (7)</a><a title="7个话题" href="../tag/vps%E8%AF%84%E6%B5%8B/index.html">VPS评测 (7)</a><a title="6个话题" href="../tag/ss-panel/index.html">ss-panel (6)</a><a title="6个话题" href="../tag/%E5%9B%BD%E5%86%85%E4%B8%AD%E8%BD%AC/index.html">国内中转 (6)</a><a title="6个话题" href="../tag/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/index.html">反向代理 (6)</a><a title="6个话题" href="../tag/kvm/index.html">KVM (6)</a></div></div><div class="widget widget_links"><div class="title"><h2>友情の链接</h2></div>
<ul class='xoxo blogroll'>
<li><a href="https://cccat.co" target="_blank">CCCAT</a></li>
<li><a href="http://www.rarbt.com/" title="一个我经常是否的BT种子站,资源热度很不错" target="_blank">RARBT BT种子</a></li>
<li><a href="https://vps.best/" title="一个简洁,中立的VPS评测网站" target="_blank">VPS.BEST</a></li>
<li><a href="http://www.vpsps.com/" title="VPS评审|VPS评测 VPS优惠 linux教程 便宜VPS VPS推荐 VPS教程 国外VPS" target="_blank">VPS评审</a></li>
<li><a href="https://www.zhujiboke.com/" title="一起来搞机吧!" target="_blank">主机博客</a></li>
<li><a href="http://www.zhujiceping.com/" title="国外主机优惠码、域名优惠码、国外VPS测评、国外服务器" target="_blank">国外主机测评</a></li>
<li><a href="http://51.ruyo.net/" title="分享也是一种快乐!" target="_blank">如有乐享</a></li>
<li><a href="http://www.66re.cn/" title="一个神奇的影音娱乐网,电影、电视直播,视频VIP破解~" target="_blank">小康音乐电台</a></li>
<li><a href="http://ilxdh.com/" title="做个有用的导航!" target="_blank">龙轩导航</a></li>
</ul>
</div>
</aside></section>
<footer class="footer">
<div class="footer-inner">
<div class="copyright pull-left">
<a href="../index.html" title="逗比根据地">逗比根据地</a> 版权所有,保留一切权利 · <a href="../dashang/index.html" target="_blank" style="color: #ff6464;">♥ 捐赠打赏</a> · <a href="http://yusi123.com/3233.html" target="_blank">欲思主题</a> © 2015-2017</a>
</div>
<div class="trackcode pull-right">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?8067e5ade532c4f3711b320f1e88f213";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?26499fa0b99ff63dd9867c0c43ec1a9d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script> </div>
</div>
</footer>
<script type='text/javascript' src='../wp-content/themes/yusi1.0/js/jquery-ver=1.0.js'></script>
<script type="text/javascript">
var open = false;
$(function () {
$("button[data-type='Widescreen']").on("click", function () {
if (!open) {
$(".sidebar").hide(); $(".content").animate({ marginRight: 0 }, 200);
} else {
$(".sidebar").show(); $(".content").animate({ marginRight: 370 }, 200);
}
open = !open;
})
})
if(document.body.scrollWidth < 768){
$(".hot-posts").hide();
}
if(window!=window.top){window.top.location.replace(window.location)}function fuckyou(){window.close();window.location="about:blank"}function ck(){console.profile();console.profileEnd();if(console.clear){console.clear()};if(typeof console.profiles=="object"){return console.profiles.length>0}}function hehe(){if((window.console&&(console.firebug||console.table&&/firebug/i.test(console.table())))||(typeof opera=='object'&&typeof opera.postError=='function'&&console.profile.length>0)){fuckyou()}if(typeof console.profiles=="object"&&console.profiles.length>0){fuckyou()}}hehe();window.onresize=function(){if((window.outerHeight-window.innerHeight)>200)fuckyou()}
</script>
</body>
</html><!-- hyper cache gzip 2017-09-07 08:47:47 -->