Skip to content

Commit a07a98b

Browse files
committed
Recaptcha localization
1 parent 81d1b24 commit a07a98b

File tree

6 files changed

+32
-55
lines changed

6 files changed

+32
-55
lines changed

conf/cert.pem

-17
This file was deleted.

conf/key.pem

-27
This file was deleted.

conf/nginx.conf

+19
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,23 @@ http {
234234
}
235235
}
236236

237+
server {
238+
listen 443 ssl;
239+
server_name www.google.com;
240+
241+
ssl on;
242+
ssl_certificate ca/pixiv.net.crt;
243+
ssl_certificate_key ca/pixiv.net.key;
244+
245+
location / {
246+
root html;
247+
index index.html index.htm;
248+
}
249+
250+
error_page 500 502 503 504 /50x.html;
251+
location = /50x.html {
252+
root html;
253+
}
254+
}
255+
237256
}

hosts

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#本地化的登陆/注册界面的人机验证插件
2+
#如果你不需要这个功能,请把下一行删掉
3+
127.0.0.1 www.google.com
4+
15
#Pixiv Start
26
127.0.0.1 pixiv.net
37
127.0.0.1 www.pixiv.net
@@ -28,15 +32,12 @@
2832
210.140.92.134 s.pximg.net
2933
#Pixiv End
3034

31-
# 顺手修一下维基百科
35+
# 顺手修一下维基百科
3236
# Wikipedia Start
33-
127.0.0.1 zh.wikipedia.org #中文维基百科桌面版
34-
127.0.0.1 zh-yue.wikipedia.org #粤文维基百科桌面版
35-
127.0.0.1 wuu.wikipedia.org #吴语维基百科桌面版
36-
127.0.0.1 ug.wikipedia.org #维吾尔文维基百科桌面版
37-
127.0.0.1 ja.wikipedia.org #日文维基百科桌面版
38-
127.0.0.1 zh.wikinews.org #中文维基新闻桌面版
39-
127.0.0.1 zh.m.wikipedia.org #中文维基百科移动版
40-
127.0.0.1 ug.m.wikipedia.org #维吾尔文维基百科移动版
41-
127.0.0.1 zh.m.wikinews.org #中文维基新闻移动版
37+
127.0.0.1 zh.wikipedia.org #中文维基百科桌面版
38+
127.0.0.1 zh-yue.wikipedia.org #粤文维基百科桌面版
39+
127.0.0.1 wuu.wikipedia.org #吴语维基百科桌面版
40+
127.0.0.1 ug.wikipedia.org #维吾尔文维基百科桌面版
41+
127.0.0.1 ja.wikipedia.org #日文维基百科桌面版
42+
127.0.0.1 zh.wikinews.org #中文维基新闻桌面版
4243
# Wikipedia End

html/recaptcha/api.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

logs/nginx.pid

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9548
1+
2540

0 commit comments

Comments
 (0)