├── .gitattributes ├── .gitignore ├── .gitmodules ├── 0.注意上方地址栏路径必须为纯英文 ├── 1.第一次运行程序时弹窗处理.PNG ├── 2.请同意防火墙权限(重要).PNG ├── 3.可视化工具说明.PNG ├── 4.可视化工具(这个操作简单).exe ├── 5.调试工具(这个功能全).bat ├── 6.安全及隐私声明.txt ├── 7.更多信息及更新.html ├── BouncyCastle.dll ├── LICENSE ├── README.md ├── ca.cer ├── conf ├── ca │ ├── ca.cer │ ├── pixiv.net.crt │ └── pixiv.net.key ├── cert.conf ├── koi-utf ├── koi-win ├── mime.types ├── nginx.conf ├── scgi_params ├── shared-fastcgi.conf ├── shared-proxy-params-1.conf ├── shared-proxy-params-2.conf ├── shared-proxy-params-iwaras.conf ├── shared-proxy-params-twitter.conf ├── site-ehentai.conf ├── site-github.conf ├── site-google-video.conf ├── site-greasyfork.conf ├── site-gv.conf ├── site-imgix.conf ├── site-imgur.conf ├── site-iwara.conf ├── site-pay-pal.conf ├── site-pixiv.conf ├── site-steam-cdn..conf ├── site-steam.conf ├── site-wall-haven.conf ├── uwsgi_params └── win-utf ├── contrib ├── README ├── geo2nginx.pl ├── unicode2nginx │ ├── koi-utf │ ├── unicode-to-nginx.pl │ └── win-utf └── vim │ ├── ftdetect │ └── nginx.vim │ ├── ftplugin │ └── nginx.vim │ ├── indent │ └── nginx.vim │ └── syntax │ └── nginx.vim ├── docs ├── CHANGES ├── CHANGES.ru ├── LICENSE ├── OpenSSL.LICENSE ├── PCRE.LICENCE ├── README └── zlib.LICENSE ├── hosts ├── html ├── 50x.html └── index.html ├── logs └── nginx.pid ├── nginx.exe ├── temp ├── client_body_temp │ └── .hi-mashiro ├── fastcgi_temp │ └── .hi-mashiro ├── proxy_temp │ └── .hi-mashiro ├── scgi_temp │ └── .hi-mashiro └── uwsgi_temp │ └── .hi-mashiro ├── 图片无法显示备用配置 ├── nginx.conf └── 使用方法.txt ├── 更新日志.txt └── 自签证书傻瓜式批处理包 ├── config_childCA.txt ├── config_rootCA.txt ├── config_signCA.txt ├── ★使用说明★.txt ├── 【修改config_childCA.txt后使用】重新签发子证书.bat ├── 【可选】清理生成证书后产生的垃圾文件.bat ├── 【已安装openssl使用】【修改config_childCA.txt后使用】重新签发子证书.bat ├── 【已安装openssl使用】【限初次使用】一键生成根证书和子证书.bat ├── 【限初次使用】一键生成根证书和子证书.bat ├── 演示01:一键生成证书.gif ├── 演示02:添加域名.gif └── 自签证书★使用说明★.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .log 2 | logs/access.log 3 | logs/error.log -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "third-party-GUI/Sheas-Nginx"] 2 | path = third-party-GUI/Sheas-Nginx 3 | url = https://github.com/SpaceTimee/Sheas-Nginx.git 4 | branch = master 5 | [submodule "third-party-GUI/Racpast-GUI"] 6 | path = third-party-GUI/Racpast-GUI 7 | url = https://github.com/racpast/SNIBypassGUI.git 8 | -------------------------------------------------------------------------------- /0.注意上方地址栏路径必须为纯英文: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/0.注意上方地址栏路径必须为纯英文 -------------------------------------------------------------------------------- /1.第一次运行程序时弹窗处理.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/1.第一次运行程序时弹窗处理.PNG -------------------------------------------------------------------------------- /2.请同意防火墙权限(重要).PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/2.请同意防火墙权限(重要).PNG -------------------------------------------------------------------------------- /3.可视化工具说明.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/3.可视化工具说明.PNG -------------------------------------------------------------------------------- /4.可视化工具(这个操作简单).exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/4.可视化工具(这个操作简单).exe -------------------------------------------------------------------------------- /5.调试工具(这个功能全).bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/5.调试工具(这个功能全).bat -------------------------------------------------------------------------------- /6.安全及隐私声明.txt: -------------------------------------------------------------------------------- 1 | 1、SSL 证书相关提醒及声明: 2 | 需要安装的 CA 证书是自签名证书,作者本人可以保证 CA 证书的 3 | 私钥不会泄露给任何人,本人也保证不会将此 CA 证书用于此项目 4 | 以外的任何地方(如果你在其他地方看到了 Mashiro Internet 5 | Fake Authority CA 签发的证书,你可以顺着网线过来打我)。 6 | 7 | 但是网页的证书及私钥(pixiv.net.crt、pixiv.net.key)是必 8 | 须开源放在这里的,该证书里面包括了下列的网站,除了localhost 9 | (127.0.0.1),请不要将hosts中的下列域名指向其他任何你不信 10 | 任的IP,否则有可能遭遇中间人攻击(http://t.cn/A67reYAS)。 11 | 12 | 域名列表: 13 | DNS.1 = *.pixiv.net 14 | DNS.2 = pixiv.net 15 | DNS.3 = *.secure.pixiv.net 16 | DNS.4 = pixivision.net 17 | DNS.5 = *.pixivision.net 18 | DNS.6 = pixiv.me 19 | DNS.7 = *.pixiv.me 20 | DNS.8 = pximg.net 21 | DNS.9 = *.pximg.net 22 | DNS.10 = pixivsketch.net 23 | DNS.11 = *.pixivsketch.net 24 | DNS.12 = public-api.secure.pixiv.net 25 | DNS.13 = wikipedia.org 26 | DNS.14 = *.wikipedia.org 27 | DNS.15 = m.wikipedia.org 28 | DNS.16 = *.m.wikipedia.org 29 | DNS.17 = google.com 30 | DNS.18 = *.google.com 31 | DNS.19 = steamcommunity.com 32 | DNS.20 = *.steamcommunity.com 33 | DNS.21 = steampowered.com 34 | DNS.22 = *.steampowered.com 35 | DNS.23 = archiveofourown.org 36 | DNS.24 = *.archiveofourown.org 37 | 38 | 虽然我认为以上的网站没有中间人攻击的价值,但是,如果还是不 39 | 放心,并且自己有能力,可以选择自己签发证书,只要不泄露自己 40 | 的私钥,你的数据100%安全。 41 | 42 | 自签证书的教程见: 43 | https://2heng.xin/2018/12/16/your-own-ca-with-openssl/ 44 | 自签证书后,需要替换项目中对应的公私钥文件: 45 | https://github.com/mashirozx/Pixiv-Nginx/tree/master/conf/ca 46 | 47 | 2、日志上传注意事项: 48 | logs 文件夹内为服务器日志文件。access.log 为工作日志,里 49 | 面可能留下你的访问记录;error.log 为 Nginx 错误日志。通 50 | 常提供错误日志即可;分享工作日志的时候注意保护隐私。 51 | -------------------------------------------------------------------------------- /7.更多信息及更新.html: -------------------------------------------------------------------------------- 1 |
2 |

使用说明及后续维护情况请访问
https://2heng.xin/2017/09/19/pixiv/

3 |


4 | by Mashiro 5 |
6 |

打包时间:2019/6/27

7 |
-------------------------------------------------------------------------------- /BouncyCastle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/BouncyCastle.dll -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2018 Mashiro 5 | Copyright (C) 2023 Mashiro 6 | 7 | Everyone is permitted to copy and distribute verbatim or modified 8 | copies of this license document, and changing it is allowed as long 9 | as the name is changed. 10 | 11 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 12 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 13 | 14 | 0. You just DO WHAT THE FUCK YOU WANT TO. 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Pixiv-Nginx 2 | 3 | [![GitHub release](https://img.shields.io/github/release/mashirozx/Pixiv-Nginx.svg?style=flat-square)](https://github.com/mashirozx/Pixiv-Nginx/releases/latest) 4 | [![Github commits (since latest release)](https://img.shields.io/github/commits-since/mashirozx/Pixiv-Nginx/latest.svg?style=flat-square)](https://github.com/mashirozx/Pixiv-Nginx/commits/) 5 | 6 | 使用说明见 7 | 8 | 在本页点击下图所示的按键下载以获取最新版。 9 | 10 | 下载方法 11 | 12 | 如遇本页下载速度过慢,可尝试通过镜像下载: 13 | 14 | |[👉 镜像1](https://git.mashiro.top/mirrors/Pixiv-Nginx) |[👉 镜像2](https://git.moezx.cc/mirrors/Pixiv-Nginx)| 15 | |---|---| 16 | |镜像1下载方法 | 镜像2下载方法| 17 | 18 | ### LICENSE 19 | 20 | WTFPL 21 | 22 | This is a fork of [nginx/nginx](https://github.com/nginx/nginx), so you should always follow its [2-clause BSD-like license](http://nginx.org/LICENSE). 23 | 24 | The visualized management tool is part of [wnmp/wnmp](https://github.com/wnmp/wnmp), which is under [GPL-3.0](https://github.com/wnmp/wnmp/blob/master/LICENSE). 25 | -------------------------------------------------------------------------------- /ca.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/ca.cer -------------------------------------------------------------------------------- /conf/ca/ca.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/conf/ca/ca.cer -------------------------------------------------------------------------------- /conf/ca/pixiv.net.crt: -------------------------------------------------------------------------------- 1 | Certificate: 2 | Data: 3 | Version: 3 (0x2) 4 | Serial Number: 17 (0x11) 5 | Signature Algorithm: sha256WithRSAEncryption 6 | Issuer: C=CN, ST=Shanghai, L=Shanghai, O=Mashiro LLC, CN=Mashiro Internet Fake Authority CA 7 | Validity 8 | Not Before: Oct 16 17:18:43 2020 GMT 9 | Not After : Oct 14 17:18:43 2030 GMT 10 | Subject: C=CN, ST=Shanghai, O=Mashiro LLC, CN=SNI\xE4\xBB\xA3\xE7\x90\x86\xE9\x80\x9A\xE7\x94\xA8\xE8\xAF\x81\xE4\xB9\xA6\xEF\xBC\x88https://2heng.xin/2017/09/19/pixiv/\xEF\xBC\x89 11 | Subject Public Key Info: 12 | Public Key Algorithm: rsaEncryption 13 | RSA Public-Key: (2048 bit) 14 | Modulus: 15 | 00:ce:00:18:cc:64:70:ac:59:b0:45:9e:c3:ee:9e: 16 | 9b:b2:56:59:43:aa:b7:98:6b:bb:86:86:c9:bb:b6: 17 | ed:54:b8:56:de:ec:18:06:62:59:27:3b:d2:16:4a: 18 | 8a:86:ad:40:2b:69:6a:dc:21:12:4b:ca:fd:85:a8: 19 | 01:dd:ec:2a:20:a2:6e:b0:c2:a7:79:88:f9:f4:34: 20 | 95:fb:85:bf:f0:c7:1d:57:29:f8:a5:62:e3:b6:9e: 21 | 52:f7:42:2a:0c:5a:5c:6d:b4:30:51:4e:c1:40:57: 22 | c6:58:57:18:47:9c:59:9d:b7:38:bb:cc:0c:68:aa: 23 | 6c:68:76:be:6f:84:83:12:ef:60:2d:11:61:d8:01: 24 | f0:09:85:8c:80:fa:f0:f6:23:95:c7:97:c1:86:53: 25 | 97:b5:d5:dc:5b:a8:f8:22:49:0a:70:2d:92:77:17: 26 | 41:fd:0e:ba:5b:a7:ce:8f:60:a1:fc:5a:a7:87:19: 27 | 1f:12:f6:c8:b2:32:f4:a8:22:72:ec:97:cc:98:48: 28 | 24:b3:4d:c4:83:7b:9e:1d:15:62:63:37:f5:b6:0c: 29 | 4f:b5:97:33:87:1f:67:cd:0b:bb:71:7b:38:60:c5: 30 | 4f:2f:ad:40:44:0a:8e:af:0c:6c:5a:f4:00:6d:94: 31 | a3:f3:ae:f2:eb:5e:14:68:0a:03:5b:c7:89:09:d0: 32 | f9:bd 33 | Exponent: 65537 (0x10001) 34 | X509v3 extensions: 35 | X509v3 Subject Key Identifier: 36 | 4C:B9:F4:49:C1:82:B5:1E:3A:81:63:FA:0C:15:78:A5:F7:4A:AF:FF 37 | X509v3 Authority Key Identifier: 38 | keyid:3F:6C:37:71:8F:74:1B:28:5A:0F:C2:29:C1:2B:05:7E:D1:24:D4:54 39 | 40 | X509v3 Basic Constraints: 41 | CA:FALSE 42 | X509v3 Key Usage: 43 | Digital Signature, Key Encipherment 44 | X509v3 Subject Alternative Name: 45 | DNS:*.pixiv.net, DNS:pixiv.net, DNS:*.secure.pixiv.net, DNS:pixivision.net, DNS:*.pixivision.net, DNS:pixiv.me, DNS:*.pixiv.me, DNS:pximg.net, DNS:*.pximg.net, DNS:pixivsketch.net, DNS:*.pixivsketch.net, DNS:public-api.secure.pixiv.net, DNS:wikipedia.org, DNS:*.wikipedia.org, DNS:m.wikipedia.org, DNS:*.m.wikipedia.org, DNS:google.com, DNS:*.google.com, DNS:steamcommunity.com, DNS:*.steamcommunity.com, DNS:steampowered.com, DNS:*.steampowered.com, DNS:archiveofourown.org, DNS:*.archiveofourown.org, DNS:wikimedia.org, DNS:*.wikimedia.org 46 | Signature Algorithm: sha256WithRSAEncryption 47 | 74:95:98:78:3d:2d:7b:24:ae:59:9c:9e:84:d1:77:e0:47:92: 48 | 81:28:27:98:e8:4d:b0:83:8d:f9:92:d2:59:2c:e4:be:9f:14: 49 | 4f:3e:e1:1e:49:d3:4a:b7:37:22:4c:45:cd:29:8d:5b:aa:fe: 50 | cb:63:59:21:e0:0b:ea:69:0c:5b:92:09:e6:25:fe:1a:7e:2f: 51 | a6:3c:a4:71:a7:11:5c:5c:8c:aa:31:ff:42:c3:be:3d:d2:df: 52 | 37:9e:47:35:f6:94:d1:af:0a:99:7a:39:07:25:86:7f:ae:bf: 53 | 2d:a8:a6:5f:98:84:54:01:1d:09:32:b0:21:2b:23:d7:81:13: 54 | 99:3d:5c:9b:ba:ce:7b:53:8d:2f:c2:39:a5:93:9b:fa:e2:31: 55 | ce:77:5a:e2:38:a3:f0:95:9a:a7:6b:67:92:93:a4:63:a5:24: 56 | 63:88:21:e9:38:4d:a4:21:d2:a3:67:3c:70:9a:f3:df:f6:45: 57 | 26:b4:18:23:05:04:9f:2f:7e:fd:db:85:b5:e4:c0:71:c6:b4: 58 | 52:d4:dc:cd:91:1f:65:f1:d9:17:8c:d9:03:38:f5:7c:2a:e2: 59 | 3c:e1:43:66:5a:01:cb:5e:56:6b:e4:78:83:17:01:f1:b0:25: 60 | b1:00:c5:37:81:83:94:9d:36:7a:3e:aa:81:23:2b:b1:90:b8: 61 | ea:fe:eb:e2 62 | -----BEGIN CERTIFICATE----- 63 | MIIFljCCBH6gAwIBAgIBETANBgkqhkiG9w0BAQsFADB2MQswCQYDVQQGEwJDTjER 64 | MA8GA1UECBMIU2hhbmdoYWkxETAPBgNVBAcTCFNoYW5naGFpMRQwEgYDVQQKEwtN 65 | YXNoaXJvIExMQzErMCkGA1UEAxMiTWFzaGlybyBJbnRlcm5ldCBGYWtlIEF1dGhv 66 | cml0eSBDQTAeFw0yMDEwMTYxNzE4NDNaFw0zMDEwMTQxNzE4NDNaMH8xCzAJBgNV 67 | BAYTAkNOMREwDwYDVQQIEwhTaGFuZ2hhaTEUMBIGA1UEChMLTWFzaGlybyBMTEMx 68 | RzBFBgNVBAMUPlNOSeS7o+eQhumAmueUqOivgeS5pu+8iGh0dHBzOi8vMmhlbmcu 69 | eGluLzIwMTcvMDkvMTkvcGl4aXYv77yJMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A 70 | MIIBCgKCAQEAzgAYzGRwrFmwRZ7D7p6bslZZQ6q3mGu7hobJu7btVLhW3uwYBmJZ 71 | JzvSFkqKhq1AK2lq3CESS8r9hagB3ewqIKJusMKneYj59DSV+4W/8McdVyn4pWLj 72 | tp5S90IqDFpcbbQwUU7BQFfGWFcYR5xZnbc4u8wMaKpsaHa+b4SDEu9gLRFh2AHw 73 | CYWMgPrw9iOVx5fBhlOXtdXcW6j4IkkKcC2SdxdB/Q66W6fOj2Ch/FqnhxkfEvbI 74 | sjL0qCJy7JfMmEgks03Eg3ueHRViYzf1tgxPtZczhx9nzQu7cXs4YMVPL61ARAqO 75 | rwxsWvQAbZSj867y614UaAoDW8eJCdD5vQIDAQABo4ICJDCCAiAwHQYDVR0OBBYE 76 | FEy59EnBgrUeOoFj+gwVeKX3Sq//MB8GA1UdIwQYMBaAFD9sN3GPdBsoWg/CKcEr 77 | BX7RJNRUMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgWgMIIBxAYDVR0RBIIBuzCCAbeC 78 | CyoucGl4aXYubmV0gglwaXhpdi5uZXSCEiouc2VjdXJlLnBpeGl2Lm5ldIIOcGl4 79 | aXZpc2lvbi5uZXSCECoucGl4aXZpc2lvbi5uZXSCCHBpeGl2Lm1lggoqLnBpeGl2 80 | Lm1lgglweGltZy5uZXSCCyoucHhpbWcubmV0gg9waXhpdnNrZXRjaC5uZXSCESou 81 | cGl4aXZza2V0Y2gubmV0ghtwdWJsaWMtYXBpLnNlY3VyZS5waXhpdi5uZXSCDXdp 82 | a2lwZWRpYS5vcmeCDyoud2lraXBlZGlhLm9yZ4IPbS53aWtpcGVkaWEub3JnghEq 83 | Lm0ud2lraXBlZGlhLm9yZ4IKZ29vZ2xlLmNvbYIMKi5nb29nbGUuY29tghJzdGVh 84 | bWNvbW11bml0eS5jb22CFCouc3RlYW1jb21tdW5pdHkuY29tghBzdGVhbXBvd2Vy 85 | ZWQuY29tghIqLnN0ZWFtcG93ZXJlZC5jb22CE2FyY2hpdmVvZm91cm93bi5vcmeC 86 | FSouYXJjaGl2ZW9mb3Vyb3duLm9yZ4INd2lraW1lZGlhLm9yZ4IPKi53aWtpbWVk 87 | aWEub3JnMA0GCSqGSIb3DQEBCwUAA4IBAQB0lZh4PS17JK5ZnJ6E0XfgR5KBKCeY 88 | 6E2wg435ktJZLOS+nxRPPuEeSdNKtzciTEXNKY1bqv7LY1kh4AvqaQxbkgnmJf4a 89 | fi+mPKRxpxFcXIyqMf9Cw7490t83nkc19pTRrwqZejkHJYZ/rr8tqKZfmIRUAR0J 90 | MrAhKyPXgROZPVybus57U40vwjmlk5v64jHOd1riOKPwlZqna2eSk6RjpSRjiCHp 91 | OE2kIdKjZzxwmvPf9kUmtBgjBQSfL37924W15MBxxrRS1NzNkR9l8dkXjNkDOPV8 92 | KuI84UNmWgHLXlZr5HiDFwHxsCWxAMU3gYOUnTZ6PqqBIyuxkLjq/uvi 93 | -----END CERTIFICATE----- 94 | -------------------------------------------------------------------------------- /conf/ca/pixiv.net.key: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIEpQIBAAKCAQEAzgAYzGRwrFmwRZ7D7p6bslZZQ6q3mGu7hobJu7btVLhW3uwY 3 | BmJZJzvSFkqKhq1AK2lq3CESS8r9hagB3ewqIKJusMKneYj59DSV+4W/8McdVyn4 4 | pWLjtp5S90IqDFpcbbQwUU7BQFfGWFcYR5xZnbc4u8wMaKpsaHa+b4SDEu9gLRFh 5 | 2AHwCYWMgPrw9iOVx5fBhlOXtdXcW6j4IkkKcC2SdxdB/Q66W6fOj2Ch/Fqnhxkf 6 | EvbIsjL0qCJy7JfMmEgks03Eg3ueHRViYzf1tgxPtZczhx9nzQu7cXs4YMVPL61A 7 | RAqOrwxsWvQAbZSj867y614UaAoDW8eJCdD5vQIDAQABAoIBAQCgRA0G/2F1hTWR 8 | hIp02+rP3UQHVAsQR0iWycirBQ8xqVTUjCPI27z2vCCffRC25JUW8SXU6tncI6oH 9 | 0QTazgCccSLi3B4FfN7R8hN5or4IqjCWfq3Wpc/5ZMWxXkVuZOKh6tzodPf+ggtq 10 | 8R+PnwFNpZ065e4FhAlhYHiaNCLxl+sG4MHov+a1saGCuYRIiLnZv3pj165DZod8 11 | zNIRY7alcpzBbf+um/G4no6naRHJ0Kev9e1HgWjbVfZYtO+kiIowOvNq1XSLJ0KD 12 | ZO16XOAD5YrLW3hgCsdFxfyvwMpnCPJwbg2t6NbEeR/8gOn64zs1bkMLuvecY7rr 13 | c7yhZqVBAoGBAOhTYK3zj7/lc/xoUanR6Fr8QIRXE/YZ4f1EGDX4PT2Hga36gTwI 14 | IOS9Vjx/0kUlZFmvoCV7mMcDwJMTE8BBjYp+N/DvaRkDau67WDwJVFxoEZVvW5ni 15 | I0uoRIBaP4r8FkSI6j56BuKj+7msFS3zL+MgQ8ujvsztJq4uiFmnUogtAoGBAOL9 16 | +i85EGOOi3vrrdEVy9goFcA5HT9qT+jvtUaqFwHCB4cZEsGx2hNaOVVWm6rBIQtb 17 | Zfg+VqEKaQisjcKAa/8HZ6xApdtSNyWR+OoA7VzRsc+SzhdHkgbsMQifQbEKEe49 18 | yFVm8xrP/rnVrq87gsrvQcyMH0FB4ljZ4wGWqiHRAoGBAIIYpoviVv3zZGbUl95L 19 | wByrIwm4pWHrjoQ/jHs0Xj7FUdX18EaImrrcV50bSskTrkUWtswmkR/otv7k8Ot5 20 | CeSi13qg5i5unoO+/yLnaokwcaBHsnjSjEdCm9FwOCMBFQsdzGZd+NsTTtPjTBzm 21 | EEvUdoJjWGXy6vUg85OYwfulAoGBAKYE9kAlr2vxbOlUxctf8riFEOuHmnGwUwPe 22 | lqo5axxZCmJwHzzV1NdErRxSfQZVvNJupdT72yZr08iJVCGHBfYAN35Pxj70EeuD 23 | qReVWAYERNW53MxAB3jStUZGHKjc4aJrQ6Pa6UGaEQdgVyRJFW9RsMFnVtDG3EL6 24 | EcMuq/6RAoGAWm7c5pdbj1p3bvOrfHpsWrv/qFzozB5LRk2bYwosMASSyLwX6+TF 25 | 3QCWL7VOnLQJvQ5ffCWWSs7Ds9kJ/gvIVyelgT6DsyKwi19rjueRix3nFg1faAmI 26 | whLZvr+KVwLYjDYfNmKBwbV8KLZAf5fZ3q9l4lf3rjaQLcfL3LiaUUk= 27 | -----END RSA PRIVATE KEY----- 28 | -------------------------------------------------------------------------------- /conf/cert.conf: -------------------------------------------------------------------------------- 1 | ssl_certificate ca/pixiv.net.crt; 2 | ssl_certificate_key ca/pixiv.net.key; -------------------------------------------------------------------------------- /conf/koi-utf: -------------------------------------------------------------------------------- 1 | 2 | # This map is not a full koi8-r <> utf8 map: it does not contain 3 | # box-drawing and some other characters. Besides this map contains 4 | # several koi8-u and Byelorussian letters which are not in koi8-r. 5 | # If you need a full and standard map, use contrib/unicode2nginx/koi-utf 6 | # map instead. 7 | 8 | charset_map koi8-r utf-8 { 9 | 10 | 80 E282AC ; # euro 11 | 12 | 95 E280A2 ; # bullet 13 | 14 | 9A C2A0 ; #   15 | 16 | 9E C2B7 ; # · 17 | 18 | A3 D191 ; # small yo 19 | A4 D194 ; # small Ukrainian ye 20 | 21 | A6 D196 ; # small Ukrainian i 22 | A7 D197 ; # small Ukrainian yi 23 | 24 | AD D291 ; # small Ukrainian soft g 25 | AE D19E ; # small Byelorussian short u 26 | 27 | B0 C2B0 ; # ° 28 | 29 | B3 D081 ; # capital YO 30 | B4 D084 ; # capital Ukrainian YE 31 | 32 | B6 D086 ; # capital Ukrainian I 33 | B7 D087 ; # capital Ukrainian YI 34 | 35 | B9 E28496 ; # numero sign 36 | 37 | BD D290 ; # capital Ukrainian soft G 38 | BE D18E ; # capital Byelorussian short U 39 | 40 | BF C2A9 ; # (C) 41 | 42 | C0 D18E ; # small yu 43 | C1 D0B0 ; # small a 44 | C2 D0B1 ; # small b 45 | C3 D186 ; # small ts 46 | C4 D0B4 ; # small d 47 | C5 D0B5 ; # small ye 48 | C6 D184 ; # small f 49 | C7 D0B3 ; # small g 50 | C8 D185 ; # small kh 51 | C9 D0B8 ; # small i 52 | CA D0B9 ; # small j 53 | CB D0BA ; # small k 54 | CC D0BB ; # small l 55 | CD D0BC ; # small m 56 | CE D0BD ; # small n 57 | CF D0BE ; # small o 58 | 59 | D0 D0BF ; # small p 60 | D1 D18F ; # small ya 61 | D2 D180 ; # small r 62 | D3 D181 ; # small s 63 | D4 D182 ; # small t 64 | D5 D183 ; # small u 65 | D6 D0B6 ; # small zh 66 | D7 D0B2 ; # small v 67 | D8 D18C ; # small soft sign 68 | D9 D18B ; # small y 69 | DA D0B7 ; # small z 70 | DB D188 ; # small sh 71 | DC D18D ; # small e 72 | DD D189 ; # small shch 73 | DE D187 ; # small ch 74 | DF D18A ; # small hard sign 75 | 76 | E0 D0AE ; # capital YU 77 | E1 D090 ; # capital A 78 | E2 D091 ; # capital B 79 | E3 D0A6 ; # capital TS 80 | E4 D094 ; # capital D 81 | E5 D095 ; # capital YE 82 | E6 D0A4 ; # capital F 83 | E7 D093 ; # capital G 84 | E8 D0A5 ; # capital KH 85 | E9 D098 ; # capital I 86 | EA D099 ; # capital J 87 | EB D09A ; # capital K 88 | EC D09B ; # capital L 89 | ED D09C ; # capital M 90 | EE D09D ; # capital N 91 | EF D09E ; # capital O 92 | 93 | F0 D09F ; # capital P 94 | F1 D0AF ; # capital YA 95 | F2 D0A0 ; # capital R 96 | F3 D0A1 ; # capital S 97 | F4 D0A2 ; # capital T 98 | F5 D0A3 ; # capital U 99 | F6 D096 ; # capital ZH 100 | F7 D092 ; # capital V 101 | F8 D0AC ; # capital soft sign 102 | F9 D0AB ; # capital Y 103 | FA D097 ; # capital Z 104 | FB D0A8 ; # capital SH 105 | FC D0AD ; # capital E 106 | FD D0A9 ; # capital SHCH 107 | FE D0A7 ; # capital CH 108 | FF D0AA ; # capital hard sign 109 | } 110 | -------------------------------------------------------------------------------- /conf/koi-win: -------------------------------------------------------------------------------- 1 | 2 | charset_map koi8-r windows-1251 { 3 | 4 | 80 88 ; # euro 5 | 6 | 95 95 ; # bullet 7 | 8 | 9A A0 ; #   9 | 10 | 9E B7 ; # · 11 | 12 | A3 B8 ; # small yo 13 | A4 BA ; # small Ukrainian ye 14 | 15 | A6 B3 ; # small Ukrainian i 16 | A7 BF ; # small Ukrainian yi 17 | 18 | AD B4 ; # small Ukrainian soft g 19 | AE A2 ; # small Byelorussian short u 20 | 21 | B0 B0 ; # ° 22 | 23 | B3 A8 ; # capital YO 24 | B4 AA ; # capital Ukrainian YE 25 | 26 | B6 B2 ; # capital Ukrainian I 27 | B7 AF ; # capital Ukrainian YI 28 | 29 | B9 B9 ; # numero sign 30 | 31 | BD A5 ; # capital Ukrainian soft G 32 | BE A1 ; # capital Byelorussian short U 33 | 34 | BF A9 ; # (C) 35 | 36 | C0 FE ; # small yu 37 | C1 E0 ; # small a 38 | C2 E1 ; # small b 39 | C3 F6 ; # small ts 40 | C4 E4 ; # small d 41 | C5 E5 ; # small ye 42 | C6 F4 ; # small f 43 | C7 E3 ; # small g 44 | C8 F5 ; # small kh 45 | C9 E8 ; # small i 46 | CA E9 ; # small j 47 | CB EA ; # small k 48 | CC EB ; # small l 49 | CD EC ; # small m 50 | CE ED ; # small n 51 | CF EE ; # small o 52 | 53 | D0 EF ; # small p 54 | D1 FF ; # small ya 55 | D2 F0 ; # small r 56 | D3 F1 ; # small s 57 | D4 F2 ; # small t 58 | D5 F3 ; # small u 59 | D6 E6 ; # small zh 60 | D7 E2 ; # small v 61 | D8 FC ; # small soft sign 62 | D9 FB ; # small y 63 | DA E7 ; # small z 64 | DB F8 ; # small sh 65 | DC FD ; # small e 66 | DD F9 ; # small shch 67 | DE F7 ; # small ch 68 | DF FA ; # small hard sign 69 | 70 | E0 DE ; # capital YU 71 | E1 C0 ; # capital A 72 | E2 C1 ; # capital B 73 | E3 D6 ; # capital TS 74 | E4 C4 ; # capital D 75 | E5 C5 ; # capital YE 76 | E6 D4 ; # capital F 77 | E7 C3 ; # capital G 78 | E8 D5 ; # capital KH 79 | E9 C8 ; # capital I 80 | EA C9 ; # capital J 81 | EB CA ; # capital K 82 | EC CB ; # capital L 83 | ED CC ; # capital M 84 | EE CD ; # capital N 85 | EF CE ; # capital O 86 | 87 | F0 CF ; # capital P 88 | F1 DF ; # capital YA 89 | F2 D0 ; # capital R 90 | F3 D1 ; # capital S 91 | F4 D2 ; # capital T 92 | F5 D3 ; # capital U 93 | F6 C6 ; # capital ZH 94 | F7 C2 ; # capital V 95 | F8 DC ; # capital soft sign 96 | F9 DB ; # capital Y 97 | FA C7 ; # capital Z 98 | FB D8 ; # capital SH 99 | FC DD ; # capital E 100 | FD D9 ; # capital SHCH 101 | FE D7 ; # capital CH 102 | FF DA ; # capital hard sign 103 | } 104 | -------------------------------------------------------------------------------- /conf/mime.types: -------------------------------------------------------------------------------- 1 | 2 | types { 3 | text/html html htm shtml; 4 | text/css css; 5 | text/xml xml; 6 | image/gif gif; 7 | image/jpeg jpeg jpg; 8 | application/javascript js; 9 | application/atom+xml atom; 10 | application/rss+xml rss; 11 | 12 | text/mathml mml; 13 | text/plain txt; 14 | text/vnd.sun.j2me.app-descriptor jad; 15 | text/vnd.wap.wml wml; 16 | text/x-component htc; 17 | 18 | image/avif avif; 19 | image/bmp bmp; 20 | image/png png; 21 | image/svg+xml svg svgz; 22 | image/tiff tif tiff; 23 | image/vnd.wap.wbmp wbmp; 24 | image/webp webp; 25 | image/x-icon ico; 26 | image/x-jng jng; 27 | 28 | font/woff woff; 29 | font/woff2 woff2; 30 | 31 | application/java-archive jar war ear; 32 | application/json json; 33 | application/mac-binhex40 hqx; 34 | application/msword doc; 35 | application/pdf pdf; 36 | application/postscript ps eps ai; 37 | application/rtf rtf; 38 | application/vnd.apple.mpegurl m3u8; 39 | application/vnd.debian.binary-package deb udeb; 40 | application/vnd.google-earth.kml+xml kml; 41 | application/vnd.google-earth.kmz kmz; 42 | application/vnd.ms-excel xls; 43 | application/vnd.ms-fontobject eot; 44 | application/vnd.ms-powerpoint ppt; 45 | application/vnd.oasis.opendocument.graphics odg; 46 | application/vnd.oasis.opendocument.presentation odp; 47 | application/vnd.oasis.opendocument.spreadsheet ods; 48 | application/vnd.oasis.opendocument.text odt; 49 | application/vnd.openxmlformats-officedocument.presentationml.presentation 50 | pptx; 51 | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 52 | xlsx; 53 | application/vnd.openxmlformats-officedocument.wordprocessingml.document 54 | docx; 55 | application/vnd.rar rar; 56 | application/vnd.wap.wmlc wmlc; 57 | application/wasm wasm; 58 | application/x-7z-compressed 7z; 59 | application/x-cocoa cco; 60 | application/x-java-archive-diff jardiff; 61 | application/x-java-jnlp-file jnlp; 62 | application/x-makeself run; 63 | application/x-perl pl pm; 64 | application/x-pilot prc pdb; 65 | application/x-redhat-package-manager rpm; 66 | application/x-sea sea; 67 | application/x-shockwave-flash swf; 68 | application/x-stuffit sit; 69 | application/x-tcl tcl tk; 70 | application/x-x509-ca-cert der pem crt; 71 | application/x-xpinstall xpi; 72 | application/xhtml+xml xhtml; 73 | application/xspf+xml xspf; 74 | application/zip zip; 75 | 76 | application/octet-stream bin exe dll; 77 | application/octet-stream dmg; 78 | application/octet-stream iso img; 79 | application/octet-stream msi msp msm; 80 | 81 | audio/midi mid midi kar; 82 | audio/mpeg mp3; 83 | audio/ogg ogg; 84 | audio/x-m4a m4a; 85 | audio/x-realaudio ra; 86 | 87 | video/3gpp 3gpp 3gp; 88 | video/mp2t ts; 89 | video/mp4 mp4; 90 | video/mpeg mpeg mpg; 91 | video/quicktime mov; 92 | video/webm webm; 93 | video/x-flv flv; 94 | video/x-m4v m4v; 95 | video/x-mng mng; 96 | video/x-ms-asf asx asf; 97 | video/x-ms-wmv wmv; 98 | video/x-msvideo avi; 99 | } 100 | -------------------------------------------------------------------------------- /conf/nginx.conf: -------------------------------------------------------------------------------- 1 | 2 | #user nobody; 3 | #worker_cpu_affinity auto; 4 | worker_processes 6; 5 | 6 | #error_log logs/error.log; 7 | #error_log logs/error.log notice; 8 | #error_log logs/error.log info; 9 | 10 | events { 11 | #use icop; 12 | #multi_accept on; 13 | worker_connections 32767; 14 | } 15 | 16 | http { 17 | resolver 119.29.29.29 valid=300s; 18 | resolver_timeout 10s; 19 | #include mime.types; 20 | #default_type application/octet-stream; 21 | ssl_protocols TLSv1.2 TLSv1.3 TLSv1 TLSv1.1 SSLv2 SSLv3; 22 | #ssl_ciphers "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"; 23 | log_format main '[$time_local]- 客户端地址:"$remote_addr" 请求耗时"$request_time" 域名:$http_host 监听地址:$server_addr 监听端口:$server_port $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr" $status 总字节数$body_bytes_sent\n "$http_referer" "$http_x_forwarded_for" \n    "$request"\n';# "$http_user_agent" 24 | access_log logs/access.log main buffer=4k; 25 | open_log_file_cache max=100 inactive=1m valid=1m min_uses=1; 26 | fastcgi_buffers 16 128k; 27 | 28 | sendfile on; 29 | #tcp_nopush on; 30 | 31 | #keepalive_timeout 0; 32 | 33 | keepalive_timeout 120; 34 | keepalive_requests 10000; 35 | client_max_body_size 200m; 36 | server_names_hash_max_size 512; 37 | server_names_hash_bucket_size 1024; 38 | gzip on; 39 | include site-pixiv.conf; 40 | include site-github.conf; 41 | include site-greasyfork.conf; 42 | include site-ehentai.conf; 43 | include site-steam.conf; 44 | #include site-instagram.conf; 45 | #include site-facebook.conf; 46 | #include site-iwara.conf;#目前已不需要反代 47 | #include site-reddit.conf; 48 | #include site-discord.conf; 49 | #include site-twitter.conf; 50 | #include site-twitch.conf; 51 | #include site-wall-haven.conf; 52 | #include site-imgur.conf; 53 | #include site-imgix.conf; 54 | #include site-google-video.conf; 55 | 56 | } -------------------------------------------------------------------------------- /conf/scgi_params: -------------------------------------------------------------------------------- 1 | 2 | scgi_param REQUEST_METHOD $request_method; 3 | scgi_param REQUEST_URI $request_uri; 4 | scgi_param QUERY_STRING $query_string; 5 | scgi_param CONTENT_TYPE $content_type; 6 | 7 | scgi_param DOCUMENT_URI $document_uri; 8 | scgi_param DOCUMENT_ROOT $document_root; 9 | scgi_param SCGI 1; 10 | scgi_param SERVER_PROTOCOL $server_protocol; 11 | scgi_param REQUEST_SCHEME $scheme; 12 | scgi_param HTTPS $https if_not_empty; 13 | 14 | scgi_param REMOTE_ADDR $remote_addr; 15 | scgi_param REMOTE_PORT $remote_port; 16 | scgi_param SERVER_PORT $server_port; 17 | scgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /conf/shared-fastcgi.conf: -------------------------------------------------------------------------------- 1 | 2 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; 3 | fastcgi_param QUERY_STRING $query_string; 4 | fastcgi_param REQUEST_METHOD $request_method; 5 | fastcgi_param CONTENT_TYPE $content_type; 6 | fastcgi_param CONTENT_LENGTH $content_length; 7 | 8 | fastcgi_param SCRIPT_NAME $fastcgi_script_name; 9 | fastcgi_param REQUEST_URI $request_uri; 10 | fastcgi_param DOCUMENT_URI $document_uri; 11 | fastcgi_param DOCUMENT_ROOT $document_root; 12 | fastcgi_param SERVER_PROTOCOL $server_protocol; 13 | fastcgi_param REQUEST_SCHEME $scheme; 14 | fastcgi_param HTTPS $https if_not_empty; 15 | 16 | fastcgi_param GATEWAY_INTERFACE CGI/1.1; 17 | fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 18 | 19 | fastcgi_param REMOTE_ADDR $remote_addr; 20 | fastcgi_param REMOTE_PORT $remote_port; 21 | fastcgi_param SERVER_ADDR $server_addr; 22 | fastcgi_param SERVER_PORT $server_port; 23 | fastcgi_param SERVER_NAME $server_name; 24 | 25 | # PHP only, required if PHP was built with --enable-force-cgi-redirect 26 | fastcgi_param REDIRECT_STATUS 200; 27 | -------------------------------------------------------------------------------- /conf/shared-proxy-params-1.conf: -------------------------------------------------------------------------------- 1 | proxy_connect_timeout 5; 2 | proxy_set_header Connection ''; 3 | proxy_http_version 1.1; 4 | proxy_set_header Host $http_host; 5 | proxy_set_header User-Agent $http_user_agent; 6 | proxy_set_header Accept-Encoding ''; 7 | proxy_buffering off; 8 | proxy_ssl_server_name on; 9 | -------------------------------------------------------------------------------- /conf/shared-proxy-params-2.conf: -------------------------------------------------------------------------------- 1 | proxy_http_version 1.1; 2 | proxy_set_header Host $http_host; 3 | proxy_set_header User-Agent $http_user_agent; 4 | proxy_set_header Accept-Encoding ''; 5 | proxy_buffering off; 6 | proxy_ssl_server_name on; 7 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 8 | #proxy_set_header X-Real_IP $remote_addr; -------------------------------------------------------------------------------- /conf/shared-proxy-params-iwaras.conf: -------------------------------------------------------------------------------- 1 | access_log logs/iwara-access.gzip main gzip=4 buffer=4k; 2 | error_log logs/iwara-error.log; 3 | 4 | proxy_next_upstream_timeout 12; 5 | 6 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 7 | proxy_set_header X-Real_IP $remote_addr; 8 | include shared-proxy-params-1.conf; 9 | proxy_ssl_name $http_host; -------------------------------------------------------------------------------- /conf/shared-proxy-params-twitter.conf: -------------------------------------------------------------------------------- 1 | access_log logs/Twitter-access.log main buffer=4k; 2 | error_log logs/Twitter-error.log; 3 | proxy_next_upstream error timeout http_403 http_404 http_429 http_500 http_502 http_503 http_504 non_idempotent; 4 | proxy_headers_hash_max_size 8192; 5 | proxy_buffer_size 128k; 6 | proxy_buffers 4 256k; 7 | proxy_busy_buffers_size 256k; 8 | include shared-proxy-params-1.conf; -------------------------------------------------------------------------------- /conf/site-ehentai.conf: -------------------------------------------------------------------------------- 1 | # E-Hentai Start 2 | upstream exhentai-lb { 3 | server 178.175.128.252:443; 4 | server 178.175.128.254:443; 5 | server 178.175.129.252:443; 6 | server 178.175.129.254:443; 7 | server 178.175.132.20:443; 8 | server 178.175.132.22:443; 9 | keepalive 16; 10 | keepalive_timeout 120; 11 | keepalive_requests 10000; 12 | } 13 | 14 | server { 15 | listen 443 ssl http2; 16 | listen [::]:443 ssl http2; 17 | server_name exhentai.org; 18 | server_name *.exhentai.org; 19 | 20 | access_log logs/E-hentai-access.log main buffer=4k; 21 | error_log logs/E-hentai-error.log; 22 | 23 | include cert.conf; 24 | 25 | location / { 26 | proxy_pass https://exhentai-lb/; 27 | proxy_next_upstream_timeout 75; 28 | include shared-proxy-params-1.conf; 29 | } 30 | } 31 | 32 | upstream e-hentai-lb { 33 | server 212.7.202.35:443; 34 | server 212.7.202.48:443; 35 | server 212.7.200.92:443; 36 | server 212.7.200.95:443; 37 | keepalive 16; 38 | keepalive_timeout 120; 39 | keepalive_requests 10000; 40 | } 41 | 42 | server { 43 | listen 443 ssl http2; 44 | listen [::]:443 ssl http2; 45 | server_name e-hentai.org; 46 | server_name r.e-hentai.org; 47 | server_name g.e-hentai.org; 48 | server_name lofi.e-hentai.org; 49 | 50 | access_log logs/E-hentai-access.log main buffer=4k; 51 | error_log logs/E-hentai-error.log; 52 | 53 | include cert.conf; 54 | 55 | location / { 56 | proxy_pass https://e-hentai-lb/; 57 | proxy_next_upstream_timeout 100; 58 | include shared-proxy-params-1.conf; 59 | } 60 | } 61 | 62 | upstream forums-e-hentai-lb { 63 | server 94.100.18.243:443; 64 | } 65 | 66 | server { 67 | listen 443 ssl http2; 68 | listen [::]:443 ssl http2; 69 | server_name forums.e-hentai.org; 70 | 71 | access_log logs/E-hentai-access.log main buffer=4k; 72 | error_log logs/E-hentai-error.log; 73 | 74 | include cert.conf; 75 | 76 | location / { 77 | proxy_pass https://94.100.18.243:443/; 78 | include shared-proxy-params-1.conf; 79 | } 80 | } 81 | 82 | upstream api-e-hentai-lb { 83 | server 212.7.202.51:443; 84 | server 212.7.200.104:443; 85 | keepalive 16; 86 | keepalive_timeout 120; 87 | keepalive_requests 10000; 88 | } 89 | 90 | server { 91 | listen 443 ssl http2; 92 | listen [::]:443 ssl http2; 93 | server_name api.e-hentai.org; 94 | 95 | access_log logs/E-hentai-access.log main buffer=4k; 96 | error_log logs/E-hentai-error.log; 97 | 98 | include cert.conf; 99 | 100 | location / { 101 | proxy_pass https://api-e-hentai-lb/; 102 | include shared-proxy-params-1.conf; 103 | } 104 | } 105 | 106 | upstream upload-e-hentai-lb { 107 | server 94.100.18.247:443; 108 | server 94.100.18.249:443; 109 | } 110 | 111 | server { 112 | listen 443 ssl http2; 113 | listen [::]:443 ssl http2; 114 | server_name upld.e-hentai.org; 115 | server_name upload.e-hentai.org; 116 | 117 | access_log logs/E-hentai-access.log main buffer=4k; 118 | error_log logs/E-hentai-error.log; 119 | 120 | include cert.conf; 121 | 122 | location / { 123 | client_max_body_size 400M; 124 | fastcgi_connect_timeout 3000; 125 | fastcgi_send_timeout 3000; 126 | fastcgi_read_timeout 3000; 127 | proxy_pass https://upload-e-hentai-lb/; 128 | include shared-proxy-params-1.conf; 129 | } 130 | } 131 | 132 | upstream ehgt-org { 133 | server [2a00:7c80:0:12d::38a1]:443 max_fails=4 fail_timeout=60s; 134 | server [2a00:7c80:0:13b::37a4]:443 max_fails=4 fail_timeout=60s; 135 | server [2a00:7c80:0:123::3a85]:443 max_fails=4 fail_timeout=60s; 136 | server 89.39.106.43:443 max_fails=4 fail_timeout=60s; 137 | server 62.112.8.21:443 max_fails=4 fail_timeout=60s; 138 | server 109.236.85.28:443 max_fails=4 fail_timeout=60s; 139 | keepalive 16; 140 | keepalive_timeout 120; 141 | keepalive_requests 10000; 142 | } 143 | server { 144 | listen 443 ssl http2; 145 | listen 127.0.0.2:443 ssl http2; 146 | listen [::]:443 ssl http2; 147 | server_name ehgt.org; 148 | 149 | access_log logs/E-hentai-access.log main buffer=4k; 150 | error_log logs/E-hentai-error.log; 151 | 152 | include cert.conf; 153 | 154 | location / { 155 | proxy_pass https://ehgt-org/; 156 | include shared-proxy-params-1.conf; 157 | } 158 | } 159 | # E-Hentai End -------------------------------------------------------------------------------- /conf/site-github.conf: -------------------------------------------------------------------------------- 1 | # github Start 2 | upstream Github-com { 3 | server 20.205.243.166:443; 4 | server 20.27.177.113:443; 5 | server 20.200.245.247:443; 6 | } 7 | upstream codeload-github-com { 8 | server 20.205.243.165:443; 9 | server 20.27.177.114:443; 10 | server 20.200.245.246:443; 11 | } 12 | upstream api-github-com { 13 | server 20.205.243.168:443; 14 | server 20.27.177.116:443; 15 | server 20.200.245.245:443; 16 | } 17 | upstream redirect-github-com { 18 | server 140.82.112.17:443; 19 | server 140.82.113.17:443; 20 | server 140.82.114.17:443; 21 | server 140.82.112.18:443; 22 | server 140.82.113.18:443; 23 | server 140.82.114.18:443; 24 | } 25 | upstream edu-github-com { 26 | server 140.82.112.21:443; 27 | server 140.82.112.22:443; 28 | server 140.82.113.21:443; 29 | server 140.82.113.22:443; 30 | server 140.82.114.21:443; 31 | server 140.82.114.22:443; 32 | } 33 | 34 | upstream githubusercontent-com { 35 | server 185.199.109.133:443; 36 | server 185.199.108.133:443; 37 | server 185.199.110.133:443; 38 | server 185.199.111.133:443; 39 | server 167.82.0.133:443; 40 | server 167.82.20.133:443; 41 | server 167.82.84.133:443; 42 | server 167.82.88.133:443; 43 | server 146.75.112.133:443; 44 | server 146.75.20.133:443; 45 | server 151.101.64.133:443; 46 | server 151.101.76.133:443; 47 | #server 151.101.108.133:443; 48 | server 151.101.128.133:443; 49 | server 151.101.192.133:443; 50 | #server 151.101.228.133:443; 51 | server 199.232.208.133:443; 52 | server 199.232.212.133:443; 53 | server 199.232.232.133:443; 54 | server [2a04:4e42:75::133]:443; 55 | server [2a04:4e42:76::133]:443; 56 | server [2a04:4e42:82::133]:443; 57 | server [2a04:4e42:8c::133]:443; 58 | server [2a04:4e42:4d::133]:443; 59 | server [2a04:4e42:4c::133]:443; 60 | 61 | server [2a04:4e42:12::133]:443; 62 | server [2a04:4e42:15::133]:443; 63 | server [2a04:4e42:1a::133]:443; 64 | server [2a04:4e42:36::133]:443; 65 | server [2a04:4e42:48::133]:443; 66 | } 67 | 68 | upstream githubassets-com { 69 | server 185.199.109.154:443; 70 | server 185.199.108.154:443; 71 | server 185.199.110.154:443; 72 | server 185.199.111.154:443; 73 | server [2606:50c0:8000::154]:443; 74 | server [2606:50c0:8001::154]:443; 75 | server [2606:50c0:8002::154]:443; 76 | server [2606:50c0:8003::154]:443; 77 | } 78 | 79 | server { 80 | listen 443 ssl http2; 81 | listen [::]:443 ssl http2; 82 | server_name github.com; 83 | server_name www.github.com; 84 | server_name gist.github.com; 85 | 86 | include cert.conf; 87 | 88 | location / { 89 | proxy_pass https://Github-com/; 90 | include shared-proxy-params-1.conf; 91 | proxy_headers_hash_max_size 8192; 92 | proxy_buffer_size 128k; 93 | proxy_buffers 4 256k; 94 | proxy_busy_buffers_size 256k; 95 | } 96 | } 97 | 98 | server { 99 | listen 443 ssl http2; 100 | listen [::]:443 ssl http2; 101 | server_name codeload.github.com; 102 | 103 | include cert.conf; 104 | 105 | location / { 106 | proxy_pass https://codeload-github-com/; 107 | include shared-proxy-params-1.conf; 108 | proxy_headers_hash_max_size 8192; 109 | proxy_buffer_size 128k; 110 | proxy_buffers 4 256k; 111 | proxy_busy_buffers_size 256k; 112 | } 113 | } 114 | 115 | server { 116 | listen 443 ssl http2; 117 | listen [::]:443 ssl http2; 118 | server_name api.github.com; 119 | 120 | include cert.conf; 121 | 122 | location / { 123 | proxy_pass https://api-github-com/; 124 | include shared-proxy-params-1.conf; 125 | proxy_headers_hash_max_size 8192; 126 | proxy_buffer_size 128k; 127 | proxy_buffers 4 256k; 128 | proxy_busy_buffers_size 256k; 129 | } 130 | } 131 | 132 | server { 133 | listen 443 ssl http2; 134 | listen [::]:443 ssl http2; 135 | server_name redirect.github.com copilot.github.com services.github.com community.github.com; 136 | 137 | include cert.conf; 138 | 139 | location / { 140 | proxy_pass https://redirect-github-com/; 141 | include shared-proxy-params-1.conf; 142 | proxy_headers_hash_max_size 8192; 143 | proxy_buffer_size 128k; 144 | proxy_buffers 4 256k; 145 | proxy_busy_buffers_size 256k; 146 | } 147 | } 148 | 149 | server { 150 | listen 443 ssl http2; 151 | listen [::]:443 ssl http2; 152 | server_name education.github.com enterprise.github.com classroom.github.com central.github.com collector.github.com; 153 | 154 | include cert.conf; 155 | 156 | location / { 157 | proxy_pass https://edu-github-com/; 158 | include shared-proxy-params-1.conf; 159 | proxy_headers_hash_max_size 8192; 160 | proxy_buffer_size 128k; 161 | proxy_buffers 4 256k; 162 | proxy_busy_buffers_size 256k; 163 | } 164 | } 165 | 166 | server { 167 | listen 80; 168 | listen 443 ssl http2; 169 | listen [::]:443 ssl http2; 170 | server_name githubusercontent.com analytics.githubassets.com lab.github.com assets-cdn.github.com www.github.io pages.github.com resources.github.com developer.github.com partner.github.com desktop.github.com guides.github.com support.github.com; 171 | server_name *.githubusercontent.com *.github.io; 172 | 173 | include cert.conf; 174 | 175 | location / { 176 | proxy_pass https://githubusercontent-com/; 177 | include shared-proxy-params-1.conf; 178 | proxy_set_header Range $http_range; 179 | proxy_set_header If-Range $http_if_range; 180 | } 181 | } 182 | 183 | server { 184 | listen 80; 185 | listen 443 ssl http2; 186 | listen [::]:443 ssl http2; 187 | server_name docs.github.com; 188 | server_name githubassets.com; 189 | server_name *.githubassets.com; 190 | 191 | include cert.conf; 192 | 193 | location / { 194 | proxy_pass https://githubassets-com/; 195 | include shared-proxy-params-1.conf; 196 | proxy_set_header Range $http_range; 197 | proxy_set_header If-Range $http_if_range; 198 | } 199 | } 200 | # github End 201 | -------------------------------------------------------------------------------- /conf/site-google-video.conf: -------------------------------------------------------------------------------- 1 | upstream Google-Video { 2 | least_conn; 3 | server 127.0.0.129:65496; 4 | server 127.0.0.129:65497; 5 | server 127.0.0.129:65498; 6 | server 127.0.0.129:65499; 7 | server 127.0.0.129:65500; 8 | server 127.0.0.129:65501; 9 | server 127.0.0.129:65502; 10 | server 127.0.0.129:65503; 11 | server 127.0.0.129:65504; 12 | } 13 | 14 | log_format GoogleVideo '[$time_local]- 请求耗时"$request_time" $http_host 服务器地址:$proxy_host $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr"\n $status 总字节数$body_bytes_sent'; 15 | 16 | server { 17 | listen 127.0.0.129:65496 ssl; 18 | server_name *.googlevideo.com; 19 | 20 | include cert.conf; 21 | location / { 22 | set $domain_SUFFIX "offline-maps.gvt1.com"; 23 | include site-gv.conf; 24 | } 25 | } 26 | server { 27 | listen 127.0.0.129:65497 ssl; 28 | server_name *.googlevideo.com; 29 | 30 | include cert.conf; 31 | location / { 32 | set $domain_SUFFIX "c.2mdn.net"; 33 | include site-gv.conf; 34 | } 35 | } 36 | server { 37 | listen 127.0.0.129:65498 ssl; 38 | server_name *.googlevideo.com; 39 | 40 | include cert.conf; 41 | location / { 42 | set $domain_SUFFIX "bdn.dev"; 43 | include site-gv.conf; 44 | } 45 | } 46 | server { 47 | listen 127.0.0.129:65499 ssl; 48 | server_name *.googlevideo.com; 49 | 50 | include cert.conf; 51 | location / { 52 | set $domain_SUFFIX "gvt1.com"; 53 | include site-gv.conf; 54 | } 55 | } 56 | server { 57 | listen 127.0.0.129:65500 ssl; 58 | server_name *.googlevideo.com; 59 | 60 | include cert.conf; 61 | location / { 62 | set $domain_SUFFIX "xn--ngstr-lra8j.com"; 63 | include site-gv.conf; 64 | } 65 | } 66 | server { 67 | listen 127.0.0.129:65501 ssl; 68 | server_name *.googlevideo.com; 69 | 70 | include cert.conf; 71 | location / { 72 | set $domain_SUFFIX "snap.gvt1.com"; 73 | include site-gv.conf; 74 | } 75 | } 76 | server { 77 | listen 127.0.0.129:65502 ssl; 78 | server_name *.googlevideo.com; 79 | 80 | include cert.conf; 81 | location / { 82 | set $domain_SUFFIX "gcpcdn.gvt1.com"; 83 | include site-gv.conf; 84 | } 85 | } 86 | server { 87 | listen 127.0.0.129:65503 ssl; 88 | server_name *.googlevideo.com; 89 | 90 | include cert.conf; 91 | location / { 92 | set $domain_SUFFIX "c.bigcache.googleapis.com"; 93 | include site-gv.conf; 94 | } 95 | } 96 | server { 97 | listen 127.0.0.129:65504 ssl; 98 | server_name *.googlevideo.com; 99 | 100 | include cert.conf; 101 | location / { 102 | set $domain_SUFFIX "c.googlesyndication.com"; 103 | include site-gv.conf; 104 | } 105 | } 106 | 107 | 108 | #  GoogleVideo.com 109 | server { 110 | listen 443 ssl http2; 111 | listen [::]:443 ssl http2; 112 | 113 | #access_log logs/GoogleVideo-access.gzip main gzip=4 buffer=4k; 114 | access_log off; 115 | error_log logs/GoogleVideo-error.log; 116 | 117 | server_name *.googlevideo.com; 118 | 119 | include cert.conf; 120 | location / { 121 | proxy_max_temp_file_size 0; 122 | proxy_pass https://Google-Video; 123 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 124 | proxy_set_header X-Host $host; 125 | proxy_set_header Range $http_range; 126 | proxy_set_header If-Range $http_if_range; 127 | include shared-proxy-params-1.conf; 128 | proxy_ssl_name $host; 129 | } 130 | } 131 | # GoogleVideo End 132 | 133 | 134 | #  ggpht.com 135 | upstream ggpht-com { 136 | server [2607:f8b0:4002:c10::84]:443; 137 | } 138 | server { 139 | listen 443 ssl http2; 140 | listen [::]:443 ssl http2; 141 | 142 | access_log off; 143 | error_log logs/GoogleVideo-error.log; 144 | 145 | server_name *.ggpht.com; 146 | 147 | include cert.conf; 148 | location / { 149 | proxy_max_temp_file_size 0; 150 | proxy_pass https://ggpht-com; 151 | proxy_next_upstream_timeout 30; 152 | include shared-proxy-params-1.conf; 153 | proxy_set_header Range $http_range; 154 | proxy_set_header If-Range $http_if_range; 155 | } 156 | } -------------------------------------------------------------------------------- /conf/site-greasyfork.conf: -------------------------------------------------------------------------------- 1 | # github Start 2 | upstream GreasyFork-org { 3 | server [2600:3c01::f03c:95ff:fe58:20d3]:443; 4 | server [2600:3c01::f03c:95ff:fee3:1156]:443; 5 | server 96.126.98.220:443; 6 | server 50.116.4.196:443; 7 | }server { 8 | listen 443 ssl http2; 9 | listen [::]:443 ssl http2; 10 | server_name GreasyFork.org; 11 | server_name *.GreasyFork.org; 12 | 13 | include cert.conf; 14 | 15 | location / { 16 | proxy_pass https://GreasyFork-org/; 17 | include shared-proxy-params-1.conf; 18 | proxy_headers_hash_max_size 8192; 19 | proxy_buffer_size 128k; 20 | proxy_buffers 4 256k; 21 | proxy_busy_buffers_size 256k; 22 | } 23 | }# GreasyFork-org End 24 | -------------------------------------------------------------------------------- /conf/site-gv.conf: -------------------------------------------------------------------------------- 1 | proxy_max_temp_file_size 0; 2 | resolver 119.29.29.29:53 valid=1h ipv4=off ipv6=on; 3 | if ( $http_host ~ (([\S\s]*).googlevideo.com) ){ 4 | proxy_pass https://$2.${domain_SUFFIX}:443; 5 | #$2是匹配上的变量部分 6 | } 7 | proxy_ssl_name $proxy_host; 8 | proxy_set_header Range $http_range; 9 | proxy_set_header If-Range $http_if_range; 10 | include shared-proxy-params-1.conf; 11 | 12 | #access_log logs/GoogleVideo-access.log GoogleVideo buffer=4k gzip=4; 13 | access_log off; 14 | error_log logs/GoogleVideo-error.log warn; -------------------------------------------------------------------------------- /conf/site-imgix.conf: -------------------------------------------------------------------------------- 1 | # imgix-net Start 2 | upstream imgix-net { 3 | server 167.82.2.208:443; 4 | server 167.82.22.208:443; 5 | server 167.82.86.208:443; 6 | server 167.82.90.208:443; 7 | server 146.75.22.208:443; 8 | server 146.75.114.208:443; 9 | server 151.101.66.208:443; 10 | server 151.101.78.208:443; 11 | server 151.101.90.208:443; 12 | server 151.101.110.208:443; 13 | server 151.101.130.208:443; 14 | server 151.101.194.208:443; 15 | server 151.101.230.208:443; 16 | server 199.232.210.208:443; 17 | server 199.232.214.208:443; 18 | server 199.232.234.208:443; 19 | keepalive 16; 20 | keepalive_time 1h; 21 | keepalive_timeout 300s; 22 | keepalive_requests 10000; 23 | } 24 | 25 | server { 26 | listen 443 ssl http2; 27 | listen [::]:443 ssl http2; 28 | server_name *.imgix.net; 29 | 30 | include cert.conf; 31 | client_max_body_size 50M; 32 | 33 | location / { 34 | proxy_max_temp_file_size 0; 35 | proxy_pass https://imgix-net/; 36 | proxy_buffer_size 64k; 37 | proxy_buffers 32 64k; 38 | proxy_busy_buffers_size 128k; 39 | include shared-proxy-params-1.conf; 40 | } 41 | } 42 | # imgix-net End -------------------------------------------------------------------------------- /conf/site-imgur.conf: -------------------------------------------------------------------------------- 1 | # imgur-com Start 2 | upstream imgur-com { 3 | server 167.82.0.193:443; 4 | server 167.82.20.193:443; 5 | server 167.82.84.193:443; 6 | server 167.82.88.193:443; 7 | server 146.75.112.193:443; 8 | server 146.75.20.193:443; 9 | server 151.101.0.193:443; 10 | server 151.101.64.193:443; 11 | server 151.101.76.193:443; 12 | server 151.101.88.193:443; 13 | server 151.101.108.193:443; 14 | server 151.101.128.193:443; 15 | server 151.101.192.193:443; 16 | server 151.101.228.193:443; 17 | server 199.232.208.193:443; 18 | server 199.232.212.193:443; 19 | server 199.232.232.193:443; 20 | keepalive 16; 21 | keepalive_time 1h; 22 | keepalive_timeout 300s; 23 | keepalive_requests 10000; 24 | } 25 | 26 | server { 27 | listen 443 ssl http2; 28 | listen [::]:443 ssl http2; 29 | server_name imgur.com; 30 | server_name *.imgur.com; 31 | 32 | include cert.conf; 33 | client_max_body_size 50M; 34 | 35 | location / { 36 | proxy_max_temp_file_size 0; 37 | proxy_pass https://imgur-com/; 38 | proxy_buffer_size 64k; 39 | proxy_buffers 32 64k; 40 | proxy_busy_buffers_size 128k; 41 | include shared-proxy-params-1.conf; 42 | } 43 | } 44 | # imgur-com End 45 | -------------------------------------------------------------------------------- /conf/site-iwara.conf: -------------------------------------------------------------------------------- 1 | # iWara Start 2 | upstream iWara-tv { 3 | server 66.206.15.50:443; 4 | #server 66.206.15.52:443; 5 | #server 66.206.15.51:443; 6 | #server [2606:4700:20::ac43:479a]:443; 7 | #server [2606:4700:20::681a:c60]:443; 8 | #server [2606:4700:20::681a:d60]:443; 9 | #server 172.67.71.154:443; 10 | #server 104.26.13.96:443; 11 | #server 104.26.12.96:443; 12 | } 13 | 14 | server { 15 | listen 443 ssl http2; 16 | listen [::]:443 ssl http2; 17 | server_name iwara.tv; 18 | server_name i.iwara.tv; 19 | server_name ecchi.iwara.tv; 20 | server_name www.iwara.tv; 21 | 22 | include cert.conf; 23 | location / { 24 | proxy_pass https://iwara-tv/; 25 | include shared-proxy-params-iwaras.conf; 26 | } 27 | } 28 | 29 | server { 30 | listen 443 ssl http2; 31 | listen [::]:443 ssl http2; 32 | server_name api.iwara.tv; 33 | 34 | include cert.conf; 35 | location / { 36 | proxy_pass https://66.206.15.51/; 37 | include shared-proxy-params-iwaras.conf; 38 | } 39 | } 40 | 41 | server { 42 | listen 443 ssl http2; 43 | listen [::]:443 ssl http2; 44 | server_name mikoto.iwara.tv; 45 | 46 | include cert.conf; 47 | location / { 48 | proxy_pass https://72.52.83.99:443/; 49 | include shared-proxy-params-iwaras.conf; 50 | } 51 | } 52 | 53 | server { 54 | listen 443 ssl http2; 55 | listen [::]:443 ssl http2; 56 | server_name piko.iwara.tv; 57 | 58 | include cert.conf; 59 | location / { 60 | proxy_pass https://163.172.57.37:443/; 61 | include shared-proxy-params-iwaras.conf; 62 | } 63 | } 64 | 65 | server { 66 | listen 443 ssl http2; 67 | listen [::]:443 ssl http2; 68 | server_name hime.iwara.tv; 69 | 70 | include cert.conf; 71 | location / { 72 | proxy_pass https://72.52.83.100:443/; 73 | include shared-proxy-params-iwaras.conf; 74 | } 75 | } 76 | 77 | server { 78 | listen 443 ssl http2; 79 | listen [::]:443 ssl http2; 80 | server_name akane.iwara.tv; 81 | 82 | include cert.conf; 83 | location / { 84 | proxy_pass https://62.210.114.100:443/; 85 | include shared-proxy-params-iwaras.conf; 86 | } 87 | } 88 | 89 | server { 90 | listen 443 ssl http2; 91 | listen [::]:443 ssl http2; 92 | server_name akiko.iwara.tv; 93 | 94 | include cert.conf; 95 | location / { 96 | proxy_pass https://163.172.76.76:443/; 97 | include shared-proxy-params-iwaras.conf; 98 | } 99 | } 100 | 101 | server { 102 | listen 443 ssl http2; 103 | listen [::]:443 ssl http2; 104 | server_name aku.iwara.tv; 105 | 106 | include cert.conf; 107 | location / { 108 | proxy_pass https://163.172.40.145:443/; 109 | include shared-proxy-params-iwaras.conf; 110 | } 111 | } 112 | 113 | server { 114 | listen 443 ssl http2; 115 | listen [::]:443 ssl http2; 116 | server_name aoki.iwara.tv; 117 | 118 | include cert.conf; 119 | location / { 120 | proxy_pass https://51.15.167.16:443/; 121 | include shared-proxy-params-iwaras.conf; 122 | } 123 | } 124 | 125 | server { 126 | listen 443 ssl http2; 127 | listen [::]:443 ssl http2; 128 | server_name staging.iwara.tv; 129 | server_name api.staging.iwara.tv; 130 | server_name cdn.staging.iwara.tv; 131 | server_name encoder.staging.iwara.tv; 132 | server_name files.staging.iwara.tv; 133 | 134 | include cert.conf; 135 | location / { 136 | proxy_pass https://51.15.61.17:443/; 137 | include shared-proxy-params-iwaras.conf; 138 | } 139 | } 140 | 141 | server { 142 | listen 443 ssl http2; 143 | listen [::]:443 ssl http2; 144 | server_name arsloid.iwara.tv; 145 | 146 | include cert.conf; 147 | location / { 148 | proxy_pass https://51.15.179.139:443/; 149 | include shared-proxy-params-iwaras.conf; 150 | } 151 | } 152 | 153 | server { 154 | listen 443 ssl http2; 155 | listen [::]:443 ssl http2; 156 | server_name avanna.iwara.tv; 157 | 158 | include cert.conf; 159 | location / { 160 | proxy_pass https://195.154.112.58:443/; 161 | include shared-proxy-params-iwaras.conf; 162 | } 163 | } 164 | 165 | server { 166 | listen 443 ssl http2; 167 | listen [::]:443 ssl http2; 168 | server_name azuki.iwara.tv; 169 | 170 | include cert.conf; 171 | location / { 172 | proxy_pass https://163.172.86.190:443/; 173 | include shared-proxy-params-iwaras.conf; 174 | } 175 | } 176 | 177 | server { 178 | listen 443 ssl http2; 179 | listen [::]:443 ssl http2; 180 | server_name beni.iwara.tv; 181 | 182 | include cert.conf; 183 | location / { 184 | proxy_pass https://163.172.77.14:443/; 185 | include shared-proxy-params-iwaras.conf; 186 | } 187 | } 188 | 189 | server { 190 | listen 443 ssl http2; 191 | listen [::]:443 ssl http2; 192 | server_name boushi.iwara.tv; 193 | 194 | include cert.conf; 195 | location / { 196 | proxy_pass https://51.15.179.4:443/; 197 | include shared-proxy-params-iwaras.conf; 198 | } 199 | } 200 | 201 | server { 202 | listen 443 ssl http2; 203 | listen [::]:443 ssl http2; 204 | server_name bruno.iwara.tv; 205 | 206 | include cert.conf; 207 | location / { 208 | proxy_pass https://195.154.112.19:443/; 209 | include shared-proxy-params-iwaras.conf; 210 | } 211 | } 212 | 213 | server { 214 | listen 443 ssl http2; 215 | listen [::]:443 ssl http2; 216 | server_name caine.iwara.tv; 217 | 218 | include cert.conf; 219 | location / { 220 | proxy_pass https://195.154.108.41:443/; 221 | include shared-proxy-params-iwaras.conf; 222 | } 223 | } 224 | 225 | server { 226 | listen 443 ssl http2; 227 | listen [::]:443 ssl http2; 228 | server_name chika.iwara.tv; 229 | 230 | include cert.conf; 231 | location / { 232 | proxy_pass https://51.15.182.4:443/; 233 | include shared-proxy-params-iwaras.conf; 234 | } 235 | } 236 | 237 | server { 238 | listen 443 ssl http2; 239 | listen [::]:443 ssl http2; 240 | server_name clara.iwara.tv; 241 | 242 | include cert.conf; 243 | location / { 244 | proxy_pass https://163.172.37.46:443/; 245 | include shared-proxy-params-iwaras.conf; 246 | } 247 | } 248 | 249 | server { 250 | listen 443 ssl http2; 251 | listen [::]:443 ssl http2; 252 | server_name coco.iwara.tv; 253 | 254 | include cert.conf; 255 | location / { 256 | proxy_pass https://195.154.112.56:443/; 257 | include shared-proxy-params-iwaras.conf; 258 | } 259 | } 260 | 261 | server { 262 | listen 443 ssl http2; 263 | listen [::]:443 ssl http2; 264 | server_name cul.iwara.tv; 265 | 266 | include cert.conf; 267 | location / { 268 | proxy_pass https://163.172.39.227:443/; 269 | include shared-proxy-params-iwaras.conf; 270 | } 271 | } 272 | 273 | server { 274 | listen 443 ssl http2; 275 | listen [::]:443 ssl http2; 276 | server_name defosuke.iwara.tv; 277 | 278 | include cert.conf; 279 | location / { 280 | proxy_pass https://51.15.179.227:443/; 281 | include shared-proxy-params-iwaras.conf; 282 | } 283 | } 284 | 285 | server { 286 | listen 443 ssl http2; 287 | listen [::]:443 ssl http2; 288 | server_name files.iwara.tv; 289 | 290 | include cert.conf; 291 | location / { 292 | proxy_pass https://66.165.240.194:443/; 293 | include shared-proxy-params-iwaras.conf; 294 | } 295 | } 296 | 297 | server { 298 | listen 443 ssl http2; 299 | listen [::]:443 ssl http2; 300 | server_name gakuko.iwara.tv; 301 | 302 | include cert.conf; 303 | location / { 304 | proxy_pass https://51.15.176.206:443/; 305 | include shared-proxy-params-iwaras.conf; 306 | } 307 | } 308 | 309 | server { 310 | listen 443 ssl http2; 311 | listen [::]:443 ssl http2; 312 | server_name galaco.iwara.tv; 313 | 314 | include cert.conf; 315 | location / { 316 | proxy_pass https://163.172.39.32:443/; 317 | include shared-proxy-params-iwaras.conf; 318 | } 319 | } 320 | 321 | server { 322 | listen 443 ssl http2; 323 | listen [::]:443 ssl http2; 324 | server_name gumi.iwara.tv; 325 | 326 | include cert.conf; 327 | location / { 328 | proxy_pass https://66.165.238.28:443/; 329 | include shared-proxy-params-iwaras.conf; 330 | } 331 | } 332 | 333 | server { 334 | listen 443 ssl http2; 335 | listen [::]:443 ssl http2; 336 | server_name haku.iwara.tv; 337 | 338 | include cert.conf; 339 | location / { 340 | proxy_pass https://51.15.168.39:443/; 341 | include shared-proxy-params-iwaras.conf; 342 | } 343 | } 344 | 345 | server { 346 | listen 443 ssl http2; 347 | listen [::]:443 ssl http2; 348 | server_name hana.iwara.tv; 349 | 350 | include cert.conf; 351 | location / { 352 | proxy_pass https://195.154.112.144:443/; 353 | include shared-proxy-params-iwaras.conf; 354 | } 355 | } 356 | 357 | server { 358 | listen 443 ssl http2; 359 | listen [::]:443 ssl http2; 360 | server_name hatsune.iwara.tv; 361 | 362 | include cert.conf; 363 | location / { 364 | proxy_pass https://195.154.112.118:443/; 365 | include shared-proxy-params-iwaras.conf; 366 | } 367 | } 368 | 369 | server { 370 | listen 443 ssl http2; 371 | listen [::]:443 ssl http2; 372 | server_name hiyama.iwara.tv; 373 | 374 | include cert.conf; 375 | location / { 376 | proxy_pass https://195.154.112.197:443/; 377 | include shared-proxy-params-iwaras.conf; 378 | } 379 | } 380 | 381 | server { 382 | listen 443 ssl http2; 383 | listen [::]:443 ssl http2; 384 | server_name ia.iwara.tv; 385 | 386 | include cert.conf; 387 | location / { 388 | proxy_pass https://66.206.15.50:443/; 389 | include shared-proxy-params-iwaras.conf; 390 | } 391 | } 392 | 393 | server { 394 | listen 443 ssl http2; 395 | listen [::]:443 ssl http2; 396 | server_name kaai.iwara.tv; 397 | 398 | include cert.conf; 399 | location / { 400 | proxy_pass https://51.159.52.12:443/; 401 | include shared-proxy-params-iwaras.conf; 402 | } 403 | } 404 | 405 | server { 406 | listen 443 ssl http2; 407 | listen [::]:443 ssl http2; 408 | server_name kagamine.iwara.tv; 409 | 410 | include cert.conf; 411 | location / { 412 | proxy_pass https://195.154.112.117:443/; 413 | include shared-proxy-params-iwaras.conf; 414 | } 415 | } 416 | 417 | server { 418 | listen 443 ssl http2; 419 | listen [::]:443 ssl http2; 420 | server_name kagene.iwara.tv; 421 | 422 | include cert.conf; 423 | location / { 424 | proxy_pass https://51.15.187.138:443/; 425 | include shared-proxy-params-iwaras.conf; 426 | } 427 | } 428 | 429 | server { 430 | listen 443 ssl http2; 431 | listen [::]:443 ssl http2; 432 | server_name kamui.iwara.tv; 433 | 434 | include cert.conf; 435 | location / { 436 | proxy_pass https://195.154.108.22:443/; 437 | include shared-proxy-params-iwaras.conf; 438 | } 439 | } 440 | 441 | server { 442 | listen 443 ssl http2; 443 | listen [::]:443 ssl http2; 444 | server_name kanon.iwara.tv; 445 | 446 | include cert.conf; 447 | location / { 448 | proxy_pass https://195.154.108.89:443/; 449 | include shared-proxy-params-iwaras.conf; 450 | } 451 | } 452 | 453 | server { 454 | listen 443 ssl http2; 455 | listen [::]:443 ssl http2; 456 | server_name kiki.iwara.tv; 457 | server_name t.iwara.tv; 458 | 459 | include cert.conf; 460 | location / { 461 | proxy_pass https://51.15.162.198:443/; 462 | include shared-proxy-params-iwaras.conf; 463 | } 464 | } 465 | 466 | server { 467 | listen 443 ssl http2; 468 | listen [::]:443 ssl http2; 469 | server_name kitano.iwara.tv; 470 | 471 | include cert.conf; 472 | location / { 473 | proxy_pass https://195.154.112.98:443/; 474 | include shared-proxy-params-iwaras.conf; 475 | } 476 | } 477 | 478 | server { 479 | listen 443 ssl http2; 480 | listen [::]:443 ssl http2; 481 | server_name kohaku.iwara.tv; 482 | 483 | include cert.conf; 484 | location / { 485 | proxy_pass https://163.172.39.30:443/; 486 | include shared-proxy-params-iwaras.conf; 487 | } 488 | } 489 | 490 | server { 491 | listen 443 ssl http2; 492 | listen [::]:443 ssl http2; 493 | server_name kokone.iwara.tv; 494 | 495 | include cert.conf; 496 | location / { 497 | proxy_pass https://62.210.114.118:443/; 498 | include shared-proxy-params-iwaras.conf; 499 | } 500 | } 501 | 502 | server { 503 | listen 443 ssl http2; 504 | listen [::]:443 ssl http2; 505 | server_name komachi.iwara.tv; 506 | 507 | include cert.conf; 508 | location / { 509 | proxy_pass https://51.15.172.163:443/; 510 | include shared-proxy-params-iwaras.conf; 511 | } 512 | } 513 | 514 | server { 515 | listen 443 ssl http2; 516 | listen [::]:443 ssl http2; 517 | server_name lily.iwara.tv; 518 | 519 | include cert.conf; 520 | location / { 521 | proxy_pass https://51.15.167.20:443/; 522 | include shared-proxy-params-iwaras.conf; 523 | } 524 | } 525 | 526 | server { 527 | listen 443 ssl http2; 528 | listen [::]:443 ssl http2; 529 | server_name ling.iwara.tv; 530 | 531 | include cert.conf; 532 | location / { 533 | proxy_pass https://51.15.187.40:443/; 534 | include shared-proxy-params-iwaras.conf; 535 | } 536 | } 537 | 538 | server { 539 | listen 443 ssl http2; 540 | listen [::]:443 ssl http2; 541 | server_name lola.iwara.tv; 542 | 543 | include cert.conf; 544 | location / { 545 | proxy_pass https://163.172.38.98:443/; 546 | include shared-proxy-params-iwaras.conf; 547 | } 548 | } 549 | 550 | server { 551 | listen 443 ssl http2; 552 | listen [::]:443 ssl http2; 553 | server_name lorra.iwara.tv; 554 | 555 | include cert.conf; 556 | location / { 557 | proxy_pass https://195.154.112.199:443/; 558 | include shared-proxy-params-iwaras.conf; 559 | } 560 | } 561 | 562 | server { 563 | listen 443 ssl http2; 564 | listen [::]:443 ssl http2; 565 | server_name luka.iwara.tv; 566 | 567 | include cert.conf; 568 | location / { 569 | proxy_pass https://51.15.168.15:443/; 570 | include shared-proxy-params-iwaras.conf; 571 | } 572 | } 573 | 574 | server { 575 | listen 443 ssl http2; 576 | listen [::]:443 ssl http2; 577 | server_name lumi.iwara.tv; 578 | 579 | include cert.conf; 580 | location / { 581 | proxy_pass https://51.159.52.17:443/; 582 | include shared-proxy-params-iwaras.conf; 583 | } 584 | } 585 | 586 | server { 587 | listen 443 ssl http2; 588 | listen [::]:443 ssl http2; 589 | server_name luna.iwara.tv; 590 | 591 | include cert.conf; 592 | location / { 593 | proxy_pass https://195.154.108.35:443/; 594 | include shared-proxy-params-iwaras.conf; 595 | } 596 | } 597 | 598 | server { 599 | listen 443 ssl http2; 600 | listen [::]:443 ssl http2; 601 | server_name luo.iwara.tv; 602 | 603 | include cert.conf; 604 | location / { 605 | proxy_pass https://163.172.211.199:443/; 606 | include shared-proxy-params-iwaras.conf; 607 | } 608 | } 609 | 610 | server { 611 | listen 443 ssl http2; 612 | listen [::]:443 ssl http2; 613 | server_name macne.iwara.tv; 614 | 615 | include cert.conf; 616 | location / { 617 | proxy_pass https://195.154.112.57:443/; 618 | include shared-proxy-params-iwaras.conf; 619 | } 620 | } 621 | 622 | server { 623 | listen 443 ssl http2; 624 | listen [::]:443 ssl http2; 625 | server_name maika.iwara.tv; 626 | 627 | include cert.conf; 628 | location / { 629 | proxy_pass https://163.172.85.51:443/; 630 | include shared-proxy-params-iwaras.conf; 631 | } 632 | } 633 | 634 | server { 635 | listen 443 ssl http2; 636 | listen [::]:443 ssl http2; 637 | server_name mayu.iwara.tv; 638 | 639 | include cert.conf; 640 | location / { 641 | proxy_pass https://51.15.172.53:443/; 642 | include shared-proxy-params-iwaras.conf; 643 | } 644 | } 645 | 646 | server { 647 | listen 443 ssl http2; 648 | listen [::]:443 ssl http2; 649 | server_name megurine.iwara.tv; 650 | 651 | include cert.conf; 652 | location / { 653 | proxy_pass https://195.154.112.105:443/; 654 | include shared-proxy-params-iwaras.conf; 655 | } 656 | } 657 | 658 | server { 659 | listen 443 ssl http2; 660 | listen [::]:443 ssl http2; 661 | server_name meiko.iwara.tv; 662 | 663 | include cert.conf; 664 | location / { 665 | proxy_pass https://163.172.37.60:443/; 666 | include shared-proxy-params-iwaras.conf; 667 | } 668 | } 669 | 670 | server { 671 | listen 443 ssl http2; 672 | listen [::]:443 ssl http2; 673 | server_name merli.iwara.tv; 674 | 675 | include cert.conf; 676 | location / { 677 | proxy_pass https://163.172.61.159:443/; 678 | include shared-proxy-params-iwaras.conf; 679 | } 680 | } 681 | 682 | server { 683 | listen 443 ssl http2; 684 | listen [::]:443 ssl http2; 685 | server_name mew.iwara.tv; 686 | 687 | include cert.conf; 688 | location / { 689 | proxy_pass https://195.154.112.32:443/; 690 | include shared-proxy-params-iwaras.conf; 691 | } 692 | } 693 | 694 | server { 695 | listen 443 ssl http2; 696 | listen [::]:443 ssl http2; 697 | server_name miki.iwara.tv; 698 | 699 | include cert.conf; 700 | location / { 701 | proxy_pass https://163.172.44.153:443/; 702 | include shared-proxy-params-iwaras.conf; 703 | } 704 | } 705 | 706 | server { 707 | listen 443 ssl http2; 708 | listen [::]:443 ssl http2; 709 | server_name miku.iwara.tv; 710 | 711 | include cert.conf; 712 | location / { 713 | proxy_pass https://66.165.238.26:443/; 714 | include shared-proxy-params-iwaras.conf; 715 | } 716 | } 717 | 718 | server { 719 | listen 443 ssl http2; 720 | listen [::]:443 ssl http2; 721 | server_name miku-old.iwara.tv; 722 | 723 | include cert.conf; 724 | location / { 725 | proxy_pass https://185.229.13.11:443/; 726 | include shared-proxy-params-iwaras.conf; 727 | } 728 | } 729 | 730 | server { 731 | listen 443 ssl http2; 732 | listen [::]:443 ssl http2; 733 | server_name minarin.iwara.tv; 734 | 735 | include cert.conf; 736 | location / { 737 | proxy_pass https://51.15.187.3:443/; 738 | include shared-proxy-params-iwaras.conf; 739 | } 740 | } 741 | 742 | server { 743 | listen 443 ssl http2; 744 | listen [::]:443 ssl http2; 745 | server_name minato.iwara.tv; 746 | 747 | include cert.conf; 748 | location / { 749 | proxy_pass https://195.154.112.235:443/; 750 | include shared-proxy-params-iwaras.conf; 751 | } 752 | } 753 | 754 | server { 755 | listen 443 ssl http2; 756 | listen [::]:443 ssl http2; 757 | server_name momo.iwara.tv; 758 | 759 | include cert.conf; 760 | location / { 761 | proxy_pass https://163.172.62.89:443/; 762 | include shared-proxy-params-iwaras.conf; 763 | } 764 | } 765 | 766 | server { 767 | listen 443 ssl http2; 768 | listen [::]:443 ssl http2; 769 | server_name neru.iwara.tv; 770 | 771 | include cert.conf; 772 | location / { 773 | proxy_pass https://51.15.177.74:443/; 774 | include shared-proxy-params-iwaras.conf; 775 | } 776 | } 777 | 778 | server { 779 | listen 443 ssl http2; 780 | listen [::]:443 ssl http2; 781 | server_name o1.ptr4382.iwara.tv; 782 | 783 | include cert.conf; 784 | location / { 785 | proxy_pass https://149.72.231.151:443/; 786 | include shared-proxy-params-iwaras.conf; 787 | } 788 | } 789 | 790 | server { 791 | listen 443 ssl http2; 792 | listen [::]:443 ssl http2; 793 | server_name observium.iwara.tv; 794 | 795 | include cert.conf; 796 | location / { 797 | proxy_pass https://163.172.77.14:443/; 798 | include shared-proxy-params-iwaras.conf; 799 | } 800 | } 801 | 802 | server { 803 | listen 443 ssl http2; 804 | listen [::]:443 ssl http2; 805 | server_name one.iwara.tv; 806 | 807 | include cert.conf; 808 | location / { 809 | proxy_pass https://195.154.112.60:443/; 810 | include shared-proxy-params-iwaras.conf; 811 | } 812 | } 813 | 814 | server { 815 | listen 443 ssl http2; 816 | listen [::]:443 ssl http2; 817 | server_name otomachi.iwara.tv; 818 | 819 | include cert.conf; 820 | location / { 821 | proxy_pass https://51.15.180.127:443/; 822 | include shared-proxy-params-iwaras.conf; 823 | } 824 | } 825 | 826 | server { 827 | listen 443 ssl http2; 828 | listen [::]:443 ssl http2; 829 | server_name prima.iwara.tv; 830 | 831 | include cert.conf; 832 | location / { 833 | proxy_pass https://163.172.85.51:443/; 834 | include shared-proxy-params-iwaras.conf; 835 | } 836 | } 837 | 838 | server { 839 | listen 443 ssl http2; 840 | listen [::]:443 ssl http2; 841 | server_name rana.iwara.tv; 842 | 843 | include cert.conf; 844 | location / { 845 | proxy_pass https://163.172.86.154:443/; 846 | include shared-proxy-params-iwaras.conf; 847 | } 848 | } 849 | 850 | server { 851 | listen 443 ssl http2; 852 | listen [::]:443 ssl http2; 853 | server_name rin.iwara.tv; 854 | 855 | include cert.conf; 856 | location / { 857 | proxy_pass https://163.172.86.186:443/; 858 | include shared-proxy-params-iwaras.conf; 859 | } 860 | } 861 | 862 | server { 863 | listen 443 ssl http2; 864 | listen [::]:443 ssl http2; 865 | server_name ring.iwara.tv; 866 | 867 | include cert.conf; 868 | location / { 869 | proxy_pass https://51.15.180.11:443/; 870 | include shared-proxy-params-iwaras.conf; 871 | } 872 | } 873 | 874 | server { 875 | listen 443 ssl http2; 876 | listen [::]:443 ssl http2; 877 | server_name ringo.iwara.tv; 878 | 879 | include cert.conf; 880 | location / { 881 | proxy_pass https://51.15.179.60:443/; 882 | include shared-proxy-params-iwaras.conf; 883 | } 884 | } 885 | 886 | server { 887 | listen 443 ssl http2; 888 | listen [::]:443 ssl http2; 889 | server_name rion.iwara.tv; 890 | 891 | include cert.conf; 892 | location / { 893 | proxy_pass https://195.154.108.28:443/; 894 | include shared-proxy-params-iwaras.conf; 895 | } 896 | } 897 | 898 | server { 899 | listen 443 ssl http2; 900 | listen [::]:443 ssl http2; 901 | server_name ritsu.iwara.tv; 902 | 903 | include cert.conf; 904 | location / { 905 | proxy_pass https://163.172.85.51:443/; 906 | include shared-proxy-params-iwaras.conf; 907 | } 908 | } 909 | 910 | server { 911 | listen 443 ssl http2; 912 | listen [::]:443 ssl http2; 913 | server_name rui.iwara.tv; 914 | 915 | include cert.conf; 916 | location / { 917 | proxy_pass https://51.15.177.80:443/; 918 | include shared-proxy-params-iwaras.conf; 919 | } 920 | } 921 | 922 | server { 923 | listen 443 ssl http2; 924 | listen [::]:443 ssl http2; 925 | server_name ruko.iwara.tv; 926 | 927 | include cert.conf; 928 | location / { 929 | proxy_pass https://163.172.61.193:443/; 930 | include shared-proxy-params-iwaras.conf; 931 | } 932 | } 933 | 934 | server { 935 | listen 443 ssl http2; 936 | listen [::]:443 ssl http2; 937 | server_name seeu.iwara.tv; 938 | 939 | include cert.conf; 940 | location / { 941 | proxy_pass https://163.172.37.114:443/; 942 | include shared-proxy-params-iwaras.conf; 943 | } 944 | } 945 | 946 | server { 947 | listen 443 ssl http2; 948 | listen [::]:443 ssl http2; 949 | server_name service.iwara.tv; 950 | 951 | include cert.conf; 952 | location / { 953 | proxy_pass https://85.187.128.60:443/; 954 | include shared-proxy-params-iwaras.conf; 955 | } 956 | } 957 | 958 | server { 959 | listen 443 ssl http2; 960 | listen [::]:443 ssl http2; 961 | server_name shop.iwara.tv; 962 | 963 | include cert.conf; 964 | location / { 965 | proxy_pass https://173.249.147.155:443/; 966 | include shared-proxy-params-iwaras.conf; 967 | } 968 | } 969 | 970 | server { 971 | listen 443 ssl http2; 972 | listen [::]:443 ssl http2; 973 | server_name sonico.iwara.tv; 974 | 975 | include cert.conf; 976 | location / { 977 | proxy_pass https://195.154.112.68:443/; 978 | include shared-proxy-params-iwaras.conf; 979 | } 980 | } 981 | 982 | server { 983 | listen 443 ssl http2; 984 | listen [::]:443 ssl http2; 985 | server_name sonika.iwara.tv; 986 | 987 | include cert.conf; 988 | location / { 989 | proxy_pass https://195.154.112.74:443/; 990 | include shared-proxy-params-iwaras.conf; 991 | } 992 | } 993 | 994 | server { 995 | listen 443 ssl http2; 996 | listen [::]:443 ssl http2; 997 | server_name status.iwara.tv; 998 | 999 | include cert.conf; 1000 | location / { 1001 | proxy_pass https://163.172.77.14:443/; 1002 | include shared-proxy-params-iwaras.conf; 1003 | } 1004 | } 1005 | 1006 | server { 1007 | listen 443 ssl http2; 1008 | listen [::]:443 ssl http2; 1009 | server_name sue.iwara.tv; 1010 | 1011 | include cert.conf; 1012 | location / { 1013 | proxy_pass https://51.15.180.69:443/; 1014 | include shared-proxy-params-iwaras.conf; 1015 | } 1016 | } 1017 | 1018 | server { 1019 | listen 443 ssl http2; 1020 | listen [::]:443 ssl http2; 1021 | server_name sukone.iwara.tv; 1022 | 1023 | include cert.conf; 1024 | location / { 1025 | proxy_pass https://163.172.42.175:443/; 1026 | include shared-proxy-params-iwaras.conf; 1027 | } 1028 | } 1029 | 1030 | server { 1031 | listen 443 ssl http2; 1032 | listen [::]:443 ssl http2; 1033 | server_name support.iwara.tv; 1034 | 1035 | include cert.conf; 1036 | location / { 1037 | proxy_pass https://23.92.16.148:443/; 1038 | include shared-proxy-params-iwaras.conf; 1039 | } 1040 | } 1041 | 1042 | server { 1043 | listen 443 ssl http2; 1044 | listen [::]:443 ssl http2; 1045 | server_name suzune.iwara.tv; 1046 | 1047 | include cert.conf; 1048 | location / { 1049 | proxy_pass https://195.154.108.29:443/; 1050 | include shared-proxy-params-iwaras.conf; 1051 | } 1052 | } 1053 | 1054 | server { 1055 | listen 443 ssl http2; 1056 | listen [::]:443 ssl http2; 1057 | server_name ted.iwara.tv; 1058 | 1059 | include cert.conf; 1060 | location / { 1061 | proxy_pass https://167.114.119.21:443/; 1062 | include shared-proxy-params-iwaras.conf; 1063 | } 1064 | } 1065 | 1066 | server { 1067 | listen 443 ssl http2; 1068 | listen [::]:443 ssl http2; 1069 | server_name tei.iwara.tv; 1070 | 1071 | include cert.conf; 1072 | location / { 1073 | proxy_pass https://163.172.40.81:443/; 1074 | include shared-proxy-params-iwaras.conf; 1075 | } 1076 | } 1077 | 1078 | server { 1079 | listen 443 ssl http2; 1080 | listen [::]:443 ssl http2; 1081 | server_name test.iwara.tv; 1082 | 1083 | include cert.conf; 1084 | location / { 1085 | proxy_pass https://51.15.190.4:443/; 1086 | include shared-proxy-params-iwaras.conf; 1087 | } 1088 | } 1089 | 1090 | server { 1091 | listen 443 ssl http2; 1092 | listen [::]:443 ssl http2; 1093 | server_name teto.iwara.tv; 1094 | 1095 | include cert.conf; 1096 | location / { 1097 | proxy_pass https://163.172.86.188:443/; 1098 | include shared-proxy-params-iwaras.conf; 1099 | } 1100 | } 1101 | 1102 | server { 1103 | listen 443 ssl http2; 1104 | listen [::]:443 ssl http2; 1105 | server_name tianyi.iwara.tv; 1106 | 1107 | include cert.conf; 1108 | location / { 1109 | proxy_pass https://195.154.108.32:443/; 1110 | include shared-proxy-params-iwaras.conf; 1111 | } 1112 | } 1113 | 1114 | server { 1115 | listen 443 ssl http2; 1116 | listen [::]:443 ssl http2; 1117 | server_name tohoku.iwara.tv; 1118 | 1119 | include cert.conf; 1120 | location / { 1121 | proxy_pass https://51.15.176.145:443/; 1122 | include shared-proxy-params-iwaras.conf; 1123 | } 1124 | } 1125 | 1126 | server { 1127 | listen 443 ssl http2; 1128 | listen [::]:443 ssl http2; 1129 | server_name tone.iwara.tv; 1130 | 1131 | include cert.conf; 1132 | location / { 1133 | proxy_pass https://195.154.108.27:443/; 1134 | include shared-proxy-params-iwaras.conf; 1135 | } 1136 | } 1137 | 1138 | server { 1139 | listen 443 ssl http2; 1140 | listen [::]:443 ssl http2; 1141 | server_name uni.iwara.tv; 1142 | 1143 | include cert.conf; 1144 | location / { 1145 | proxy_pass https://163.172.80.31:443/; 1146 | include shared-proxy-params-iwaras.conf; 1147 | } 1148 | } 1149 | 1150 | server { 1151 | listen 443 ssl http2; 1152 | listen [::]:443 ssl http2; 1153 | server_name uta.iwara.tv; 1154 | 1155 | include cert.conf; 1156 | location / { 1157 | proxy_pass https://163.172.40.123:443/; 1158 | include shared-proxy-params-iwaras.conf; 1159 | } 1160 | } 1161 | 1162 | server { 1163 | listen 443 ssl http2; 1164 | listen [::]:443 ssl http2; 1165 | server_name utatane.iwara.tv; 1166 | 1167 | include cert.conf; 1168 | location / { 1169 | proxy_pass https://195.154.112.120:443/; 1170 | include shared-proxy-params-iwaras.conf; 1171 | } 1172 | } 1173 | 1174 | server { 1175 | listen 443 ssl http2; 1176 | listen [::]:443 ssl http2; 1177 | server_name xin.iwara.tv; 1178 | 1179 | include cert.conf; 1180 | location / { 1181 | proxy_pass https://163.172.81.17:443/; 1182 | include shared-proxy-params-iwaras.conf; 1183 | } 1184 | } 1185 | 1186 | server { 1187 | listen 443 ssl http2; 1188 | listen [::]:443 ssl http2; 1189 | server_name yanhe.iwara.tv; 1190 | 1191 | include cert.conf; 1192 | location / { 1193 | proxy_pass https://195.154.112.201:443/; 1194 | include shared-proxy-params-iwaras.conf; 1195 | } 1196 | } 1197 | 1198 | server { 1199 | listen 443 ssl http2; 1200 | listen [::]:443 ssl http2; 1201 | server_name yuiko.iwara.tv; 1202 | 1203 | include cert.conf; 1204 | location / { 1205 | proxy_pass https://51.15.187.59:443/; 1206 | include shared-proxy-params-iwaras.conf; 1207 | } 1208 | } 1209 | 1210 | server { 1211 | listen 443 ssl http2; 1212 | listen [::]:443 ssl http2; 1213 | server_name yukari.iwara.tv; 1214 | 1215 | include cert.conf; 1216 | location / { 1217 | proxy_pass https://163.172.56.87:443/; 1218 | include shared-proxy-params-iwaras.conf; 1219 | } 1220 | } 1221 | 1222 | server { 1223 | listen 443 ssl http2; 1224 | listen [::]:443 ssl http2; 1225 | server_name yuki.iwara.tv; 1226 | 1227 | include cert.conf; 1228 | location / { 1229 | proxy_pass https://51.15.178.105:443/; 1230 | include shared-proxy-params-iwaras.conf; 1231 | } 1232 | } 1233 | 1234 | server { 1235 | listen 443 ssl http2; 1236 | listen [::]:443 ssl http2; 1237 | server_name yuuki.iwara.tv; 1238 | 1239 | include cert.conf; 1240 | location / { 1241 | proxy_pass https://51.15.172.241:443/; 1242 | include shared-proxy-params-iwaras.conf; 1243 | } 1244 | } 1245 | 1246 | server { 1247 | listen 443 ssl http2; 1248 | listen [::]:443 ssl http2; 1249 | server_name yuzuki.iwara.tv; 1250 | 1251 | include cert.conf; 1252 | location / { 1253 | proxy_pass https://195.154.112.119:443/; 1254 | include shared-proxy-params-iwaras.conf; 1255 | } 1256 | } 1257 | 1258 | server { 1259 | listen 443 ssl http2; 1260 | listen [::]:443 ssl http2; 1261 | server_name zing.iwara.tv; 1262 | 1263 | include cert.conf; 1264 | location / { 1265 | proxy_pass https://199.231.160.178:443/; 1266 | include shared-proxy-params-iwaras.conf; 1267 | } 1268 | } 1269 | 1270 | server { 1271 | listen 443 ssl http2; 1272 | listen [::]:443 ssl http2; 1273 | server_name zunko.iwara.tv; 1274 | 1275 | include cert.conf; 1276 | location / { 1277 | proxy_pass https://62.210.114.128:443/; 1278 | include shared-proxy-params-iwaras.conf; 1279 | } 1280 | } 1281 | # iWara End -------------------------------------------------------------------------------- /conf/site-pay-pal.conf: -------------------------------------------------------------------------------- 1 | # PayPal Start 2 | server { 3 | listen 443 ssl http2; 4 | listen [::]:443 ssl http2; 5 | server_name checkout.paypal.com; 6 | 7 | include cert.conf; 8 | 9 | location / { 10 | set $checkout_paypal d37t8d3i48djc7.cloudfront.net; 11 | proxy_pass https://$checkout_paypal:443/; 12 | include shared-proxy-params-1.conf; 13 | } 14 | } 15 | 16 | server { 17 | listen 443 ssl http2; 18 | listen [::]:443 ssl http2; 19 | server_name c.paypal.com; 20 | 21 | include cert.conf; 22 | 23 | location / { 24 | set $c_paypal c-fastly.glb.paypal.com; 25 | proxy_pass https://$c_paypal:443/; 26 | include shared-proxy-params-1.conf; 27 | } 28 | } 29 | # PayPal End -------------------------------------------------------------------------------- /conf/site-pixiv.conf: -------------------------------------------------------------------------------- 1 | upstream www-pixiv-net { 2 | server 210.140.139.154:443; 3 | server 210.140.139.155:443; 4 | server 210.140.139.156:443; 5 | server 210.140.139.157:443; 6 | server 210.140.139.158:443; 7 | server 210.140.139.159:443; 8 | server 210.140.139.160:443; 9 | server 210.140.139.161:443; 10 | server 210.140.139.162:443; 11 | keepalive 16; 12 | keepalive_timeout 120; 13 | keepalive_requests 10000; 14 | } 15 | 16 | upstream sketch-hls-server { 17 | server 210.140.139.172:443; 18 | server 210.140.139.173:443; 19 | server 210.140.139.174:443; 20 | keepalive 16; 21 | keepalive_timeout 120; 22 | keepalive_requests 10000; 23 | } 24 | 25 | upstream i-pximg-net { 26 | server 210.140.92.141:443; 27 | server 210.140.92.142:443; 28 | server 210.140.92.143:443; 29 | server 210.140.92.144:443; 30 | server 210.140.92.145:443; 31 | server 210.140.92.146:443; 32 | server 210.140.92.148:443; 33 | server 210.140.92.149:443; 34 | server 210.140.139.131:443; 35 | server 210.140.139.132:443; 36 | server 210.140.139.133:443; 37 | server 210.140.139.134:443; 38 | server 210.140.139.135:443; 39 | server 210.140.139.136:443; 40 | 41 | keepalive 16; 42 | keepalive_timeout 120; 43 | keepalive_requests 10000; 44 | } 45 | 46 | upstream AkamaiCDN { 47 | server 184.27.185.73:443; 48 | server 184.27.185.76:443; 49 | server 184.26.43.79:443; 50 | server 184.26.43.80:443; 51 | server 184.26.91.162:443; 52 | server 184.26.91.47:443; 53 | server 23.48.201.10:443; 54 | server 23.48.201.16:443; 55 | server 23.48.201.33:443; 56 | server 23.48.201.34:443; 57 | server 23.49.104.47:443; 58 | server 23.49.104.48:443; 59 | server 23.49.104.197:443; 60 | server 23.49.104.200:443; 61 | server 23.49.104.201:443; 62 | server 23.49.104.202:443; 63 | server 23.202.34.90:443; 64 | server 23.202.34.91:443; 65 | server 23.202.34.120:443; 66 | server 23.202.34.250:443; 67 | server 23.202.35.57:443; 68 | server 23.202.35.90:443; 69 | server 23.202.35.120:443; 70 | server 23.202.35.250:443; 71 | keepalive 16; 72 | keepalive_time 1h; 73 | keepalive_timeout 120; 74 | keepalive_requests 10000; 75 | } 76 | 77 | # default_server Start 78 | server { 79 | listen 80 default_server; 80 | listen [::]:80 default_server; 81 | access_log off; 82 | rewrite ^(.*) https://$host$1 permanent; 83 | } 84 | # default_server End 85 | 86 | # Pixiv Start 87 | server { 88 | listen 443 ssl http2; 89 | listen [::]:443 ssl http2; 90 | server_name www.pixiv.net; 91 | server_name pixiv.net; 92 | server_name *.pixiv.net; 93 | server_name downloads.fanbox.cc; 94 | server_name *.fanbox.cc; 95 | 96 | include cert.conf; 97 | 98 | client_max_body_size 50M; 99 | 100 | location / { 101 | proxy_pass https://www-pixiv-net; 102 | include shared-proxy-params-1.conf; 103 | } 104 | 105 | # Proxying WebSockets 106 | location /ws/ { 107 | proxy_pass https://www-pixiv-net; 108 | include shared-proxy-params-2.conf; 109 | proxy_set_header Upgrade $http_upgrade; 110 | proxy_set_header Connection "upgrade"; 111 | } 112 | } 113 | 114 | server { 115 | listen 443 ssl http2; 116 | listen [::]:443 ssl http2; 117 | server_name *.pximg.net; 118 | 119 | include cert.conf; 120 | 121 | location / { 122 | proxy_pass https://i-pximg-net; 123 | include shared-proxy-params-1.conf; 124 | proxy_next_upstream_timeout 60; 125 | proxy_set_header Referer "https://www.pixiv.net/"; 126 | proxy_set_header Sec-Fetch-Site "cross-site"; 127 | allow all; 128 | } 129 | } 130 | 131 | server { 132 | listen 443 ssl http2; 133 | listen [::]:443 ssl http2; 134 | server_name *.pixivsketch.net; 135 | 136 | include cert.conf; 137 | 138 | location / { 139 | proxy_pass https://sketch-hls-server; 140 | include shared-proxy-params-1.conf; 141 | } 142 | } 143 | # Pixiv End 144 | 145 | # Wiki Start 146 | upstream wikipedia-text-lb { 147 | server 208.80.153.224:443; 148 | server 185.15.58.224:443; 149 | server [2620:0:863:ed1a::1]:443; 150 | server [2620:0:861:ed1a::1]:443; 151 | server [2620:0:860:ed1a::1]:443; 152 | server [2001:df2:e500:ed1a::1]:443; 153 | } 154 | 155 | server { 156 | listen 443 ssl http2; 157 | listen [::]:443 ssl http2; 158 | server_name *.wikipedia.org; 159 | server_name *.m.wikipedia.org; 160 | server_name wikimedia.org; 161 | server_name *.wikimedia.org; 162 | server_name *.m.wikimedia.org; 163 | 164 | include cert.conf; 165 | 166 | location / { 167 | proxy_pass https://wikipedia-text-lb/; 168 | include shared-proxy-params-1.conf; 169 | } 170 | } 171 | 172 | upstream wikipedia-upload-lb { 173 | server 208.80.153.240:443; 174 | server 208.80.154.240:443; 175 | server [2620:0:863:ed1a::2:b]:443; 176 | server [2620:0:861:ed1a::2:b]:443; 177 | server [2620:0:860:ed1a::2:b]:443; 178 | server [2001:df2:e500:ed1a::2:b]:443; 179 | } 180 | 181 | server { 182 | listen 443 ssl http2; 183 | listen [::]:443 ssl http2; 184 | server_name upload.wikimedia.org; 185 | 186 | include cert.conf; 187 | 188 | location / { 189 | proxy_pass https://wikipedia-upload-lb/; 190 | include shared-proxy-params-1.conf; 191 | } 192 | } 193 | # Wiki End 194 | 195 | # archiveofourown Start 196 | server { 197 | listen 443 ssl http2; 198 | listen [::]:443 ssl http2; 199 | server_name *.archiveofourown.org; 200 | server_name archiveofourown.org; 201 | 202 | include cert.conf; 203 | 204 | location / { 205 | proxy_pass https://104.153.64.122:443/; 206 | include shared-proxy-params-1.conf; 207 | } 208 | } 209 | # archiveofourown End 210 | 211 | # Nyaa Start 212 | server { 213 | listen 443 ssl http2; 214 | listen [::]:443 ssl http2; 215 | server_name sukebei.nyaa.si; 216 | 217 | include cert.conf; 218 | 219 | location / { 220 | proxy_pass https://198.251.89.38:443/; 221 | include shared-proxy-params-1.conf; 222 | } 223 | } 224 | 225 | server { 226 | listen 443 ssl http2; 227 | listen [::]:443 ssl http2; 228 | server_name nyaa.si; 229 | server_name www.nyaa.si; 230 | 231 | include cert.conf; 232 | 233 | location / { 234 | proxy_pass https://185.178.208.182:443/; 235 | include shared-proxy-params-1.conf; 236 | } 237 | } 238 | # Nyaa End 239 | 240 | # EA Start 241 | server { 242 | listen 443 ssl http2; 243 | listen [::]:443 ssl http2; 244 | server_name origin-a.akamaihd.net; 245 | 246 | include cert.conf; 247 | 248 | location / { 249 | proxy_pass https://AkamaiCDN/; 250 | include shared-proxy-params-1.conf; 251 | } 252 | } 253 | 254 | server { 255 | listen 443 ssl http2; 256 | listen [::]:443 ssl http2; 257 | server_name api1.origin.com; 258 | 259 | include cert.conf; 260 | 261 | location / { 262 | set $rewrite_host "api2.origin.com"; 263 | proxy_pass https://$rewrite_host/; 264 | include shared-proxy-params-1.conf; 265 | } 266 | } 267 | 268 | server { 269 | listen 443 ssl http2; 270 | listen [::]:443 ssl http2; 271 | server_name pc.ea.com; 272 | 273 | include cert.conf; 274 | 275 | location / { 276 | set $rewrite_host "e8688.e12.akamaiedge.net"; 277 | proxy_pass https://$rewrite_host/; 278 | include shared-proxy-params-1.conf; 279 | } 280 | } 281 | # EA End -------------------------------------------------------------------------------- /conf/site-steam-cdn..conf: -------------------------------------------------------------------------------- 1 | resolver 119.29.29.29 valid=300 ipv4=on ipv6=on;# ipv4=on ipv6=off 2 | proxy_pass https://$rewrite_host; 3 | proxy_http_version 1.1; 4 | proxy_connect_timeout 3; 5 | keepalive_timeout 120; 6 | proxy_set_header Connection ""; 7 | proxy_set_header Host $rewrite_host; 8 | proxy_set_header User-Agent $http_user_agent; 9 | proxy_set_header Accept-Encoding ''; 10 | proxy_buffering off; 11 | proxy_ssl_server_name off; 12 | 13 | access_log off; 14 | error_log logs/SteamCDN-error.log; -------------------------------------------------------------------------------- /conf/site-steam.conf: -------------------------------------------------------------------------------- 1 | upstream steam-store { 2 | ip_hash; 3 | #server 184.24.82.108:443 max_fails=5 fail_timeout=60s;#HighPing 4 | #server 23.1.179.144:443 max_fails=5 fail_timeout=60s;#HighPing 5 | #server 23.195.152.91:443 max_fails=5 fail_timeout=60s;#HighPing 6 | server 96.7.99.225:443 max_fails=5 fail_timeout=60s; 7 | server 104.75.41.21:443 max_fails=5 fail_timeout=60s;#HighPing 8 | server 104.76.74.15:443 max_fails=5 fail_timeout=60s;#HighPing 9 | server 104.69.160.135:443 max_fails=5 fail_timeout=60s;#HighPing 10 | server 104.71.48.121:443 max_fails=5 fail_timeout=60s; 11 | server 104.71.154.102:443 max_fails=5 fail_timeout=60s; 12 | server 104.87.193.17:443 max_fails=5 fail_timeout=60s;#HighPing 13 | server 104.116.17.119:443 max_fails=5 fail_timeout=60s;#HighPing 14 | server 118.215.187.181:443 max_fails=5 fail_timeout=60s; 15 | #server 184.26.241.15:443 max_fails=5 fail_timeout=60s; 16 | server 184.85.112.102:443 max_fails=5 fail_timeout=60s; 17 | server 184.87.103.42:443 max_fails=5 fail_timeout=60s; 18 | server 23.45.56.78:443 max_fails=5 fail_timeout=60s; 19 | server 23.35.228.101:443 max_fails=5 fail_timeout=60s; 20 | server 23.36.106.129:443 max_fails=5 fail_timeout=60s;#HighPing 21 | server 23.36.252.78:443 max_fails=5 fail_timeout=60s;#HighPing 22 | server 23.40.149.119:443 max_fails=5 fail_timeout=60s; 23 | server 23.41.77.6:443 max_fails=5 fail_timeout=60s; 24 | server 23.41.142.46:443 max_fails=5 fail_timeout=60s; 25 | server 23.46.197.62:443 max_fails=5 fail_timeout=60s; 26 | server 23.48.229.101:443 max_fails=5 fail_timeout=60s; 27 | server 23.51.142.168:443 max_fails=5 fail_timeout=60s; 28 | server 23.56.21.158:443 max_fails=5 fail_timeout=60s; 29 | server 23.77.13.219:443 max_fails=5 fail_timeout=60s; 30 | #server 23.77.215.46:443 max_fails=5 fail_timeout=60s; 31 | #server 23.199.225.125:443 max_fails=5 fail_timeout=60s;#HighPing 32 | server 23.200.148.81:443 max_fails=5 fail_timeout=60s; 33 | server 23.200.152.81:443 max_fails=5 fail_timeout=60s; 34 | server 23.208.81.63:443 max_fails=5 fail_timeout=60s; 35 | server 23.211.57.127:443 max_fails=5 fail_timeout=60s; 36 | server 23.215.161.136:443 max_fails=5 fail_timeout=60s; 37 | server 23.219.69.47:443 max_fails=5 fail_timeout=60s; 38 | server 23.219.73.99:443 max_fails=5 fail_timeout=60s; 39 | server 184.50.187.66:443 max_fails=5 fail_timeout=60s; 40 | keepalive 16; 41 | keepalive_time 1h; 42 | keepalive_timeout 120; 43 | keepalive_requests 10000; 44 | } 45 | upstream steam-Full { 46 | #server 23.1.179.144:443; 47 | ip_hash; 48 | server 96.7.99.225:443; 49 | server 104.69.45.52:443; 50 | server 104.69.160.135:443; 51 | server 104.71.154.102:443; 52 | server 104.75.41.21:443; 53 | server 104.76.74.15:443; 54 | server 104.91.87.202:443; 55 | server 104.103.145.69:443; 56 | server 118.215.187.181:443; 57 | server 173.222.146.99:443; 58 | #server 184.26.241.15:443; 59 | server 184.50.187.66:443; 60 | server 184.85.112.102:443; 61 | server 23.36.106.129:443; 62 | server 23.41.77.6:443; 63 | server 23.41.142.46:443; 64 | server 23.51.142.168:443; 65 | server 23.77.13.219:443; 66 | } 67 | 68 | upstream steam-community302 { 69 | server str001.steam302.xyz:443; 70 | server str002.steam302.xyz:443; 71 | server str003.steam302.xyz:443; 72 | } 73 | 74 | # Steam Start 75 | server { 76 | listen 443 ssl http2; 77 | listen [::]:443 ssl http2; 78 | server_name *.steamcommunity.com; 79 | server_name steamcommunity.com; 80 | 81 | include cert.conf; 82 | 83 | location ~* ^.*(discussions|comment|forum).*$ { 84 | #set $rewrite_host "str001.steam302.xyz"; 85 | proxy_pass https://steam-community302; 86 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 87 | proxy_set_header X-Real_IP $remote_addr; 88 | proxy_http_version 1.1; 89 | proxy_set_header Host $http_host; 90 | proxy_set_header User-Agent "${http_user_agent} Googlebot/2.1 (+http://www.google.com/bot.html)"; 91 | proxy_set_header Accept-Encoding ''; 92 | proxy_buffering off; 93 | proxy_ssl_server_name on; 94 | } 95 | 96 | location / { 97 | proxy_pass https://steam-Full/; 98 | 99 | proxy_next_upstream_timeout 60; 100 | include shared-proxy-params-1.conf; 101 | } 102 | } 103 | 104 | server { 105 | listen 443 ssl http2; 106 | listen [::]:443 ssl http2; 107 | #resolver public1.alidns.com valid=300; 108 | server_name store.steampowered.com; 109 | server_name checkout.steampowered.com; 110 | server_name steampowered.com; 111 | 112 | include cert.conf; 113 | access_log off; 114 | error_log logs/SteamCDN-error.log; 115 | 116 | location / { 117 | proxy_pass https://steam-store/; 118 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 119 | proxy_next_upstream_timeout 90; 120 | include shared-proxy-params-1.conf; 121 | #proxy_ssl_name $http_host; 122 | } 123 | } 124 | 125 | server { 126 | listen 443 ssl http2; 127 | listen [::]:443 ssl http2; 128 | server_name api.steampowered.com; 129 | server_name login.steampowered.com; 130 | server_name help.steampowered.com; 131 | 132 | include cert.conf; 133 | access_log off; 134 | error_log logs/SteamCDN-error.log; 135 | 136 | location / { 137 | proxy_pass https://steam-Full/; 138 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 139 | proxy_next_upstream_timeout 90; 140 | include shared-proxy-params-1.conf; 141 | } 142 | } 143 | 144 | server { 145 | listen 443 ssl http2; 146 | listen [::]:443 ssl http2; 147 | server_name community.akamai.steamstatic.com; 148 | #server_name community.cloudflare.steamstatic.com; 149 | #server_name community.steamstatic.com; 150 | 151 | include cert.conf; 152 | 153 | location / { 154 | proxy_pass https://AkamaiCDN; 155 | proxy_http_version 1.1; 156 | proxy_next_upstream_timeout 60; 157 | proxy_connect_timeout 5; 158 | keepalive_timeout 120; 159 | proxy_set_header Connection ""; 160 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 161 | proxy_set_header Host "community.steamstatic.com"; 162 | proxy_set_header User-Agent $http_user_agent; 163 | proxy_set_header Accept-Encoding ''; 164 | proxy_ssl_server_name off; 165 | proxy_ssl_name "community.steamstatic.com"; 166 | proxy_buffering off; 167 | access_log off; 168 | error_log logs/SteamCDN-error.log; 169 | } 170 | } 171 | 172 | server { 173 | listen 443 ssl http2; 174 | listen [::]:443 ssl http2; 175 | server_name community.steamstatic.com; 176 | server_name community.fastly.steamstatic.com; 177 | server_name community.cloudflare.steamstatic.com; 178 | 179 | include cert.conf; 180 | 181 | location / { 182 | proxy_pass https://steam-fastly; 183 | proxy_http_version 1.1; 184 | proxy_next_upstream_timeout 60; 185 | proxy_connect_timeout 5; 186 | keepalive_timeout 120; 187 | proxy_set_header Connection ""; 188 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 189 | proxy_set_header Host "community.fastly.steamstatic.com"; 190 | proxy_set_header User-Agent $http_user_agent; 191 | proxy_set_header Accept-Encoding ''; 192 | proxy_ssl_server_name on; 193 | proxy_ssl_name "community.fastly.steamstatic.com"; 194 | proxy_buffering off; 195 | access_log off; 196 | error_log logs/SteamCDN-error.log; 197 | } 198 | } 199 | 200 | server { 201 | listen 443 ssl http2; 202 | listen [::]:443 ssl http2; 203 | server_name steamuserimages-a.akamaihd.net; 204 | server_name steamcdn-a.akamaihd.net; 205 | server_name steamcommunity-a.akamaihd.net; 206 | 207 | include cert.conf; 208 | 209 | location / { 210 | #set $rewrite_host "${http_host}.edgesuite.net"; 211 | resolver public1.alidns.com valid=300 ipv4=on ipv6=off; 212 | #proxy_pass https://$rewrite_host; 213 | proxy_pass https://AkamaiCDN; 214 | include shared-proxy-params-1.conf; 215 | proxy_ssl_name $http_host; 216 | access_log off; 217 | error_log logs/SteamCDN-error.log; 218 | } 219 | } 220 | 221 | #SteamStatic 国内cdn:白山云eccdnx:st.dl.eccdnx.com 222 | #阿里昆仑雀牛云cdn.queniuqe.com 223 | #Fastly : cdn,media,clan,avatars,video,shared 224 | server { 225 | listen 443 ssl http2; 226 | listen [::]:443 ssl http2; 227 | server_name cdn.cloudflare.steamstatic.com cdn.akamai.steamstatic.com cdn.steamstatic.com cdn.fastly.steamstatic.com; 228 | 229 | include cert.conf; 230 | 231 | location / { 232 | set $rewrite_host "media.st.dl.eccdnx.com"; 233 | include site-steam-cdn..conf; 234 | } 235 | } 236 | 237 | server { 238 | listen 443 ssl http2; 239 | listen [::]:443 ssl http2; 240 | server_name clan.steamstatic.com clan.akamai.steamstatic.com clan.cloudflare.steamstatic.com clan.fastly.steamstatic.com; 241 | 242 | include cert.conf; 243 | 244 | location / { 245 | set $rewrite_host "clan.st.dl.eccdnx.com"; 246 | include site-steam-cdn..conf; 247 | } 248 | } 249 | 250 | server { 251 | listen 443 ssl http2; 252 | listen [::]:443 ssl http2; 253 | server_name avatars.steamstatic.com avatars.akamai.steamstatic.com avatars.cloudflare.steamstatic.com avatars.fastly.steamstatic.com; 254 | 255 | include cert.conf; 256 | 257 | location / { 258 | set $rewrite_host "avatars.st.dl.eccdnx.com"; 259 | include site-steam-cdn..conf; 260 | } 261 | } 262 | 263 | server { 264 | listen 443 ssl http2; 265 | listen [::]:443 ssl http2; 266 | server_name store.steamstatic.com store.akamai.steamstatic.com store.cloudflare.steamstatic.com store.fastly.steamstatic.com; 267 | 268 | include cert.conf; 269 | 270 | location / { 271 | set $rewrite_host "store.st.dl.eccdnx.com"; 272 | include site-steam-cdn..conf; 273 | } 274 | } 275 | 276 | server { 277 | listen 443 ssl http2; 278 | listen [::]:443 ssl http2; 279 | server_name shared.steamstatic.com shared.akamai.steamstatic.com shared.cloudflare.steamstatic.com shared.fastly.steamstatic.com; 280 | 281 | include cert.conf; 282 | 283 | location / { 284 | set $rewrite_host "shared.st.dl.eccdnx.com"; 285 | include site-steam-cdn..conf; 286 | } 287 | } 288 | 289 | server { 290 | listen 443 ssl http2; 291 | listen [::]:443 ssl http2; 292 | server_name video.steamstatic.com video.akamai.steamstatic.com video.cloudflare.steamstatic.com video.fastly.steamstatic.com; 293 | 294 | include cert.conf; 295 | 296 | location / { 297 | set $rewrite_host "video.steamstatic.com.edgesuite.net"; 298 | resolver public1.alidns.com valid=300 ipv4=on ipv6=off; 299 | proxy_pass https://$rewrite_host; 300 | proxy_http_version 1.1; 301 | proxy_connect_timeout 5; 302 | keepalive_timeout 120; 303 | proxy_set_header Connection ""; 304 | proxy_set_header Host "video.steamstatic.com"; 305 | proxy_set_header User-Agent $http_user_agent; 306 | proxy_set_header Accept-Encoding ''; 307 | proxy_buffering off; 308 | proxy_ssl_server_name off; 309 | proxy_ssl_name "video.steamstatic.com"; 310 | access_log off; 311 | error_log logs/SteamCDN-error.log; 312 | } 313 | } 314 | 315 | server { 316 | listen 443 ssl http2; 317 | listen [::]:443 ssl http2; 318 | server_name *.akamai.steamstatic.com; 319 | server_name steambroadcast.akamaized.net broadcast.akamai.steamstatic.com broadcast.cloudflare.steamstatic.com; 320 | 321 | include cert.conf; 322 | 323 | location / { 324 | proxy_pass https://AkamaiCDN; 325 | include shared-proxy-params-1.conf; 326 | access_log off; 327 | error_log logs/SteamCDN-error.log; 328 | } 329 | } 330 | 331 | upstream steam-fastly { 332 | ip_hash; 333 | server 167.82.3.52:443; 334 | server 167.82.23.52:443; 335 | server 167.82.87.52:443; 336 | server 167.82.91.52:443; 337 | server 146.75.115.52:443; 338 | server 146.75.23.52:443; 339 | server 151.101.67.52:443; 340 | server 151.101.79.52:443; 341 | server 151.101.91.52:443; 342 | server 151.101.111.52:443; 343 | server 151.101.131.52:443; 344 | server 151.101.195.52:443; 345 | server 151.101.231.52:443; 346 | server 199.232.211.52:443; 347 | server 199.232.215.52:443; 348 | server 199.232.235.52:443; 349 | } 350 | server { 351 | listen 443 ssl http2; 352 | listen [::]:443 ssl http2; 353 | server_name *.fastly.steamstatic.com; 354 | 355 | include cert.conf; 356 | access_log off; 357 | error_log logs/SteamCDN-error.log; 358 | 359 | location / { 360 | proxy_pass https://steam-fastly/; 361 | proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent; 362 | proxy_next_upstream_timeout 90; 363 | include shared-proxy-params-1.conf; 364 | proxy_ssl_name $http_host; 365 | } 366 | } 367 | # Steam End 368 | -------------------------------------------------------------------------------- /conf/site-wall-haven.conf: -------------------------------------------------------------------------------- 1 | # WallHaven Start 2 | upstream WallHaven-cc { 3 | server 15.235.80.145:443; 4 | } 5 | 6 | server { 7 | listen 443 ssl http2; 8 | listen [::]:443 ssl http2; 9 | server_name wallhaven.cc; 10 | server_name w.wallhaven.cc; 11 | server_name www.wallhaven.cc; 12 | server_name th.wallhaven.cc; 13 | server_name static.wallhaven.cc; 14 | server_name alpha.wallhaven.cc; 15 | 16 | include cert.conf; 17 | client_max_body_size 50M; 18 | 19 | location / { 20 | proxy_max_temp_file_size 0; 21 | proxy_pass https://15.235.80.145/; 22 | proxy_buffer_size 64k; 23 | proxy_buffers 32 64k; 24 | proxy_busy_buffers_size 128k; 25 | #proxy_set_header X-Host $host; 26 | #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 27 | #proxy_set_header X-Real_IP $remote_addr; 28 | include shared-proxy-params-1.conf; 29 | } 30 | } 31 | # WallHaven End -------------------------------------------------------------------------------- /conf/uwsgi_params: -------------------------------------------------------------------------------- 1 | 2 | uwsgi_param QUERY_STRING $query_string; 3 | uwsgi_param REQUEST_METHOD $request_method; 4 | uwsgi_param CONTENT_TYPE $content_type; 5 | uwsgi_param CONTENT_LENGTH $content_length; 6 | 7 | uwsgi_param REQUEST_URI $request_uri; 8 | uwsgi_param PATH_INFO $document_uri; 9 | uwsgi_param DOCUMENT_ROOT $document_root; 10 | uwsgi_param SERVER_PROTOCOL $server_protocol; 11 | uwsgi_param REQUEST_SCHEME $scheme; 12 | uwsgi_param HTTPS $https if_not_empty; 13 | 14 | uwsgi_param REMOTE_ADDR $remote_addr; 15 | uwsgi_param REMOTE_PORT $remote_port; 16 | uwsgi_param SERVER_PORT $server_port; 17 | uwsgi_param SERVER_NAME $server_name; 18 | -------------------------------------------------------------------------------- /conf/win-utf: -------------------------------------------------------------------------------- 1 | 2 | # This map is not a full windows-1251 <> utf8 map: it does not 3 | # contain Serbian and Macedonian letters. If you need a full map, 4 | # use contrib/unicode2nginx/win-utf map instead. 5 | 6 | charset_map windows-1251 utf-8 { 7 | 8 | 82 E2809A ; # single low-9 quotation mark 9 | 10 | 84 E2809E ; # double low-9 quotation mark 11 | 85 E280A6 ; # ellipsis 12 | 86 E280A0 ; # dagger 13 | 87 E280A1 ; # double dagger 14 | 88 E282AC ; # euro 15 | 89 E280B0 ; # per mille 16 | 17 | 91 E28098 ; # left single quotation mark 18 | 92 E28099 ; # right single quotation mark 19 | 93 E2809C ; # left double quotation mark 20 | 94 E2809D ; # right double quotation mark 21 | 95 E280A2 ; # bullet 22 | 96 E28093 ; # en dash 23 | 97 E28094 ; # em dash 24 | 25 | 99 E284A2 ; # trade mark sign 26 | 27 | A0 C2A0 ; #   28 | A1 D18E ; # capital Byelorussian short U 29 | A2 D19E ; # small Byelorussian short u 30 | 31 | A4 C2A4 ; # currency sign 32 | A5 D290 ; # capital Ukrainian soft G 33 | A6 C2A6 ; # borken bar 34 | A7 C2A7 ; # section sign 35 | A8 D081 ; # capital YO 36 | A9 C2A9 ; # (C) 37 | AA D084 ; # capital Ukrainian YE 38 | AB C2AB ; # left-pointing double angle quotation mark 39 | AC C2AC ; # not sign 40 | AD C2AD ; # soft hypen 41 | AE C2AE ; # (R) 42 | AF D087 ; # capital Ukrainian YI 43 | 44 | B0 C2B0 ; # ° 45 | B1 C2B1 ; # plus-minus sign 46 | B2 D086 ; # capital Ukrainian I 47 | B3 D196 ; # small Ukrainian i 48 | B4 D291 ; # small Ukrainian soft g 49 | B5 C2B5 ; # micro sign 50 | B6 C2B6 ; # pilcrow sign 51 | B7 C2B7 ; # · 52 | B8 D191 ; # small yo 53 | B9 E28496 ; # numero sign 54 | BA D194 ; # small Ukrainian ye 55 | BB C2BB ; # right-pointing double angle quotation mark 56 | 57 | BF D197 ; # small Ukrainian yi 58 | 59 | C0 D090 ; # capital A 60 | C1 D091 ; # capital B 61 | C2 D092 ; # capital V 62 | C3 D093 ; # capital G 63 | C4 D094 ; # capital D 64 | C5 D095 ; # capital YE 65 | C6 D096 ; # capital ZH 66 | C7 D097 ; # capital Z 67 | C8 D098 ; # capital I 68 | C9 D099 ; # capital J 69 | CA D09A ; # capital K 70 | CB D09B ; # capital L 71 | CC D09C ; # capital M 72 | CD D09D ; # capital N 73 | CE D09E ; # capital O 74 | CF D09F ; # capital P 75 | 76 | D0 D0A0 ; # capital R 77 | D1 D0A1 ; # capital S 78 | D2 D0A2 ; # capital T 79 | D3 D0A3 ; # capital U 80 | D4 D0A4 ; # capital F 81 | D5 D0A5 ; # capital KH 82 | D6 D0A6 ; # capital TS 83 | D7 D0A7 ; # capital CH 84 | D8 D0A8 ; # capital SH 85 | D9 D0A9 ; # capital SHCH 86 | DA D0AA ; # capital hard sign 87 | DB D0AB ; # capital Y 88 | DC D0AC ; # capital soft sign 89 | DD D0AD ; # capital E 90 | DE D0AE ; # capital YU 91 | DF D0AF ; # capital YA 92 | 93 | E0 D0B0 ; # small a 94 | E1 D0B1 ; # small b 95 | E2 D0B2 ; # small v 96 | E3 D0B3 ; # small g 97 | E4 D0B4 ; # small d 98 | E5 D0B5 ; # small ye 99 | E6 D0B6 ; # small zh 100 | E7 D0B7 ; # small z 101 | E8 D0B8 ; # small i 102 | E9 D0B9 ; # small j 103 | EA D0BA ; # small k 104 | EB D0BB ; # small l 105 | EC D0BC ; # small m 106 | ED D0BD ; # small n 107 | EE D0BE ; # small o 108 | EF D0BF ; # small p 109 | 110 | F0 D180 ; # small r 111 | F1 D181 ; # small s 112 | F2 D182 ; # small t 113 | F3 D183 ; # small u 114 | F4 D184 ; # small f 115 | F5 D185 ; # small kh 116 | F6 D186 ; # small ts 117 | F7 D187 ; # small ch 118 | F8 D188 ; # small sh 119 | F9 D189 ; # small shch 120 | FA D18A ; # small hard sign 121 | FB D18B ; # small y 122 | FC D18C ; # small soft sign 123 | FD D18D ; # small e 124 | FE D18E ; # small yu 125 | FF D18F ; # small ya 126 | } 127 | -------------------------------------------------------------------------------- /contrib/README: -------------------------------------------------------------------------------- 1 | 2 | geo2nginx.pl by Andrei Nigmatulin 3 | 4 | The perl script to convert CSV geoip database ( free download 5 | at http://www.maxmind.com/app/geoip_country ) to format, suitable 6 | for use by the ngx_http_geo_module. 7 | 8 | 9 | unicode2nginx by Maxim Dounin 10 | 11 | The perl script to convert unicode mappings ( available 12 | at http://www.unicode.org/Public/MAPPINGS/ ) to the nginx 13 | configuration file format. 14 | Two generated full maps for windows-1251 and koi8-r. 15 | 16 | 17 | vim by Evan Miller 18 | 19 | Syntax highlighting of nginx configuration for vim, to be 20 | placed into ~/.vim/. 21 | 22 | -------------------------------------------------------------------------------- /contrib/geo2nginx.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | 3 | # (c) Andrei Nigmatulin, 2005 4 | # 5 | # this script provided "as is", without any warranties. use it at your own risk. 6 | # 7 | # special thanx to Andrew Sitnikov for perl port 8 | # 9 | # this script converts CSV geoip database (free download at http://www.maxmind.com/app/geoip_country) 10 | # to format, suitable for use with nginx_http_geo module (http://sysoev.ru/nginx) 11 | # 12 | # for example, line with ip range 13 | # 14 | # "62.16.68.0","62.16.127.255","1041253376","1041268735","RU","Russian Federation" 15 | # 16 | # will be converted to four subnetworks: 17 | # 18 | # 62.16.68.0/22 RU; 19 | # 62.16.72.0/21 RU; 20 | # 62.16.80.0/20 RU; 21 | # 62.16.96.0/19 RU; 22 | 23 | 24 | use warnings; 25 | use strict; 26 | 27 | while( ){ 28 | if (/"[^"]+","[^"]+","([^"]+)","([^"]+)","([^"]+)"/){ 29 | print_subnets($1, $2, $3); 30 | } 31 | } 32 | 33 | sub print_subnets { 34 | my ($a1, $a2, $c) = @_; 35 | my $l; 36 | while ($a1 <= $a2) { 37 | for ($l = 0; ($a1 & (1 << $l)) == 0 && ($a1 + ((1 << ($l + 1)) - 1)) <= $a2; $l++){}; 38 | print long2ip($a1) . "/" . (32 - $l) . " " . $c . ";\n"; 39 | $a1 += (1 << $l); 40 | } 41 | } 42 | 43 | sub long2ip { 44 | my $ip = shift; 45 | 46 | my $str = 0; 47 | 48 | $str = ($ip & 255); 49 | 50 | $ip >>= 8; 51 | $str = ($ip & 255).".$str"; 52 | 53 | $ip >>= 8; 54 | $str = ($ip & 255).".$str"; 55 | 56 | $ip >>= 8; 57 | $str = ($ip & 255).".$str"; 58 | } 59 | -------------------------------------------------------------------------------- /contrib/unicode2nginx/koi-utf: -------------------------------------------------------------------------------- 1 | charset_map koi8-r utf-8 { 2 | 3 | 80 E29480 ; # BOX DRAWINGS LIGHT HORIZONTAL 4 | 81 E29482 ; # BOX DRAWINGS LIGHT VERTICAL 5 | 82 E2948C ; # BOX DRAWINGS LIGHT DOWN AND RIGHT 6 | 83 E29490 ; # BOX DRAWINGS LIGHT DOWN AND LEFT 7 | 84 E29494 ; # BOX DRAWINGS LIGHT UP AND RIGHT 8 | 85 E29498 ; # BOX DRAWINGS LIGHT UP AND LEFT 9 | 86 E2949C ; # BOX DRAWINGS LIGHT VERTICAL AND RIGHT 10 | 87 E294A4 ; # BOX DRAWINGS LIGHT VERTICAL AND LEFT 11 | 88 E294AC ; # BOX DRAWINGS LIGHT DOWN AND HORIZONTAL 12 | 89 E294B4 ; # BOX DRAWINGS LIGHT UP AND HORIZONTAL 13 | 8A E294BC ; # BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL 14 | 8B E29680 ; # UPPER HALF BLOCK 15 | 8C E29684 ; # LOWER HALF BLOCK 16 | 8D E29688 ; # FULL BLOCK 17 | 8E E2968C ; # LEFT HALF BLOCK 18 | 8F E29690 ; # RIGHT HALF BLOCK 19 | 90 E29691 ; # LIGHT SHADE 20 | 91 E29692 ; # MEDIUM SHADE 21 | 92 E29693 ; # DARK SHADE 22 | 93 E28CA0 ; # TOP HALF INTEGRAL 23 | 94 E296A0 ; # BLACK SQUARE 24 | 95 E28899 ; # BULLET OPERATOR 25 | 96 E2889A ; # SQUARE ROOT 26 | 97 E28988 ; # ALMOST EQUAL TO 27 | 98 E289A4 ; # LESS-THAN OR EQUAL TO 28 | 99 E289A5 ; # GREATER-THAN OR EQUAL TO 29 | 9A C2A0 ; # NO-BREAK SPACE 30 | 9B E28CA1 ; # BOTTOM HALF INTEGRAL 31 | 9C C2B0 ; # DEGREE SIGN 32 | 9D C2B2 ; # SUPERSCRIPT TWO 33 | 9E C2B7 ; # MIDDLE DOT 34 | 9F C3B7 ; # DIVISION SIGN 35 | A0 E29590 ; # BOX DRAWINGS DOUBLE HORIZONTAL 36 | A1 E29591 ; # BOX DRAWINGS DOUBLE VERTICAL 37 | A2 E29592 ; # BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE 38 | A3 D191 ; # CYRILLIC SMALL LETTER IO 39 | A4 E29593 ; # BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE 40 | A5 E29594 ; # BOX DRAWINGS DOUBLE DOWN AND RIGHT 41 | A6 E29595 ; # BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE 42 | A7 E29596 ; # BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE 43 | A8 E29597 ; # BOX DRAWINGS DOUBLE DOWN AND LEFT 44 | A9 E29598 ; # BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE 45 | AA E29599 ; # BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE 46 | AB E2959A ; # BOX DRAWINGS DOUBLE UP AND RIGHT 47 | AC E2959B ; # BOX DRAWINGS UP SINGLE AND LEFT DOUBLE 48 | AD E2959C ; # BOX DRAWINGS UP DOUBLE AND LEFT SINGLE 49 | AE E2959D ; # BOX DRAWINGS DOUBLE UP AND LEFT 50 | AF E2959E ; # BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE 51 | B0 E2959F ; # BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE 52 | B1 E295A0 ; # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT 53 | B2 E295A1 ; # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE 54 | B3 D081 ; # CYRILLIC CAPITAL LETTER IO 55 | B4 E295A2 ; # BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE 56 | B5 E295A3 ; # BOX DRAWINGS DOUBLE VERTICAL AND LEFT 57 | B6 E295A4 ; # BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE 58 | B7 E295A5 ; # BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE 59 | B8 E295A6 ; # BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL 60 | B9 E295A7 ; # BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE 61 | BA E295A8 ; # BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE 62 | BB E295A9 ; # BOX DRAWINGS DOUBLE UP AND HORIZONTAL 63 | BC E295AA ; # BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE 64 | BD E295AB ; # BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE 65 | BE E295AC ; # BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL 66 | BF C2A9 ; # COPYRIGHT SIGN 67 | C0 D18E ; # CYRILLIC SMALL LETTER YU 68 | C1 D0B0 ; # CYRILLIC SMALL LETTER A 69 | C2 D0B1 ; # CYRILLIC SMALL LETTER BE 70 | C3 D186 ; # CYRILLIC SMALL LETTER TSE 71 | C4 D0B4 ; # CYRILLIC SMALL LETTER DE 72 | C5 D0B5 ; # CYRILLIC SMALL LETTER IE 73 | C6 D184 ; # CYRILLIC SMALL LETTER EF 74 | C7 D0B3 ; # CYRILLIC SMALL LETTER GHE 75 | C8 D185 ; # CYRILLIC SMALL LETTER HA 76 | C9 D0B8 ; # CYRILLIC SMALL LETTER I 77 | CA D0B9 ; # CYRILLIC SMALL LETTER SHORT I 78 | CB D0BA ; # CYRILLIC SMALL LETTER KA 79 | CC D0BB ; # CYRILLIC SMALL LETTER EL 80 | CD D0BC ; # CYRILLIC SMALL LETTER EM 81 | CE D0BD ; # CYRILLIC SMALL LETTER EN 82 | CF D0BE ; # CYRILLIC SMALL LETTER O 83 | D0 D0BF ; # CYRILLIC SMALL LETTER PE 84 | D1 D18F ; # CYRILLIC SMALL LETTER YA 85 | D2 D180 ; # CYRILLIC SMALL LETTER ER 86 | D3 D181 ; # CYRILLIC SMALL LETTER ES 87 | D4 D182 ; # CYRILLIC SMALL LETTER TE 88 | D5 D183 ; # CYRILLIC SMALL LETTER U 89 | D6 D0B6 ; # CYRILLIC SMALL LETTER ZHE 90 | D7 D0B2 ; # CYRILLIC SMALL LETTER VE 91 | D8 D18C ; # CYRILLIC SMALL LETTER SOFT SIGN 92 | D9 D18B ; # CYRILLIC SMALL LETTER YERU 93 | DA D0B7 ; # CYRILLIC SMALL LETTER ZE 94 | DB D188 ; # CYRILLIC SMALL LETTER SHA 95 | DC D18D ; # CYRILLIC SMALL LETTER E 96 | DD D189 ; # CYRILLIC SMALL LETTER SHCHA 97 | DE D187 ; # CYRILLIC SMALL LETTER CHE 98 | DF D18A ; # CYRILLIC SMALL LETTER HARD SIGN 99 | E0 D0AE ; # CYRILLIC CAPITAL LETTER YU 100 | E1 D090 ; # CYRILLIC CAPITAL LETTER A 101 | E2 D091 ; # CYRILLIC CAPITAL LETTER BE 102 | E3 D0A6 ; # CYRILLIC CAPITAL LETTER TSE 103 | E4 D094 ; # CYRILLIC CAPITAL LETTER DE 104 | E5 D095 ; # CYRILLIC CAPITAL LETTER IE 105 | E6 D0A4 ; # CYRILLIC CAPITAL LETTER EF 106 | E7 D093 ; # CYRILLIC CAPITAL LETTER GHE 107 | E8 D0A5 ; # CYRILLIC CAPITAL LETTER HA 108 | E9 D098 ; # CYRILLIC CAPITAL LETTER I 109 | EA D099 ; # CYRILLIC CAPITAL LETTER SHORT I 110 | EB D09A ; # CYRILLIC CAPITAL LETTER KA 111 | EC D09B ; # CYRILLIC CAPITAL LETTER EL 112 | ED D09C ; # CYRILLIC CAPITAL LETTER EM 113 | EE D09D ; # CYRILLIC CAPITAL LETTER EN 114 | EF D09E ; # CYRILLIC CAPITAL LETTER O 115 | F0 D09F ; # CYRILLIC CAPITAL LETTER PE 116 | F1 D0AF ; # CYRILLIC CAPITAL LETTER YA 117 | F2 D0A0 ; # CYRILLIC CAPITAL LETTER ER 118 | F3 D0A1 ; # CYRILLIC CAPITAL LETTER ES 119 | F4 D0A2 ; # CYRILLIC CAPITAL LETTER TE 120 | F5 D0A3 ; # CYRILLIC CAPITAL LETTER U 121 | F6 D096 ; # CYRILLIC CAPITAL LETTER ZHE 122 | F7 D092 ; # CYRILLIC CAPITAL LETTER VE 123 | F8 D0AC ; # CYRILLIC CAPITAL LETTER SOFT SIGN 124 | F9 D0AB ; # CYRILLIC CAPITAL LETTER YERU 125 | FA D097 ; # CYRILLIC CAPITAL LETTER ZE 126 | FB D0A8 ; # CYRILLIC CAPITAL LETTER SHA 127 | FC D0AD ; # CYRILLIC CAPITAL LETTER E 128 | FD D0A9 ; # CYRILLIC CAPITAL LETTER SHCHA 129 | FE D0A7 ; # CYRILLIC CAPITAL LETTER CHE 130 | FF D0AA ; # CYRILLIC CAPITAL LETTER HARD SIGN 131 | } 132 | -------------------------------------------------------------------------------- /contrib/unicode2nginx/unicode-to-nginx.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | 3 | # Convert unicode mappings to nginx configuration file format. 4 | 5 | # You may find useful mappings in various places, including 6 | # unicode.org official site: 7 | # 8 | # http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1251.TXT 9 | # http://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT 10 | 11 | # Needs perl 5.6 or later. 12 | 13 | # Written by Maxim Dounin, mdounin@mdounin.ru 14 | 15 | ############################################################################### 16 | 17 | require 5.006; 18 | 19 | while (<>) { 20 | # Skip comments and empty lines 21 | 22 | next if /^#/; 23 | next if /^\s*$/; 24 | chomp; 25 | 26 | # Convert mappings 27 | 28 | if (/^\s*0x(..)\s*0x(....)\s*(#.*)/) { 29 | # Mapping "#" 30 | my $cs_code = $1; 31 | my $un_code = $2; 32 | my $un_name = $3; 33 | 34 | # Produce UTF-8 sequence from character code; 35 | 36 | my $un_utf8 = join('', 37 | map { sprintf("%02X", $_) } 38 | unpack("U0C*", pack("U", hex($un_code))) 39 | ); 40 | 41 | print " $cs_code $un_utf8 ; $un_name\n"; 42 | 43 | } else { 44 | warn "Unrecognized line: '$_'"; 45 | } 46 | } 47 | 48 | ############################################################################### 49 | -------------------------------------------------------------------------------- /contrib/unicode2nginx/win-utf: -------------------------------------------------------------------------------- 1 | charset_map windows-1251 utf-8 { 2 | 3 | 80 D082 ; #CYRILLIC CAPITAL LETTER DJE 4 | 81 D083 ; #CYRILLIC CAPITAL LETTER GJE 5 | 82 E2809A ; #SINGLE LOW-9 QUOTATION MARK 6 | 83 D193 ; #CYRILLIC SMALL LETTER GJE 7 | 84 E2809E ; #DOUBLE LOW-9 QUOTATION MARK 8 | 85 E280A6 ; #HORIZONTAL ELLIPSIS 9 | 86 E280A0 ; #DAGGER 10 | 87 E280A1 ; #DOUBLE DAGGER 11 | 88 E282AC ; #EURO SIGN 12 | 89 E280B0 ; #PER MILLE SIGN 13 | 8A D089 ; #CYRILLIC CAPITAL LETTER LJE 14 | 8B E280B9 ; #SINGLE LEFT-POINTING ANGLE QUOTATION MARK 15 | 8C D08A ; #CYRILLIC CAPITAL LETTER NJE 16 | 8D D08C ; #CYRILLIC CAPITAL LETTER KJE 17 | 8E D08B ; #CYRILLIC CAPITAL LETTER TSHE 18 | 8F D08F ; #CYRILLIC CAPITAL LETTER DZHE 19 | 90 D192 ; #CYRILLIC SMALL LETTER DJE 20 | 91 E28098 ; #LEFT SINGLE QUOTATION MARK 21 | 92 E28099 ; #RIGHT SINGLE QUOTATION MARK 22 | 93 E2809C ; #LEFT DOUBLE QUOTATION MARK 23 | 94 E2809D ; #RIGHT DOUBLE QUOTATION MARK 24 | 95 E280A2 ; #BULLET 25 | 96 E28093 ; #EN DASH 26 | 97 E28094 ; #EM DASH 27 | 99 E284A2 ; #TRADE MARK SIGN 28 | 9A D199 ; #CYRILLIC SMALL LETTER LJE 29 | 9B E280BA ; #SINGLE RIGHT-POINTING ANGLE QUOTATION MARK 30 | 9C D19A ; #CYRILLIC SMALL LETTER NJE 31 | 9D D19C ; #CYRILLIC SMALL LETTER KJE 32 | 9E D19B ; #CYRILLIC SMALL LETTER TSHE 33 | 9F D19F ; #CYRILLIC SMALL LETTER DZHE 34 | A0 C2A0 ; #NO-BREAK SPACE 35 | A1 D08E ; #CYRILLIC CAPITAL LETTER SHORT U 36 | A2 D19E ; #CYRILLIC SMALL LETTER SHORT U 37 | A3 D088 ; #CYRILLIC CAPITAL LETTER JE 38 | A4 C2A4 ; #CURRENCY SIGN 39 | A5 D290 ; #CYRILLIC CAPITAL LETTER GHE WITH UPTURN 40 | A6 C2A6 ; #BROKEN BAR 41 | A7 C2A7 ; #SECTION SIGN 42 | A8 D081 ; #CYRILLIC CAPITAL LETTER IO 43 | A9 C2A9 ; #COPYRIGHT SIGN 44 | AA D084 ; #CYRILLIC CAPITAL LETTER UKRAINIAN IE 45 | AB C2AB ; #LEFT-POINTING DOUBLE ANGLE QUOTATION MARK 46 | AC C2AC ; #NOT SIGN 47 | AD C2AD ; #SOFT HYPHEN 48 | AE C2AE ; #REGISTERED SIGN 49 | AF D087 ; #CYRILLIC CAPITAL LETTER YI 50 | B0 C2B0 ; #DEGREE SIGN 51 | B1 C2B1 ; #PLUS-MINUS SIGN 52 | B2 D086 ; #CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I 53 | B3 D196 ; #CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I 54 | B4 D291 ; #CYRILLIC SMALL LETTER GHE WITH UPTURN 55 | B5 C2B5 ; #MICRO SIGN 56 | B6 C2B6 ; #PILCROW SIGN 57 | B7 C2B7 ; #MIDDLE DOT 58 | B8 D191 ; #CYRILLIC SMALL LETTER IO 59 | B9 E28496 ; #NUMERO SIGN 60 | BA D194 ; #CYRILLIC SMALL LETTER UKRAINIAN IE 61 | BB C2BB ; #RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK 62 | BC D198 ; #CYRILLIC SMALL LETTER JE 63 | BD D085 ; #CYRILLIC CAPITAL LETTER DZE 64 | BE D195 ; #CYRILLIC SMALL LETTER DZE 65 | BF D197 ; #CYRILLIC SMALL LETTER YI 66 | C0 D090 ; #CYRILLIC CAPITAL LETTER A 67 | C1 D091 ; #CYRILLIC CAPITAL LETTER BE 68 | C2 D092 ; #CYRILLIC CAPITAL LETTER VE 69 | C3 D093 ; #CYRILLIC CAPITAL LETTER GHE 70 | C4 D094 ; #CYRILLIC CAPITAL LETTER DE 71 | C5 D095 ; #CYRILLIC CAPITAL LETTER IE 72 | C6 D096 ; #CYRILLIC CAPITAL LETTER ZHE 73 | C7 D097 ; #CYRILLIC CAPITAL LETTER ZE 74 | C8 D098 ; #CYRILLIC CAPITAL LETTER I 75 | C9 D099 ; #CYRILLIC CAPITAL LETTER SHORT I 76 | CA D09A ; #CYRILLIC CAPITAL LETTER KA 77 | CB D09B ; #CYRILLIC CAPITAL LETTER EL 78 | CC D09C ; #CYRILLIC CAPITAL LETTER EM 79 | CD D09D ; #CYRILLIC CAPITAL LETTER EN 80 | CE D09E ; #CYRILLIC CAPITAL LETTER O 81 | CF D09F ; #CYRILLIC CAPITAL LETTER PE 82 | D0 D0A0 ; #CYRILLIC CAPITAL LETTER ER 83 | D1 D0A1 ; #CYRILLIC CAPITAL LETTER ES 84 | D2 D0A2 ; #CYRILLIC CAPITAL LETTER TE 85 | D3 D0A3 ; #CYRILLIC CAPITAL LETTER U 86 | D4 D0A4 ; #CYRILLIC CAPITAL LETTER EF 87 | D5 D0A5 ; #CYRILLIC CAPITAL LETTER HA 88 | D6 D0A6 ; #CYRILLIC CAPITAL LETTER TSE 89 | D7 D0A7 ; #CYRILLIC CAPITAL LETTER CHE 90 | D8 D0A8 ; #CYRILLIC CAPITAL LETTER SHA 91 | D9 D0A9 ; #CYRILLIC CAPITAL LETTER SHCHA 92 | DA D0AA ; #CYRILLIC CAPITAL LETTER HARD SIGN 93 | DB D0AB ; #CYRILLIC CAPITAL LETTER YERU 94 | DC D0AC ; #CYRILLIC CAPITAL LETTER SOFT SIGN 95 | DD D0AD ; #CYRILLIC CAPITAL LETTER E 96 | DE D0AE ; #CYRILLIC CAPITAL LETTER YU 97 | DF D0AF ; #CYRILLIC CAPITAL LETTER YA 98 | E0 D0B0 ; #CYRILLIC SMALL LETTER A 99 | E1 D0B1 ; #CYRILLIC SMALL LETTER BE 100 | E2 D0B2 ; #CYRILLIC SMALL LETTER VE 101 | E3 D0B3 ; #CYRILLIC SMALL LETTER GHE 102 | E4 D0B4 ; #CYRILLIC SMALL LETTER DE 103 | E5 D0B5 ; #CYRILLIC SMALL LETTER IE 104 | E6 D0B6 ; #CYRILLIC SMALL LETTER ZHE 105 | E7 D0B7 ; #CYRILLIC SMALL LETTER ZE 106 | E8 D0B8 ; #CYRILLIC SMALL LETTER I 107 | E9 D0B9 ; #CYRILLIC SMALL LETTER SHORT I 108 | EA D0BA ; #CYRILLIC SMALL LETTER KA 109 | EB D0BB ; #CYRILLIC SMALL LETTER EL 110 | EC D0BC ; #CYRILLIC SMALL LETTER EM 111 | ED D0BD ; #CYRILLIC SMALL LETTER EN 112 | EE D0BE ; #CYRILLIC SMALL LETTER O 113 | EF D0BF ; #CYRILLIC SMALL LETTER PE 114 | F0 D180 ; #CYRILLIC SMALL LETTER ER 115 | F1 D181 ; #CYRILLIC SMALL LETTER ES 116 | F2 D182 ; #CYRILLIC SMALL LETTER TE 117 | F3 D183 ; #CYRILLIC SMALL LETTER U 118 | F4 D184 ; #CYRILLIC SMALL LETTER EF 119 | F5 D185 ; #CYRILLIC SMALL LETTER HA 120 | F6 D186 ; #CYRILLIC SMALL LETTER TSE 121 | F7 D187 ; #CYRILLIC SMALL LETTER CHE 122 | F8 D188 ; #CYRILLIC SMALL LETTER SHA 123 | F9 D189 ; #CYRILLIC SMALL LETTER SHCHA 124 | FA D18A ; #CYRILLIC SMALL LETTER HARD SIGN 125 | FB D18B ; #CYRILLIC SMALL LETTER YERU 126 | FC D18C ; #CYRILLIC SMALL LETTER SOFT SIGN 127 | FD D18D ; #CYRILLIC SMALL LETTER E 128 | FE D18E ; #CYRILLIC SMALL LETTER YU 129 | FF D18F ; #CYRILLIC SMALL LETTER YA 130 | } 131 | -------------------------------------------------------------------------------- /contrib/vim/ftdetect/nginx.vim: -------------------------------------------------------------------------------- 1 | au BufRead,BufNewFile *.nginx set ft=nginx 2 | au BufRead,BufNewFile */etc/nginx/* set ft=nginx 3 | au BufRead,BufNewFile */usr/local/nginx/conf/* set ft=nginx 4 | au BufRead,BufNewFile nginx.conf set ft=nginx 5 | -------------------------------------------------------------------------------- /contrib/vim/ftplugin/nginx.vim: -------------------------------------------------------------------------------- 1 | setlocal commentstring=#\ %s 2 | -------------------------------------------------------------------------------- /contrib/vim/indent/nginx.vim: -------------------------------------------------------------------------------- 1 | if exists("b:did_indent") 2 | finish 3 | endif 4 | let b:did_indent = 1 5 | 6 | setlocal indentexpr= 7 | 8 | " cindent actually works for nginx' simple file structure 9 | setlocal cindent 10 | " Just make sure that the comments are not reset as defs would be. 11 | setlocal cinkeys-=0# 12 | -------------------------------------------------------------------------------- /docs/LICENSE: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2002-2019 Igor Sysoev 3 | * Copyright (C) 2011-2019 Nginx, Inc. 4 | * All rights reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 1. Redistributions of source code must retain the above copyright 10 | * notice, this list of conditions and the following disclaimer. 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in the 13 | * documentation and/or other materials provided with the distribution. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 | * SUCH DAMAGE. 26 | */ 27 | -------------------------------------------------------------------------------- /docs/OpenSSL.LICENSE: -------------------------------------------------------------------------------- 1 | 2 | LICENSE ISSUES 3 | ============== 4 | 5 | The OpenSSL toolkit stays under a double license, i.e. both the conditions of 6 | the OpenSSL License and the original SSLeay license apply to the toolkit. 7 | See below for the actual license texts. 8 | 9 | OpenSSL License 10 | --------------- 11 | 12 | /* ==================================================================== 13 | * Copyright (c) 1998-2019 The OpenSSL Project. All rights reserved. 14 | * 15 | * Redistribution and use in source and binary forms, with or without 16 | * modification, are permitted provided that the following conditions 17 | * are met: 18 | * 19 | * 1. Redistributions of source code must retain the above copyright 20 | * notice, this list of conditions and the following disclaimer. 21 | * 22 | * 2. Redistributions in binary form must reproduce the above copyright 23 | * notice, this list of conditions and the following disclaimer in 24 | * the documentation and/or other materials provided with the 25 | * distribution. 26 | * 27 | * 3. All advertising materials mentioning features or use of this 28 | * software must display the following acknowledgment: 29 | * "This product includes software developed by the OpenSSL Project 30 | * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 31 | * 32 | * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to 33 | * endorse or promote products derived from this software without 34 | * prior written permission. For written permission, please contact 35 | * openssl-core@openssl.org. 36 | * 37 | * 5. Products derived from this software may not be called "OpenSSL" 38 | * nor may "OpenSSL" appear in their names without prior written 39 | * permission of the OpenSSL Project. 40 | * 41 | * 6. Redistributions of any form whatsoever must retain the following 42 | * acknowledgment: 43 | * "This product includes software developed by the OpenSSL Project 44 | * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 45 | * 46 | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY 47 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 48 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 49 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 50 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 51 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 52 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 53 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 54 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 55 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 56 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 57 | * OF THE POSSIBILITY OF SUCH DAMAGE. 58 | * ==================================================================== 59 | * 60 | * This product includes cryptographic software written by Eric Young 61 | * (eay@cryptsoft.com). This product includes software written by Tim 62 | * Hudson (tjh@cryptsoft.com). 63 | * 64 | */ 65 | 66 | Original SSLeay License 67 | ----------------------- 68 | 69 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 70 | * All rights reserved. 71 | * 72 | * This package is an SSL implementation written 73 | * by Eric Young (eay@cryptsoft.com). 74 | * The implementation was written so as to conform with Netscapes SSL. 75 | * 76 | * This library is free for commercial and non-commercial use as long as 77 | * the following conditions are aheared to. The following conditions 78 | * apply to all code found in this distribution, be it the RC4, RSA, 79 | * lhash, DES, etc., code; not just the SSL code. The SSL documentation 80 | * included with this distribution is covered by the same copyright terms 81 | * except that the holder is Tim Hudson (tjh@cryptsoft.com). 82 | * 83 | * Copyright remains Eric Young's, and as such any Copyright notices in 84 | * the code are not to be removed. 85 | * If this package is used in a product, Eric Young should be given attribution 86 | * as the author of the parts of the library used. 87 | * This can be in the form of a textual message at program startup or 88 | * in documentation (online or textual) provided with the package. 89 | * 90 | * Redistribution and use in source and binary forms, with or without 91 | * modification, are permitted provided that the following conditions 92 | * are met: 93 | * 1. Redistributions of source code must retain the copyright 94 | * notice, this list of conditions and the following disclaimer. 95 | * 2. Redistributions in binary form must reproduce the above copyright 96 | * notice, this list of conditions and the following disclaimer in the 97 | * documentation and/or other materials provided with the distribution. 98 | * 3. All advertising materials mentioning features or use of this software 99 | * must display the following acknowledgement: 100 | * "This product includes cryptographic software written by 101 | * Eric Young (eay@cryptsoft.com)" 102 | * The word 'cryptographic' can be left out if the rouines from the library 103 | * being used are not cryptographic related :-). 104 | * 4. If you include any Windows specific code (or a derivative thereof) from 105 | * the apps directory (application code) you must include an acknowledgement: 106 | * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" 107 | * 108 | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 109 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 110 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 111 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 112 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 113 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 114 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 115 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 116 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 117 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 118 | * SUCH DAMAGE. 119 | * 120 | * The licence and distribution terms for any publically available version or 121 | * derivative of this code cannot be changed. i.e. this code cannot simply be 122 | * copied and put under another distribution licence 123 | * [including the GNU Public Licence.] 124 | */ 125 | 126 | -------------------------------------------------------------------------------- /docs/PCRE.LICENCE: -------------------------------------------------------------------------------- 1 | PCRE LICENCE 2 | ------------ 3 | 4 | PCRE is a library of functions to support regular expressions whose syntax 5 | and semantics are as close as possible to those of the Perl 5 language. 6 | 7 | Release 8 of PCRE is distributed under the terms of the "BSD" licence, as 8 | specified below. The documentation for PCRE, supplied in the "doc" 9 | directory, is distributed under the same terms as the software itself. The data 10 | in the testdata directory is not copyrighted and is in the public domain. 11 | 12 | The basic library functions are written in C and are freestanding. Also 13 | included in the distribution is a set of C++ wrapper functions, and a 14 | just-in-time compiler that can be used to optimize pattern matching. These 15 | are both optional features that can be omitted when the library is built. 16 | 17 | 18 | THE BASIC LIBRARY FUNCTIONS 19 | --------------------------- 20 | 21 | Written by: Philip Hazel 22 | Email local part: ph10 23 | Email domain: cam.ac.uk 24 | 25 | University of Cambridge Computing Service, 26 | Cambridge, England. 27 | 28 | Copyright (c) 1997-2019 University of Cambridge 29 | All rights reserved. 30 | 31 | 32 | PCRE JUST-IN-TIME COMPILATION SUPPORT 33 | ------------------------------------- 34 | 35 | Written by: Zoltan Herczeg 36 | Email local part: hzmester 37 | Email domain: freemail.hu 38 | 39 | Copyright(c) 2010-2019 Zoltan Herczeg 40 | All rights reserved. 41 | 42 | 43 | STACK-LESS JUST-IN-TIME COMPILER 44 | -------------------------------- 45 | 46 | Written by: Zoltan Herczeg 47 | Email local part: hzmester 48 | Email domain: freemail.hu 49 | 50 | Copyright(c) 2009-2019 Zoltan Herczeg 51 | All rights reserved. 52 | 53 | 54 | THE C++ WRAPPER FUNCTIONS 55 | ------------------------- 56 | 57 | Contributed by: Google Inc. 58 | 59 | Copyright (c) 2007-2012, Google Inc. 60 | All rights reserved. 61 | 62 | 63 | THE "BSD" LICENCE 64 | ----------------- 65 | 66 | Redistribution and use in source and binary forms, with or without 67 | modification, are permitted provided that the following conditions are met: 68 | 69 | * Redistributions of source code must retain the above copyright notice, 70 | this list of conditions and the following disclaimer. 71 | 72 | * Redistributions in binary form must reproduce the above copyright 73 | notice, this list of conditions and the following disclaimer in the 74 | documentation and/or other materials provided with the distribution. 75 | 76 | * Neither the name of the University of Cambridge nor the name of Google 77 | Inc. nor the names of their contributors may be used to endorse or 78 | promote products derived from this software without specific prior 79 | written permission. 80 | 81 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 82 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 83 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 84 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 85 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 86 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 87 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 88 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 89 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 90 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 91 | POSSIBILITY OF SUCH DAMAGE. 92 | 93 | End 94 | -------------------------------------------------------------------------------- /docs/README: -------------------------------------------------------------------------------- 1 | 2 | Documentation is available at http://nginx.org 3 | 4 | -------------------------------------------------------------------------------- /docs/zlib.LICENSE: -------------------------------------------------------------------------------- 1 | (C) 1995-2017 Jean-loup Gailly and Mark Adler 2 | 3 | This software is provided 'as-is', without any express or implied 4 | warranty. In no event will the authors be held liable for any damages 5 | arising from the use of this software. 6 | 7 | Permission is granted to anyone to use this software for any purpose, 8 | including commercial applications, and to alter it and redistribute it 9 | freely, subject to the following restrictions: 10 | 11 | 1. The origin of this software must not be misrepresented; you must not 12 | claim that you wrote the original software. If you use this software 13 | in a product, an acknowledgment in the product documentation would be 14 | appreciated but is not required. 15 | 2. Altered source versions must be plainly marked as such, and must not be 16 | misrepresented as being the original software. 17 | 3. This notice may not be removed or altered from any source distribution. 18 | 19 | Jean-loup Gailly Mark Adler 20 | jloup@gzip.org madler@alumni.caltech.edu 21 | -------------------------------------------------------------------------------- /hosts: -------------------------------------------------------------------------------- 1 | # GitHub Host Start 2 | 3 | 185.199.108.154 github.githubassets.com 4 | 140.82.114.21 central.github.com 5 | 185.199.108.153 assets-cdn.github.com 6 | 185.199.109.133 github.map.fastly.net 7 | 199.232.69.194 github.global.ssl.fastly.net 8 | 140.82.112.4 gist.github.com 9 | 185.199.108.153 github.io 10 | #13.114.40.48 GitHub.com 11 | #52.192.72.89 github.com 12 | 20.205.243.166 github.com 13 | 20.27.177.113 github.com 14 | 20.200.245.247 github.com 15 | 127.0.0.1 GitHub.com 16 | #52.69.186.44 github.com 17 | 20.205.243.168 api.github.com 18 | #140.82.113.5 api.github.com 19 | #185.199.110.133 raw.githubusercontent.com 20 | #185.199.109.133 user-images.githubusercontent.com 21 | #185.199.109.133 favicons.githubusercontent.com 22 | #185.199.109.133 avatars5.githubusercontent.com 23 | #185.199.109.133 avatars4.githubusercontent.com 24 | #185.199.109.133 avatars3.githubusercontent.com 25 | #185.199.109.133 avatars2.githubusercontent.com 26 | #185.199.109.133 avatars1.githubusercontent.com 27 | #185.199.109.133 avatars0.githubusercontent.com 28 | #185.199.109.133 avatars.githubusercontent.com 29 | #185.199.109.133 objects.githubusercontent.com 30 | 127.0.0.1 raw.githubusercontent.com 31 | 127.0.0.1 desktop.githubusercontent.com 32 | 127.0.0.1 camo.githubusercontent.com 33 | 127.0.0.1 user-images.githubusercontent.com 34 | 127.0.0.1 favicons.githubusercontent.com 35 | 127.0.0.1 avatars5.githubusercontent.com 36 | 127.0.0.1 avatars4.githubusercontent.com 37 | 127.0.0.1 avatars3.githubusercontent.com 38 | 127.0.0.1 avatars2.githubusercontent.com 39 | 127.0.0.1 avatars1.githubusercontent.com 40 | 127.0.0.1 avatars0.githubusercontent.com 41 | 127.0.0.1 avatars.githubusercontent.com 42 | 127.0.0.1 objects.githubusercontent.com 43 | 127.0.0.1 media.githubusercontent.com 44 | 13.124.75.135 codeload.github.com 45 | #140.82.114.9 codeload.github.com 46 | 52.216.163.11 github-cloud.s3.amazonaws.com 47 | 52.216.163.11 github-com.s3.amazonaws.com 48 | 52.216.163.11 github-production-release-asset-2e65be.s3.amazonaws.com 49 | 52.216.163.11 github-production-user-asset-6210df.s3.amazonaws.com 50 | 52.216.163.11 github-production-repository-file-5c1aeb.s3.amazonaws.com 51 | 185.199.110.153 githubstatus.com 52 | 64.71.144.202 github.community 53 | 54 | # dns : https://github.com/ineo6/hosts 55 | # и £ 56 | # GitHub Host End 57 | 58 | #Pixiv Start 59 | 127.0.0.1 pixiv.net 60 | 127.0.0.1 www.pixiv.net 61 | 127.0.0.1 ssl.pixiv.net 62 | 127.0.0.1 accounts.pixiv.net 63 | 127.0.0.1 touch.pixiv.net 64 | 127.0.0.1 oauth.secure.pixiv.net 65 | 127.0.0.1 dic.pixiv.net 66 | 127.0.0.1 en-dic.pixiv.net 67 | 127.0.0.1 sketch.pixiv.net 68 | 127.0.0.1 payment.pixiv.net 69 | 127.0.0.1 factory.pixiv.net 70 | 127.0.0.1 comic.pixiv.net 71 | 127.0.0.1 novel.pixiv.net 72 | 127.0.0.1 imgaz.pixiv.net 73 | 127.0.0.1 imp.pixiv.net 74 | 127.0.0.1 sensei.pixiv.net 75 | 127.0.0.1 fanbox.pixiv.net 76 | 127.0.0.1 source.pixiv.net 77 | 127.0.0.1 i1.pixiv.net 78 | 127.0.0.1 i2.pixiv.net 79 | 127.0.0.1 i3.pixiv.net 80 | 127.0.0.1 i4.pixiv.net 81 | 127.0.0.1 hls1.pixivsketch.net 82 | 127.0.0.1 hls2.pixivsketch.net 83 | 127.0.0.1 hls3.pixivsketch.net 84 | 127.0.0.1 hls4.pixivsketch.net 85 | 127.0.0.1 hls5.pixivsketch.net 86 | 127.0.0.1 hls6.pixivsketch.net 87 | 127.0.0.1 hls7.pixivsketch.net 88 | 127.0.0.1 hls8.pixivsketch.net 89 | 127.0.0.1 hls9.pixivsketch.net 90 | 127.0.0.1 hls10.pixivsketch.net 91 | 127.0.0.1 hls11.pixivsketch.net 92 | 127.0.0.1 hls12.pixivsketch.net 93 | 127.0.0.1 hls13.pixivsketch.net 94 | 127.0.0.1 hls14.pixivsketch.net 95 | 127.0.0.1 hls15.pixivsketch.net 96 | 127.0.0.1 hls16.pixivsketch.net 97 | 127.0.0.1 hls17.pixivsketch.net 98 | 127.0.0.1 hls18.pixivsketch.net 99 | 127.0.0.1 hls19.pixivsketch.net 100 | 127.0.0.1 hls20.pixivsketch.net 101 | 127.0.0.1 hlsa1.pixivsketch.net 102 | 127.0.0.1 hlsa2.pixivsketch.net 103 | 127.0.0.1 hlsa3.pixivsketch.net 104 | 127.0.0.1 hlsa4.pixivsketch.net 105 | 127.0.0.1 hlsa5.pixivsketch.net 106 | 127.0.0.1 hlsa6.pixivsketch.net 107 | 127.0.0.1 hlsa7.pixivsketch.net 108 | 127.0.0.1 hlsa8.pixivsketch.net 109 | 127.0.0.1 hlsa10.pixivsketch.net 110 | 127.0.0.1 hlsa11.pixivsketch.net 111 | 127.0.0.1 hlsa12.pixivsketch.net 112 | 127.0.0.1 hlsa13.pixivsketch.net 113 | 127.0.0.1 hlsa14.pixivsketch.net 114 | 127.0.0.1 hlsa15.pixivsketch.net 115 | 127.0.0.1 hlsa16.pixivsketch.net 116 | 127.0.0.1 hlsa17.pixivsketch.net 117 | 127.0.0.1 hlsa18.pixivsketch.net 118 | 127.0.0.1 hlsa19.pixivsketch.net 119 | 127.0.0.1 hlsc1.pixivsketch.net 120 | 127.0.0.1 hlsc2.pixivsketch.net 121 | 127.0.0.1 hlsc3.pixivsketch.net 122 | 127.0.0.1 hlsc4.pixivsketch.net 123 | 127.0.0.1 hlsc5.pixivsketch.net 124 | 127.0.0.1 hlsc6.pixivsketch.net 125 | 127.0.0.1 hlse1.pixivsketch.net 126 | 127.0.0.1 hlse2.pixivsketch.net 127 | 127.0.0.1 hlse3.pixivsketch.net 128 | 127.0.0.1 hlse4.pixivsketch.net 129 | 127.0.0.1 hlse5.pixivsketch.net 130 | 127.0.0.1 hlse6.pixivsketch.net 131 | 127.0.0.1 hlse7.pixivsketch.net 132 | 127.0.0.1 hlse8.pixivsketch.net 133 | 127.0.0.1 hlse9.pixivsketch.net 134 | 127.0.0.1 hlst1.pixivsketch.net 135 | 127.0.0.1 i.pximg.net 136 | 127.0.0.1 downloads.fanbox.cc 137 | 127.0.0.1 api.fanbox.cc 138 | 127.0.0.1 www.fanbox.cc 139 | 127.0.0.1 app-api.pixiv.net 140 | 13.226.113.16 g-client-proxy.pixiv.net 141 | 210.140.131.159 d.pixiv.org 142 | 210.140.92.140 pixiv.pximg.net 143 | 210.140.131.246 api.booth.pm 144 | 210.140.131.220 myaccount.pixiv.net 145 | #Pixiv End 146 | 147 | # ˳ һ ά ? 148 | # Wikipedia Start 149 | 127.0.0.1 en.wikipedia.org 150 | 127.0.0.1 zh.wikipedia.org # ά ٿ ? 151 | 127.0.0.1 en.m.wikipedia.org 152 | 127.0.0.1 zh.m.wikipedia.org 153 | 127.0.0.1 zh-yue.wikipedia.org # ά ٿ ? 154 | 127.0.0.1 wuu.wikipedia.org # ά ٿ ? 155 | 127.0.0.1 ug.wikipedia.org #ά ά ٿ ? 156 | 127.0.0.1 ja.wikipedia.org # ά ٿ ? 157 | 127.0.0.1 zh.wikinews.org # ά ? 158 | # Wikipedia End 159 | 160 | # Wikimedia Start 161 | 127.0.0.1 wikimedia.org 162 | 127.0.0.1 upload.wikimedia.org 163 | # Wikimedia End 164 | 165 | # ˳ һ Steam 166 | # Steam Start 167 | 23.195.152.91 store.steampowered.com 168 | 23.199.145.221 login.steampowered.com 169 | 23.199.145.221 help.steampowered.com 170 | 23.199.145.221 api.steampowered.com 171 | 127.0.0.1 steamcommunity.com 172 | #127.0.0.1 steam-chat.com 173 | 104.69.45.52 steam-chat.com 174 | ::1 cdn.steamstatic.com 175 | 127.0.0.1 cdn.steamstatic.com 176 | ::1 cdn.akamai.steamstatic.com 177 | 127.0.0.1 cdn.akamai.steamstatic.com 178 | ::1 cdn.cloudflare.steamstatic.com 179 | 127.0.0.1 cdn.cloudflare.steamstatic.com 180 | ::1 clan.steamstatic.com; 181 | 127.0.0.1 clan.steamstatic.com; 182 | ::1 clan.akamai.steamstatic.com; 183 | 127.0.0.1 clan.akamai.steamstatic.com; 184 | ::1 clan.cloudflare.steamstatic.com; 185 | 127.0.0.1 clan.cloudflare.steamstatic.com; 186 | ::1 store.akamai.steamstatic.com 187 | 127.0.0.1 store.akamai.steamstatic.com 188 | ::1 store.cloudflare.steamstatic.com 189 | 127.0.0.1 store.cloudflare.steamstatic.com 190 | ::1 avatars.akamai.steamstatic.com 191 | 127.0.0.1 avatars.akamai.steamstatic.com 192 | ::1 avatars.cloudflare.steamstatic.com 193 | 127.0.0.1 avatars.cloudflare.steamstatic.com 194 | ::1 shared.steamstatic.com 195 | 127.0.0.1 shared.steamstatic.com 196 | ::1 shared.akamai.steamstatic.com 197 | 127.0.0.1 shared.akamai.steamstatic.com 198 | ::1 shared.cloudflare.steamstatic.com 199 | 127.0.0.1 shared.cloudflare.steamstatic.com 200 | ::1 video.steamstatic.com 201 | 127.0.0.1 video.steamstatic.com 202 | ::1 video.akamai.steamstatic.com 203 | 127.0.0.1 video.akamai.steamstatic.com 204 | ::1 video.cloudflare.steamstatic.com 205 | 127.0.0.1 video.cloudflare.steamstatic.com 206 | ::1 broadcast.akamai.steamstatic.com 207 | 127.0.0.1 broadcast.akamai.steamstatic.com 208 | 127.0.0.1 steamuserimages-a.akamaihd.net 209 | 127.0.0.1 steamcdn-a.akamaihd.net 210 | 23.48.201.42 clientconfig.akamai.steamstatic.com 211 | 23.48.201.34 clientconfig.akamai.steamstatic.com 212 | 213 | 127.0.0.1 community.steamstatic.com 214 | ::1 community.steamstatic.com 215 | 127.0.0.1 community.akamai.steamstatic.com 216 | ::1 community.akamai.steamstatic.com 217 | 127.0.0.1 community.cloudflare.steamstatic.com 218 | ::1 community.cloudflare.steamstatic.com 219 | # Steam End 220 | 221 | # AO3 Start 222 | #127.0.0.1 archiveofourown.org 223 | # AO3 End 224 | 225 | # Exhentai Start 226 | 127.0.0.1 exhentai.org 227 | 127.0.0.1 s.exhentai.org 228 | 127.0.0.1 e-hentai.org 229 | 127.0.0.1 api.e-hentai.org 230 | 127.0.0.1 r.e-hentai.org 231 | 127.0.0.1 g.e-hentai.org 232 | 127.0.0.1 lofi.e-hentai.org 233 | 127.0.0.1 upld.e-hentai.org 234 | 127.0.0.1 forums.e-hentai.org 235 | 127.0.0.1 ehgt.org 236 | # Exhentai End 237 | 238 | # Nyaa Start 239 | #127.0.0.1 nyaa.si 240 | #127.0.0.1 www.nyaa.si 241 | #127.0.0.1 sukebei.nyaa.si 242 | # Nyaa End 243 | 244 | # dlsite Start 245 | 13.224.163.55 www.dlsite.com 246 | 13.224.163.36 www.dlsite.com 247 | 13.224.163.14 www.dlsite.com 248 | 13.224.163.122 www.dlsite.com 249 | 99.84.55.9 www.dlsite.com 250 | 99.84.55.64 www.dlsite.com 251 | 99.84.55.86 www.dlsite.com 252 | 99.84.55.128 www.dlsite.com 253 | ::2606:4700::6812:2ad www.dlsite.com 254 | ::2606:4700::6812:3ad www.dlsite.com 255 | 13.32.50.10 ssl.dlsite.com 256 | 13.32.50.49 ssl.dlsite.com 257 | 13.32.50.64 ssl.dlsite.com 258 | 13.32.50.77 ssl.dlsite.com 259 | 99.84.55.9 ssl.dlsite.com 260 | 99.84.55.64 ssl.dlsite.com 261 | 99.84.55.86 ssl.dlsite.com 262 | 99.84.55.128 ssl.dlsite.com 263 | 13.35.185.2 download.dlsite.com 264 | 13.35.185.22 download.dlsite.com 265 | 13.35.185.33 download.dlsite.com 266 | 13.35.185.95 download.dlsite.com 267 | 18.65.216.21 download.dlsite.com 268 | 18.65.216.76 download.dlsite.com 269 | 18.65.216.81 download.dlsite.com 270 | 18.65.216.103 download.dlsite.com 271 | 18.164.174.12 download.dlsite.com 272 | 18.164.174.22 download.dlsite.com 273 | 18.164.174.75 download.dlsite.com 274 | 18.164.174.89 download.dlsite.com 275 | 13.224.167.12 media.dlsite.com 276 | 13.224.167.19 media.dlsite.com 277 | 13.224.167.37 media.dlsite.com 278 | 13.224.167.113 media.dlsite.com 279 | 13.224.163.22 media.dlsite.com 280 | 13.224.163.34 media.dlsite.com 281 | 13.224.163.50 media.dlsite.com 282 | 13.224.163.73 media.dlsite.com 283 | 52.84.251.15 media.dlsite.com 284 | 52.84.251.58 media.dlsite.com 285 | 52.84.251.69 media.dlsite.com 286 | 52.84.251.116 media.dlsite.com 287 | 99.84.55.5 media.dlsite.com 288 | 99.84.55.11 media.dlsite.com 289 | 99.84.55.44 media.dlsite.com 290 | 99.84.55.66 media.dlsite.com 291 | 54.248.185.220 play.dlsite.com 292 | 54.249.233.189 play.dlsite.com 293 | 3.114.2.143 ch.dlsite.com 294 | 54.65.242.130 ch.dlsite.com 295 | 54.192.18.16 img.dlsite.jp 296 | 54.192.18.19 img.dlsite.jp 297 | 54.192.18.25 img.dlsite.jp 298 | 54.192.18.79 img.dlsite.jp 299 | 3.164.143.11 img.dlsite.jp 300 | 3.164.143.22 img.dlsite.jp 301 | 3.164.143.45 img.dlsite.jp 302 | 3.164.143.55 img.dlsite.jp 303 | #2606:4700:100::6812:199d img.dlsite.jp 304 | #2606:4700:100::6812:189d img.dlsite.jp 305 | 54.192.18.22 media.ci-en.jp 306 | 54.192.18.101 media.ci-en.jp 307 | 54.192.18.106 media.ci-en.jp 308 | 54.192.18.116 media.ci-en.jp 309 | #35.76.238.66 ci-en.net 310 | #176.34.45.157 ci-en.net 311 | 18.182.137.104 ci-en.dlsite.com 312 | 13.115.197.107 ci-en.dlsite.com 313 | # dlsite End 314 | 315 | # EA Start 316 | 127.0.0.1 origin-a.akamaihd.net 317 | 127.0.0.1 api1.origin.com 318 | 127.0.0.1 pc.ea.com 319 | # EA End 320 | 321 | # Twitter Start 322 | 127.0.0.1 twitter.com 323 | 127.0.0.1 api.twitter.com 324 | 127.0.0.1 ton.twitter.com 325 | 127.0.0.1 support.twitter.com 326 | 127.0.0.1 upload.twitter.com 327 | 127.0.0.1 pic.twitter.com 328 | 127.0.0.1 x.com 329 | 127.0.0.1 jf.x.com 330 | 127.0.0.1 api.x.com 331 | 127.0.0.1 ton.x.com 332 | 127.0.0.1 support.x.com 333 | 127.0.0.1 upload.x.com 334 | 127.0.0.1 pic.x.com 335 | 127.0.0.1 abs.twimg.com 336 | 127.0.0.1 pbs.twimg.com 337 | 127.0.0.1 t.lv.twimg.com 338 | 127.0.0.1 video.twimg.com 339 | 127.0.0.1 abs-0.twimg.com 340 | 127.0.0.1 t.co 341 | # Twitter End 342 | 343 | # Discord Start 344 | 127.0.0.1 media.discordapp.net 345 | 127.0.0.1 images-ext-2.discordapp.net 346 | 127.0.0.1 images-ext-1.discordapp.net 347 | 127.0.0.1 dl.discordapp.net 348 | 127.0.0.1 discordapp.com 349 | 127.0.0.1 url9177.discordapp.com 350 | 127.0.0.1 canary-api.discordapp.com 351 | 127.0.0.1 cdn-ptb.discordapp.com 352 | 127.0.0.1 ptb.discordapp.com 353 | 127.0.0.1 status.discordapp.com 354 | 127.0.0.1 cdn-canary.discordapp.com 355 | 127.0.0.1 cdn.discordapp.com 356 | 127.0.0.1 streamkit.discordapp.com 357 | 127.0.0.1 i18n.discordapp.com 358 | 127.0.0.1 url9624.discordapp.com 359 | 127.0.0.1 url7195.discordapp.com 360 | 127.0.0.1 merch.discordapp.com 361 | 127.0.0.1 printer.discordapp.com 362 | 127.0.0.1 canary.discordapp.com 363 | 127.0.0.1 apps.discordapp.com 364 | 127.0.0.1 pax.discordapp.com 365 | 127.0.0.1 discord.com 366 | 127.0.0.1 status.discord.com 367 | 127.0.0.1 streamkit.discord.com 368 | 127.0.0.1 feedback.discord.com 369 | 127.0.0.1 click.discord.com 370 | 127.0.0.1 pax.discord.com 371 | 127.0.0.1 printer.discord.com 372 | 127.0.0.1 ptb.discord.com 373 | 127.0.0.1 canary.discord.com 374 | 127.0.0.1 bugs.discord.com 375 | 127.0.0.1 i18n.discord.com 376 | 127.0.0.1 support.discord.com 377 | 127.0.0.1 safety.discord.com 378 | 127.0.0.1 support-dev.discord.com 379 | 127.0.0.1 discord.gg 380 | 127.0.0.1 gateway.discord.gg 381 | 127.0.0.1 gateway-us-east1-b.discord.gg 382 | # Discord End 383 | 384 | # Twitch Start 385 | 127.0.0.1 twitch.tv 386 | 127.0.0.1 www.twitch.tv 387 | 127.0.0.1 m.twitch.tv 388 | 127.0.0.1 app.twitch.tv 389 | 127.0.0.1 clips.twitch.tv 390 | 127.0.0.1 gql.twitch.tv 391 | 127.0.0.1 dashboard.twitch.tv 392 | 127.0.0.1 player.twitch.tv 393 | 127.0.0.1 api.twitch.tv 394 | 127.0.0.1 irc-ws.chat.twitch.tv 395 | 127.0.0.1 irc-ws-r.chat.twitch.tv 396 | 127.0.0.1 vod-storyboards.twitch.tv 397 | 127.0.0.1 vod-metro.twitch.tv 398 | 127.0.0.1 music.twitch.tv 399 | 127.0.0.1 player.m7g.twitch.tv 400 | 127.0.0.1 badges.twitch.tv 401 | 127.0.0.1 blog.twitch.tv 402 | 127.0.0.1 inspector.twitch.tv 403 | 127.0.0.1 stream.twitch.tv 404 | 127.0.0.1 dev.twitch.tv 405 | 127.0.0.1 spade.twitch.tv 406 | 127.0.0.1 trowel.twitch.tv 407 | 127.0.0.1 vod-secure.twitch.tv 408 | 127.0.0.1 extension-files.twitch.tv 409 | 127.0.0.1 help.twitch.tv 410 | 127.0.0.1 cvp.twitch.tv 411 | 127.0.0.1 brand.twitch.tv 412 | 127.0.0.1 assets.help.twitch.tv 413 | 127.0.0.1 passport.twitch.tv 414 | 127.0.0.1 id.twitch.tv 415 | 127.0.0.1 link.twitch.tv 416 | 127.0.0.1 id-cdn.twitch.tv 417 | 127.0.0.1 discuss.dev.twitch.tv 418 | 127.0.0.1 ingest.twitch.tv 419 | 127.0.0.1 usher.ttvnw.net 420 | 127.0.0.1 clips-media-assets2.twitch.tv 421 | 127.0.0.1 us-west-2.uploads-regional.twitch.tv 422 | 127.0.0.1 safety.twitch.tv 423 | 127.0.0.1 pubsub-edge.twitch.tv 424 | 127.0.0.1 panels.twitch.tv 425 | 127.0.0.1 gql.twitch.tv 426 | # Twitch End 427 | 428 | # nhentai Start 429 | 104.21.66.123 nhentai.net 430 | 185.107.44.3 nhentai.net 431 | 127.0.0.1 t2.nhentai.net 432 | 127.0.0.1 t3.nhentai.net 433 | 127.0.0.1 t5.nhentai.net 434 | 127.0.0.1 t7.nhentai.net 435 | 127.0.0.1 static.nhentai.net 436 | # nhentai End 437 | 438 | # Instagram Start 439 | 127.0.0.1 ig.me 440 | 127.0.0.1 www.ig.me 441 | 127.0.0.1 instagr.am 442 | 127.0.0.1 i.instagr.am 443 | 127.0.0.1 www.instagr.am 444 | 127.0.0.1 Instagram.com 445 | 127.0.0.1 b.i.Instagram.com 446 | 127.0.0.1 z-p42.i.instagram.com 447 | 127.0.0.1 upload-ec2.instagram.com 448 | 127.0.0.1 help.instagram.com 449 | 127.0.0.1 m.Instagram.com 450 | 127.0.0.1 www.Instagram.com 451 | 127.0.0.1 privacycenter.instagram.com 452 | 127.0.0.1 z-p42.graph.instagram.com 453 | 127.0.0.1 z-p42.upload.instagram.com 454 | 127.0.0.1 z-p42.dyi.www.instagram.com 455 | 127.0.0.1 z-p42.maps.instagram.com 456 | 127.0.0.1 z-p42.m.instagram.com 457 | 127.0.0.1 z-p42-reg-e2ee.instagram.com 458 | 127.0.0.1 z-p42.lookasideInstagram.com 459 | 127.0.0.1 z-p42-i.Instagram.com 460 | 127.0.0.1 z-p42-instagram.c10r.instagram.com 461 | 127.0.0.1 geo-p42.instagram.com 462 | 127.0.0.1 b-i.instagram.com 463 | 464 | 127.0.0.1 api.Instagram.com 465 | 127.0.0.1 graph.instagram.com 466 | 127.0.0.1 i.Instagram.com 467 | 127.0.0.1 badges.Instagram.com 468 | 127.0.0.1 hyperlapse.Instagram.com 469 | 127.0.0.1 preprod.Instagram.com 470 | 127.0.0.1 community.Instagram.com 471 | 127.0.0.1 parents.Instagram.com 472 | 127.0.0.1 lookaside.Instagram.com 473 | 127.0.0.1 auth.Instagram.com 474 | 127.0.0.1 black.Instagram.com 475 | 127.0.0.1 creatorsupport.Instagram.com 476 | 127.0.0.1 wallets.Instagram.com 477 | 127.0.0.1 accountscenter.Instagram.com 478 | 127.0.0.1 approval.Instagram.com 479 | 127.0.0.1 graphql.Instagram.com 480 | 127.0.0.1 survey.Instagram.com 481 | 127.0.0.1 call.Instagram.com 482 | 127.0.0.1 familycenter.Instagram.com 483 | 127.0.0.1 Instagram.c10r.Instagram.com 484 | 127.0.0.1 streaming-graph.Instagram.com 485 | 127.0.0.1 geo.Instagram.com 486 | 127.0.0.1 white.Instagram.com 487 | 127.0.0.1 applink.Instagram.com 488 | 127.0.0.1 creators.Instagram.com 489 | 127.0.0.1 checkout.instagram.com 490 | 127.0.0.1 dyi.www.instagram.com 491 | 492 | 127.0.0.1 buy.ig.me 493 | 127.0.0.1 instagram.c10r.facebook.com 494 | 127.0.0.1 instagram-p3-shv-02-iad3.fbcdn.net 495 | 127.0.0.1 l.instagram.com 496 | 127.0.0.1 logger.instagram.com 497 | 127.0.0.1 maps.instagram.com 498 | 127.0.0.1 platform.instagram.com 499 | 127.0.0.1 platform-iad3-2.cdninstagram.com 500 | 127.0.0.1 reg-e2ee.instagram.com 501 | 127.0.0.1 scontent-a-iad3-2.cdninstagram.com 502 | 127.0.0.1 scontent-b.cdninstagram.com 503 | 127.0.0.1 scontent-b-iad3-2.cdninstagram.com 504 | 127.0.0.1 scontent-iad3-2.cdninstagram.com 505 | 127.0.0.1 static-iad3-2.cdninstagram.com 506 | 127.0.0.1 upload.instagram.com 507 | 127.0.0.1 video-iad3-2.cdninstagram.com 508 | 127.0.0.1 web-chat-e2ee.instagram.com 509 | 127.0.0.1 www.prod.instagram.com 510 | 127.0.0.1 xweb.instagram.com 511 | 127.0.0.1 z-p3.www.instagram.com 512 | 127.0.0.1 edge-chat.Instagram.com 513 | 514 | 127.0.0.1 static.cdninstagram.com 515 | 127.0.0.1 video.cdninstagram.com 516 | 127.0.0.1 creative.cdninstagram.com 517 | 127.0.0.1 dragon.cdninstagram.com 518 | 127.0.0.1 external.cdninstagram.com 519 | 127.0.0.1 platform.cdninstagram.com 520 | 127.0.0.1 scontent.cdninstagram.com 521 | 127.0.0.1 creative-nrt.cdninstagram.com 522 | 127.0.0.1 creative-nrt1-1.cdninstagram.com 523 | 127.0.0.1 dragon-nrt.cdninstagram.com 524 | 127.0.0.1 dragon-nrt1-1.cdninstagram.com 525 | 127.0.0.1 external-nrt.cdninstagram.com 526 | 127.0.0.1 external-nrt1-1.cdninstagram.com 527 | 127.0.0.1 platform-nrt.cdninstagram.com 528 | 127.0.0.1 platform-nrt1-1.cdninstagram.com 529 | 127.0.0.1 scontent-a-nrt.cdninstagram.com 530 | 127.0.0.1 scontent-a-nrt1-1.cdninstagram.com 531 | 127.0.0.1 scontent-b-nrt.cdninstagram.com 532 | 127.0.0.1 scontent-b-nrt1-1.cdninstagram.com 533 | 127.0.0.1 scontent-nrt.cdninstagram.com 534 | 127.0.0.1 scontent-nrt1-1.cdninstagram.com 535 | 127.0.0.1 static-nrt.cdninstagram.com 536 | 127.0.0.1 static-nrt1-1.cdninstagram.com 537 | 127.0.0.1 video-nrt.cdninstagram.com 538 | 127.0.0.1 video-nrt1-1.cdninstagram.com 539 | 127.0.0.1 creative-nrt1-2.cdninstagram.com 540 | 127.0.0.1 dragon-nrt1-2.cdninstagram.com 541 | 127.0.0.1 external-nrt1-2.cdninstagram.com 542 | 127.0.0.1 platform-nrt1-2.cdninstagram.com 543 | 127.0.0.1 scontent-a-nrt1-2.cdninstagram.com 544 | 127.0.0.1 scontent-b-nrt1-2.cdninstagram.com 545 | 127.0.0.1 scontent-nrt1-2.cdninstagram.com 546 | 127.0.0.1 static-nrt1-2.cdninstagram.com 547 | 127.0.0.1 video-nrt1-2.cdninstagram.com 548 | 127.0.0.1 creative-hkt.cdninstagram.com 549 | 127.0.0.1 creative-hkt1-1.cdninstagram.com 550 | 127.0.0.1 dragon-hkt.cdninstagram.com 551 | 127.0.0.1 dragon-hkt1-1.cdninstagram.com 552 | 127.0.0.1 external-hkt.cdninstagram.com 553 | 127.0.0.1 external-hkt1-1.cdninstagram.com 554 | 127.0.0.1 platform-hkt.cdninstagram.com 555 | 127.0.0.1 platform-hkt1-1.cdninstagram.com 556 | 127.0.0.1 scontent-a-hkt.cdninstagram.com 557 | 127.0.0.1 scontent-a-hkt1-1.cdninstagram.com 558 | 127.0.0.1 scontent-b-hkt.cdninstagram.com 559 | 127.0.0.1 scontent-b-hkt1-1.cdninstagram.com 560 | 127.0.0.1 scontent-hkt.cdninstagram.com 561 | 127.0.0.1 scontent-hkt1-1.cdninstagram.com 562 | 127.0.0.1 static-hkt.cdninstagram.com 563 | 127.0.0.1 static-hkt1-1.cdninstagram.com 564 | 127.0.0.1 video-hkt.cdninstagram.com 565 | 127.0.0.1 video-hkt1-1.cdninstagram.com 566 | 127.0.0.1 creative-hkt1-2.cdninstagram.com 567 | 127.0.0.1 dragon-hkt1-2.cdninstagram.com 568 | 127.0.0.1 external-hkt1-2.cdninstagram.com 569 | 127.0.0.1 platform-hkt1-2.cdninstagram.com 570 | 127.0.0.1 scontent-a-hkt1-2.cdninstagram.com 571 | 127.0.0.1 scontent-b-hkt1-2.cdninstagram.com 572 | 127.0.0.1 scontent-hkt1-2.cdninstagram.com 573 | 127.0.0.1 static-hkt1-2.cdninstagram.com 574 | 127.0.0.1 video-hkt1-2.cdninstagram.com 575 | # Instagram End 576 | 577 | # WallHaven.cc Start 578 | 127.0.0.1 wallhaven.cc 579 | 127.0.0.1 www.wallhaven.cc 580 | 127.0.0.1 w.wallhaven.cc 581 | 127.0.0.1 th.wallhaven.cc 582 | 127.0.0.1 static.wallhaven.cc 583 | 127.0.0.1 alpha.wallhaven.cc 584 | # WallHaven.cc End 585 | 586 | # Reddit Start 587 | 127.0.0.1 reddit.com 588 | 127.0.0.1 www.reddit.com 589 | 127.0.0.1 www.redditmedia.com 590 | 127.0.0.1 www.redditstatic.com 591 | 127.0.0.1 w3-reporting.reddit.com 592 | 127.0.0.1 error-tracking.reddit.com 593 | 127.0.0.1 redd.it 594 | 127.0.0.1 i.redd.it 595 | 127.0.0.1 v.redd.it 596 | 127.0.0.1 preview.redd.it 597 | 127.0.0.1 external-preview.redd.it 598 | 127.0.0.1 packaged-media.redd.it 599 | 127.0.0.1 a.thumbs.redditmedia.com 600 | 127.0.0.1 b.thumbs.redditmedia.com 601 | 127.0.0.1 styles.redditmedia.com 602 | 127.0.0.1 emoji.redditmedia.com 603 | # Reddit End 604 | 605 | # imgur Start 606 | 127.0.0.1 imgur.com 607 | 127.0.0.1 i.imgur.com 608 | # imgur End 609 | -------------------------------------------------------------------------------- /html/50x.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Error 5 | 12 | 13 | 14 |

An error occurred.

15 |

Sorry, the page you are looking for is currently unavailable.
16 | Please try again later.

17 |

If you are the system administrator of this resource then you should check 18 | the error log for details.

19 |

Faithfully yours, nginx.

20 | 21 | 22 | -------------------------------------------------------------------------------- /html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Welcome to nginx! 5 | 12 | 13 | 14 |

Welcome to nginx!

15 |

If you see this page, the nginx web server is successfully installed and 16 | working. Further configuration is required.

17 | 18 |

For online documentation and support please refer to 19 | nginx.org.
20 | Commercial support is available at 21 | nginx.com.

22 | 23 |

Thank you for using nginx.

24 | 25 | 26 | -------------------------------------------------------------------------------- /logs/nginx.pid: -------------------------------------------------------------------------------- 1 | 4624 2 | -------------------------------------------------------------------------------- /nginx.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/nginx.exe -------------------------------------------------------------------------------- /temp/client_body_temp/.hi-mashiro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/temp/client_body_temp/.hi-mashiro -------------------------------------------------------------------------------- /temp/fastcgi_temp/.hi-mashiro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/temp/fastcgi_temp/.hi-mashiro -------------------------------------------------------------------------------- /temp/proxy_temp/.hi-mashiro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/temp/proxy_temp/.hi-mashiro -------------------------------------------------------------------------------- /temp/scgi_temp/.hi-mashiro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/temp/scgi_temp/.hi-mashiro -------------------------------------------------------------------------------- /temp/uwsgi_temp/.hi-mashiro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/temp/uwsgi_temp/.hi-mashiro -------------------------------------------------------------------------------- /图片无法显示备用配置/nginx.conf: -------------------------------------------------------------------------------- 1 | 2 | #user nobody; 3 | worker_processes 1; 4 | 5 | #error_log logs/error.log; 6 | #error_log logs/error.log notice; 7 | #error_log logs/error.log info; 8 | 9 | #pid logs/nginx.pid; 10 | 11 | 12 | events { 13 | worker_connections 1024; 14 | } 15 | 16 | 17 | http { 18 | include mime.types; 19 | default_type application/octet-stream; 20 | 21 | #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' 22 | # '$status $body_bytes_sent "$http_referer" ' 23 | # '"$http_user_agent" "$http_x_forwarded_for"'; 24 | 25 | #access_log logs/access.log main; 26 | 27 | sendfile on; 28 | #tcp_nopush on; 29 | 30 | #keepalive_timeout 0; 31 | keepalive_timeout 65; 32 | 33 | server_names_hash_max_size 512; 34 | server_names_hash_bucket_size 1024; 35 | 36 | #gzip on; 37 | 38 | upstream www-pixiv-net { 39 | server 210.140.131.182:443; 40 | server 210.140.131.180:443; 41 | server 210.140.131.184:443; 42 | } 43 | 44 | upstream sketch-pixiv-net { 45 | server 210.140.174.37:443; 46 | server 210.140.170.179:443; 47 | server 210.140.175.130:443; 48 | } 49 | 50 | upstream imgaz-pixiv-net { 51 | server 210.140.131.145:443; 52 | server 210.140.131.144:443; 53 | server 210.140.131.147:443; 54 | server 210.140.131.153:443; 55 | } 56 | 57 | upstream i-pximg-net { 58 | server 210.140.92.140:443; 59 | server 210.140.92.137:443; 60 | server 210.140.92.139:443; 61 | server 210.140.92.142:443; 62 | server 210.140.92.134:443; 63 | server 210.140.92.141:443; 64 | server 210.140.92.143:443; 65 | server 210.140.92.135:443; 66 | server 210.140.92.136:443; 67 | } 68 | 69 | server { 70 | listen 80 default_server; 71 | rewrite ^(.*) https://$host$1 permanent; 72 | } 73 | 74 | server { 75 | listen 443 ssl; 76 | server_name pixiv.net; 77 | server_name www.pixiv.net; 78 | server_name ssl.pixiv.net; 79 | server_name accounts.pixiv.net; 80 | server_name touch.pixiv.net; 81 | server_name oauth.secure.pixiv.net; 82 | 83 | ssl on; 84 | ssl_certificate ca/pixiv.net.crt; 85 | ssl_certificate_key ca/pixiv.net.key; 86 | 87 | client_max_body_size 50M; 88 | 89 | location / { 90 | proxy_pass https://www-pixiv-net; 91 | proxy_set_header Host $http_host; 92 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 93 | proxy_set_header X-Real_IP $remote_addr; 94 | proxy_set_header User-Agent $http_user_agent; 95 | proxy_set_header Accept-Encoding ''; 96 | proxy_buffering off; 97 | } 98 | } 99 | 100 | server { 101 | listen 443 ssl; 102 | server_name i.pximg.net; 103 | 104 | ssl on; 105 | ssl_certificate ca/pixiv.net.crt; 106 | ssl_certificate_key ca/pixiv.net.key; 107 | 108 | location / { 109 | rewrite ^/(.*)$ https://i.pixiv.cat/$1 redirect; 110 | } 111 | } 112 | 113 | server { 114 | listen 443 ssl; 115 | server_name sketch.pixiv.net; 116 | 117 | ssl on; 118 | ssl_certificate ca/pixiv.net.crt; 119 | ssl_certificate_key ca/pixiv.net.key; 120 | 121 | location / { 122 | proxy_pass https://sketch-pixiv-net; 123 | proxy_set_header Host $http_host; 124 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 125 | proxy_set_header X-Real_IP $remote_addr; 126 | proxy_set_header User-Agent $http_user_agent; 127 | proxy_set_header Accept-Encoding ''; 128 | proxy_buffering off; 129 | } 130 | 131 | # Proxying WebSockets 132 | location /ws/ { 133 | proxy_pass https://sketch-pixiv-net; 134 | proxy_http_version 1.1; 135 | proxy_set_header Upgrade $http_upgrade; 136 | proxy_set_header Connection "upgrade"; 137 | proxy_set_header Host $host; 138 | } 139 | } 140 | 141 | server { 142 | listen 443 ssl; 143 | server_name factory.pixiv.net; 144 | 145 | ssl on; 146 | ssl_certificate ca/pixiv.net.crt; 147 | ssl_certificate_key ca/pixiv.net.key; 148 | 149 | location / { 150 | proxy_pass https://210.140.131.180/; 151 | proxy_set_header Host $http_host; 152 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 153 | proxy_set_header X-Real_IP $remote_addr; 154 | proxy_set_header User-Agent $http_user_agent; 155 | proxy_set_header Accept-Encoding ''; 156 | proxy_buffering off; 157 | } 158 | } 159 | 160 | server { 161 | listen 443 ssl; 162 | server_name dic.pixiv.net; 163 | server_name en-dic.pixiv.net; 164 | server_name sensei.pixiv.net; 165 | server_name fanbox.pixiv.net; 166 | server_name payment.pixiv.net.pixiv.net; 167 | 168 | ssl on; 169 | ssl_certificate ca/pixiv.net.crt; 170 | ssl_certificate_key ca/pixiv.net.key; 171 | 172 | location / { 173 | proxy_pass https://210.140.131.222/; 174 | proxy_set_header Host $http_host; 175 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 176 | proxy_set_header X-Real_IP $remote_addr; 177 | proxy_set_header User-Agent $http_user_agent; 178 | proxy_set_header Accept-Encoding ''; 179 | proxy_buffering off; 180 | } 181 | } 182 | 183 | server { 184 | listen 443 ssl; 185 | server_name imgaz.pixiv.net; 186 | server_name comic.pixiv.net; 187 | server_name novel.pixiv.net; 188 | server_name source.pixiv.net; 189 | server_name i1.pixiv.net; 190 | server_name i2.pixiv.net; 191 | server_name i3.pixiv.net; 192 | server_name i4.pixiv.net; 193 | 194 | ssl on; 195 | ssl_certificate ca/pixiv.net.crt; 196 | ssl_certificate_key ca/pixiv.net.key; 197 | 198 | location / { 199 | proxy_pass https://imgaz-pixiv-net; 200 | proxy_set_header Host $http_host; 201 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 202 | proxy_set_header X-Real_IP $remote_addr; 203 | proxy_set_header User-Agent $http_user_agent; 204 | proxy_set_header Accept-Encoding ''; 205 | proxy_buffering off; 206 | } 207 | } 208 | 209 | server { 210 | listen 443 ssl; 211 | server_name zh.wikipedia.org; 212 | server_name zh-yue.wikipedia.org; 213 | server_name wuu.wikipedia.org; 214 | server_name ug.wikipedia.org; 215 | server_name ja.wikipedia.org; 216 | server_name zh.wikinews.org; 217 | server_name zh.m.wikipedia.org; 218 | server_name ug.m.wikipedia.org; 219 | server_name zh.m.wikinews.org; 220 | 221 | ssl on; 222 | ssl_certificate ca/pixiv.net.crt; 223 | ssl_certificate_key ca/pixiv.net.key; 224 | 225 | location / { 226 | proxy_pass https://103.102.166.224/; 227 | proxy_set_header Host $http_host; 228 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 229 | proxy_set_header X-Real_IP $remote_addr; 230 | proxy_set_header User-Agent $http_user_agent; 231 | proxy_set_header Accept-Encoding ''; 232 | proxy_buffering off; 233 | } 234 | } 235 | 236 | server { 237 | listen 443 ssl; 238 | server_name www.google.com; 239 | 240 | ssl on; 241 | ssl_certificate ca/pixiv.net.crt; 242 | ssl_certificate_key ca/pixiv.net.key; 243 | 244 | location / { 245 | rewrite ^/(.*)$ https://pages.shino.cc/$1 redirect; 246 | } 247 | } 248 | 249 | } 250 | -------------------------------------------------------------------------------- /图片无法显示备用配置/使用方法.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/图片无法显示备用配置/使用方法.txt -------------------------------------------------------------------------------- /更新日志.txt: -------------------------------------------------------------------------------- 1 | 配置文件(2025年1月5日12时41分 2 | 1、优化代码结构 3 | 2、更新github列表 4 | 5 | 6 | 7 | 配置文件(2024年12月04日17时11分 8 | 1、更新pixiv服务器 9 | 2、在前辈的帮助下规范化文件命名 10 | 11 | 12 | 13 | 配置文件(2024年10月17日19时50分 14 | 1、增加imgur服务器 15 | 16 | 17 | 18 | 配置文件(2024年10月17日18时30分 19 | 1、修复部分上游服务器 20 | 2、增加steam Fastly重写 21 | 22 | 23 | 24 | 配置文件(2024年09月14日14时00分 25 | 1、修复部分上游服务器 26 | 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 27 | 28 | 29 | 30 | 配置文件(2024年09月05日11时30分 31 | 1、改进部分上游服务器写法 32 | 2、修复不启用Steam配置的时候的Bug 33 | 34 | 35 | 36 | 配置文件(2024年09月02日21时10分 37 | 1、改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 38 | 39 | 40 | 41 | 配置文件(2024年08月31日18时11分 42 | 1、更新部分上游服务器 43 | 2、改进KeepAlive参数,提升访问可靠性 44 | 45 | 46 | 47 | 配置文件(2024年08月27日18时55分 48 | 1、更新Github上游服务器 49 | 2、添加以下网站服务器: 50 | Discord (IPv4) 51 | Instagram (IPv6 Only, 需要本地dns重写,无固定Hosts可用) 52 | WallHaven (IPv4, 仅图片CDN,不包含网页) 53 | Reddit (IPv4, 需要本地dns重写,无固定Hosts可用) 54 | Twitter (IPv4, 需要本地dns重写,无固定Hosts可用) 55 | Twitch (IPv4, 需要本地dns重写,无固定Hosts可用) 56 | GoogleCDN (仅部分文件IPv6, 主要谷歌网页以及IPv4服务器无法使用,老老实实用专线或者科研网教育网,需要本地dns重写,无固定Hosts可用) 57 | 58 | 59 | 60 | 配置文件(2024年08月15日20点20分 61 | 1、更新E-hentai上游服务器 62 | 63 | 64 | 65 | 配置文件(2024年08月15日20点20分 66 | 1、更新E-hentai上游服务器 67 | 68 | 69 | 70 | 配置文件(2024年08月12日21点00分 71 | 1、优化代码格式 72 | 73 | 74 | 75 | 配置文件(2024年08月04日23点45分 76 | 1、修改hosts 77 | 2、更新 Steam 的服务器 78 | 79 | 80 | 81 | 配置文件(2024年08月02日21点05分 82 | 1、修改hosts 83 | 2、更新 Steam 的服务器 84 | 3、更新X(原推特)的服务器 85 | 86 | 87 | 88 | 配置文件(2024年07月22日17点30分 89 | 90 | 1、修改hosts 91 | 2、更新X(原推特)的服务器以及证书 92 | 3、更新Instagram服务器 93 | 94 | 95 | 96 | 配置文件(2024年07月20日18点50分 97 | 98 | 1、增加证书域名 99 | 2、更新reddit的上游服务器 100 | 101 | 102 | 103 | 配置文件(2024年01月05日12点30分 104 | 105 | 1、修改hosts 106 | 2、修改部分文件内容 107 | 108 | 109 | 110 | 配置文件(2023年12月16日19点30分 111 | 0、更新部分上游ip,提升加载速度 112 | 1、修补自签证书使用说明的错漏 113 | 114 | 115 | 116 | 配置文件(2023年9月25日19点30分 117 | 0、本次默认禁用大部分附加配置文件,如有需要请自行删除对应代码前面的#进行启用 118 | 1、更新hosts和子证书文本,子证书本次不需要强制更新 119 | 子证书本次不需要强制更新 120 | 子证书本次不需要强制更新 121 | 子证书本次不需要强制更新 122 | 重要的事情说三遍 123 | 2、遇到群友逆天bug,想了半天解决方案 124 | 3、成功规避逆天bug 125 | 注:逆天bug为记事本逆天bug,无法正常编辑文本 126 | 127 | 128 | 129 | 配置文件(2023年6月17日18点00分 130 | 1、修复16日的一个小bug 131 | 132 | 133 | 134 | 配置文件(2023年6月16日14点10分 135 | 1、更改更新的上游和hosts 136 | 2、提高性能 137 | 138 | 139 | 140 | 2023年6月05日15点30分 141 | 1、修复bugs 142 | 2、更新ci-en的反代和证书以及hosts 143 | 144 | 145 | 146 | 2023年5月30日15点10分 147 | 1、修复nhentai反代,速度还行 148 | 149 | 150 | 151 | 2023年5月27日15点00分 152 | 1、删改服务器已删除的上游 153 | 154 | 155 | 156 | 2023年5月18日20点50分 157 | 1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org 158 | 2、补齐exhentai对应的证书 159 | 160 | 161 | 162 | 2023年5月17日16点30分 163 | 1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org 164 | 2、修改e-hentai的上游地址 165 | 166 | 167 | 168 | 2023年5月10日19点30分 169 | 温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 170 | 1、根据今天发现的配置文件自定义解析设定失效,对涉及resolver的用法全部进行了修改以解决失效问题 171 | 172 | 173 | 174 | 2023年5月07日9点00分 175 | 温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 176 | 1、取消SteamServer。net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts 177 | 178 | 179 | 180 | 2023年5月03日15点20分 181 | 0、本次更新 需要 更新 证书 182 | 1、修改部分错误的服务器 183 | 2、修改部分日志记录位置 184 | 3、实装SteamServer.net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts 185 | 4、实装Steam-chat.com的反代功能,是否启用请结合需求和实际情况,自行修改Hosts 186 | 187 | 188 | 189 | 2023年4月20日12点00分 190 | 1、修改iwara部分上游链接 191 | 2、由于iwara站点服务器更新,现仅能反代视频服务器,主站所有其他内容和图片均无法使用,需自行扶墙 192 | 193 | 194 | 195 | 2023年4月15日15点50分 196 | 1、修改部分上游链接 197 | 2、提高Steam社区反代稳定性 198 | 199 | 200 | 201 | 2023年4月13日19点15分 202 | 1、修改部分上游链接 203 | 2、修改部分hosts 204 | 205 | 206 | 207 | 2023年2月28日14点55分 208 | 1、更新DLsite的反代访问 209 | 2、修改hosts 210 | 3、Steam反代经测试已恢复正常 211 | 212 | 213 | 214 | 2023年2月25日12点25分 215 | 1、增加FC2直播的反代访问 216 | 2、修改hosts和对应证书 217 | 3、Steam反代暂时无法更新,部分地区寄了,原有配置文件部分地区仍可使用 218 | 219 | 220 | 221 | 2023年2月21日16点26分 222 | 1、更新配置文件部分buffer参数 223 | 2、修改hosts 224 | 225 | 226 | 227 | 2023年2月14日19点31分 228 | 1、更新cdn对应IP 229 | 2、更新Hosts文件 230 | 231 | 232 | 233 | 2022年12月16日20点59分 234 | 1、删除一个报废的域名,以解决不能启动问题 235 | 236 | 237 | 238 | 2022年11月30日15点30分 239 | 1、优化Instagram域名的上游ip,现仅ipv6可用 240 | 241 | 242 | 243 | 2022年11月29日22点10分 244 | 1、增加Instagram主域名反代访问 245 | 2、经测试,Instagram的CDN域名 cdninstagram.com 未被屏蔽,阿里云、腾讯云、百度云、奠信DNS均能正常使用 246 | 3、增加PayPal经常出问题的域名的反代,根据需求自行添加 247 | 4、cdninstagram.com连接缓慢,请使用DNS工具批量修改解析,域名太多不方便hosts 248 | 249 | 250 | 251 | 2022年11月13日23点10分 252 | 1、根据最新dns解析结果,优化IP结构和上游IP使用 253 | 254 | 255 | 256 | 2022年10月3日22点20分 257 | 1、优化代码结构 258 | 259 | 260 | 261 | 2022年9月6日20点11分 262 | 1、增加i站(iwara.tv)的反代访问 263 | 2、优化代码 264 | 3、更新对应证书 265 | 266 | 267 | 268 | 2022年9月3日13点56分 269 | 1、修改steam商店的反代,通过OldAuth解决商店地区和IP一致导致无法结账的问题 270 | 2、修改(微调)SteamCDN的反代代码 271 | 272 | 273 | 274 | 2022年8月29日15点46分 275 | 1、优化代码,提升响应速度 276 | 2、e-hentai的域名维护 277 | 3、DLsite的域名维护 278 | 4、更新对应证书 279 | 280 | 281 | 282 | 2022年8月7日15点46分 283 | 1、优化代码,提升响应速度 284 | 2、增加nhentai的反代访问和DNS修复 285 | 3、更新对应证书 286 | 287 | 288 | 289 | 2022年8月7日12点46分 290 | 1、优化代码,提升响应速度 291 | 2、修补Patreon的反代访问,新增几个子域名 292 | 3、增加APKPure的反代访问 293 | 4、更新对应证书 294 | 295 | 296 | 297 | 2022年8月2日13点21分 298 | 1、更新e-hentai的服务器以及附属域名 299 | 2、优化部分代码结构 300 | 3、更新对应证书 301 | 302 | 303 | 304 | 2022年8月1日20点24分 305 | 1、更新并简化freenom的上游服务器 306 | 307 | 308 | 309 | 2022年7月29日18点48分 310 | ⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 311 | 1、修复discord图床域名images-ext-1.discordapp.net和images-ext-2.discordapp.net的反代访问 312 | 313 | 314 | 315 | 2022年7月29日17点17分&18点25分 316 | 1、增加discord的反代访问 317 | 2、增加twitch的反代访问 318 | 3、更新相关Hosts和证书 319 | ⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 320 | 321 | 322 | 323 | 2022年7月26日23点43分&59分 324 | 1、修复dlsite.com相关IP和域名 325 | 2、修复对应Hosts 326 | 327 | 328 | 329 | 2022年7月26日11点23分&12点54分 330 | 1、删除&更改了部分报错报障IP,提升访问流畅度 331 | 2、补充了遗漏的Twitter域名t.co 332 | 3、尝试修复E-Hentai 333 | 334 | 335 | 336 | 2022年7月25日15点30分 337 | 1、修复了反代访问 推特Twitter域名 338 | 2、更新相关Hosts和证书 339 | 340 | 341 | 342 | 2022年7月18日18点35分 343 | 1、修复了反代访问My.freenom.com域名,是Freenom的个人中心以及域名注册页面所在的域名 344 | 2、更新相关Hosts和证书 345 | 346 | 347 | 348 | 2022年7月11日22点59分 349 | 1、修复了Patreon的访问 350 | 2、恢复并更新了相关hosts项 351 | 352 | 353 | 354 | 2022年7月1日22点06分 355 | 1、增加了dlsite的下载修复和修改了部分steam的域名及IP 356 | 2、删除了自带的Hosts 357 | 3、增加了pc.ea.com域名修补 358 | -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/config_childCA.txt: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 2048 3 | 4 | prompt = no 5 | distinguished_name = req_distinguished_name 6 | req_extensions = v3_req 7 | 8 | [ req_distinguished_name ] 9 | countryName = CN 10 | organizationName = C15412 11 | commonName = C15412 12 | 13 | [ alternate_names ] 14 | DNS.0001 = *.pixiv.net 15 | DNS.0002 = pixiv.net 16 | DNS.0003 = *.secure.pixiv.net 17 | DNS.0004 = pixivision.net 18 | DNS.0005 = *.pixivision.net 19 | DNS.0006 = pixiv.me 20 | DNS.0007 = *.pixiv.me 21 | DNS.0008 = pximg.net 22 | DNS.0009 = *.pximg.net 23 | DNS.0010 = pixivsketch.net 24 | DNS.0011 = *.pixivsketch.net 25 | DNS.0012 = public-api.secure.pixiv.net 26 | DNS.0013 = wikipedia.org 27 | DNS.0014 = *.wikipedia.org 28 | DNS.0015 = m.wikipedia.org 29 | DNS.0016 = *.m.wikipedia.org 30 | DNS.0017 = google.com 31 | DNS.0018 = *.google.com 32 | DNS.0019 = archiveofourown.org 33 | DNS.0020 = *.archiveofourown.org 34 | DNS.0021 = nyaa.si 35 | DNS.0022 = *.nyaa.si 36 | DNS.0023 = wikimedia.org 37 | DNS.0024 = *.wikimedia.org 38 | DNS.0025 = exhentai.org 39 | DNS.0026 = *.exhentai.org 40 | DNS.0027 = e-hentai.org 41 | DNS.0028 = *.e-hentai.org 42 | DNS.0029 = ehgt.org 43 | DNS.0030 = discordapp.com 44 | DNS.0031 = *.discordapp.com 45 | DNS.0032 = discordapp.net 46 | DNS.0033 = *.discordapp.net 47 | DNS.0034 = discord.com 48 | DNS.0035 = *.discord.com 49 | DNS.0036 = discord.gg 50 | DNS.0037 = *.discord.gg 51 | DNS.0038 = ext-twitch.tv 52 | DNS.0039 = *.ext-twitch.tv 53 | DNS.0040 = twitch.tv 54 | DNS.0041 = *.twitch.tv 55 | DNS.0042 = ubi.com 56 | DNS.0043 = *.ubi.com 57 | DNS.0044 = mega.co.nz 58 | DNS.0045 = *.mega.co.nz 59 | DNS.0046 = mega.nz 60 | DNS.0047 = *.mega.nz 61 | DNS.0048 = mega.io 62 | DNS.0049 = *.mega.io 63 | DNS.0050 = steamcommunity.com 64 | DNS.0051 = *.steamcommunity.com 65 | DNS.0052 = steampowered.com 66 | DNS.0053 = *.steampowered.com 67 | DNS.0054 = *.steamstatic.com 68 | DNS.0055 = *.akamai.steamstatic.com 69 | DNS.0056 = akamaihd.net 70 | DNS.0057 = *.akamaihd.net 71 | DNS.0058 = *.akamaized.net 72 | DNS.0059 = *.akamaiedge.net 73 | DNS.0060 = www.dlsite.com 74 | DNS.0061 = download.dlsite.com 75 | DNS.0062 = *.dlsite.com 76 | DNS.0063 = *.origin.com 77 | DNS.0064 = *.ea.com 78 | DNS.0065 = githubusercontent.com 79 | DNS.0066 = *.githubusercontent.com 80 | DNS.0067 = github.com 81 | DNS.0068 = *.github.com 82 | DNS.0069 = patreon.com 83 | DNS.0070 = *.patreon.com 84 | DNS.0071 = patreonusercontent.com 85 | DNS.0072 = *.patreonusercontent.com 86 | DNS.0073 = fanbox.cc 87 | DNS.0074 = downloads.fanbox.cc 88 | DNS.0075 = *.fanbox.cc 89 | DNS.0076 = *.ggpht.com 90 | DNS.0077 = githubassets.com 91 | DNS.0078 = *.githubassets.com 92 | DNS.0079 = *.googlevideo.com 93 | DNS.0080 = *.freenom.com 94 | DNS.0081 = *.steam-chat.com 95 | DNS.0082 = steam-chat.com 96 | DNS.0083 = *.twitter.com 97 | DNS.0084 = twitter.com 98 | DNS.0085 = twimg.com 99 | DNS.0086 = *.twimg.com 100 | DNS.0087 = t.co 101 | DNS.0088 = apkpure.com 102 | DNS.0089 = *.apkpure.com 103 | DNS.0090 = nhentai.net 104 | DNS.0091 = *.nhentai.net 105 | DNS.0092 = *.SharePoint.com 106 | DNS.0093 = iwara.tv 107 | DNS.0094 = *.iwara.tv 108 | DNS.0095 = paypal.com 109 | DNS.0096 = *.paypal.com 110 | DNS.0097 = paypalobjects.com 111 | DNS.0098 = *.paypalobjects.com 112 | DNS.0099 = Instagram.com 113 | DNS.0100 = *.Instagram.com 114 | DNS.0101 = *.*.Instagram.com 115 | DNS.0102 = *.*.*.Instagram.com 116 | DNS.0103 = *.ig.me 117 | DNS.0104 = ig.me 118 | DNS.0105 = *.instagr.am 119 | DNS.0106 = instagr.am 120 | DNS.0107 = *.cdninstagram.com 121 | DNS.0108 = *.google.ru 122 | DNS.0109 = *.bilivideo.cn 123 | DNS.0110 = *.bilivideo.com 124 | DNS.0111 = *.steamserver.net 125 | DNS.0112 = wixmp.com 126 | DNS.0113 = *.wixmp.com 127 | DNS.0114 = ci-en.jp 128 | DNS.0115 = *.ci-en.jp 129 | DNS.0116 = reddit.com 130 | DNS.0117 = *.reddit.com 131 | DNS.0118 = redd.it 132 | DNS.0119 = *.redd.it 133 | DNS.0120 = redditstatic.com 134 | DNS.0121 = *.redditstatic.com 135 | DNS.0122 = redditmedia.com 136 | DNS.0123 = *.redditmedia.com 137 | DNS.0124 = *.thumbs.redditmedia.com 138 | DNS.0125 = wallhaven.cc 139 | DNS.0126 = *.wallhaven.cc 140 | DNS.0127 = x.com 141 | DNS.0128 = *.x.com 142 | DNS.0129 = facebook.com 143 | DNS.0130 = *.facebook.com 144 | DNS.0131 = facebook.net 145 | DNS.0132 = *.facebook.net 146 | DNS.0133 = fbsbx.com 147 | DNS.0134 = *.fbsbx.com 148 | DNS.0135 = fbcdn.net 149 | DNS.0136 = *.fbcdn.net 150 | DNS.0137 = *.xx.fbcdn.net 151 | DNS.0138 = imgur.com 152 | DNS.0139 = *.imgur.com 153 | DNS.0140 = imgix.net 154 | DNS.0141 = *.imgix.net 155 | DNS.0142 = *.fastly.steamstatic.com 156 | DNS.0143 = *.cloudflare.steamstatic.com 157 | DNS.0144 = *.github.dev 158 | DNS.0145 = greasyfork.org 159 | DNS.0146 = *.greasyfork.org 160 | 161 | 162 | [ v3_req ] 163 | keyUsage = digitalSignature 164 | extendedKeyUsage = "serverAuth,clientAuth" 165 | basicConstraints = CA:false 166 | subjectAltName = @alternate_names 167 | subjectKeyIdentifier = hash 168 | -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/config_rootCA.txt: -------------------------------------------------------------------------------- 1 | [ req ] 2 | default_bits = 2048 3 | 4 | prompt = no 5 | distinguished_name = req_distinguished_name 6 | x509_extensions = v3_ca 7 | v3_extensions = v3_ext 8 | 9 | [ req_distinguished_name ] 10 | countryName = CN 11 | organizationName = NginxReverseProxy 12 | commonName = Pixiv.net 13 | 14 | [ v3_ext ] 15 | keyUsage = keyCertSign,cRLSign 16 | basicConstraints = critical,CA:true 17 | subjectKeyIdentifier = hash 18 | authorityKeyIdentifier = keyid,issuer 19 | 20 | [ v3_ca ] 21 | basicConstraints = critical,CA:TRUE 22 | subjectKeyIdentifier = hash 23 | authorityKeyIdentifier = keyid:always,issuer:always 24 | 25 | [ v3_req ] 26 | keyUsage = digitalSignature 27 | extendedKeyUsage = "serverAuth,clientAuth" 28 | basicConstraints = CA:TRUE 29 | subjectAltName = @alternate_names 30 | subjectKeyIdentifier = hash -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/config_signCA.txt: -------------------------------------------------------------------------------- 1 | [ ca ] 2 | default_ca = myca 3 | 4 | [ myca ] 5 | serial = ./crtserial.srl 6 | database = ./index.txt 7 | new_certs_dir = ./ 8 | certificate = ./rootCA.crt 9 | private_key = ./rootCA.key 10 | default_md = sha256 11 | default_days = 3650 12 | unique_subject = no 13 | policy = my_policy 14 | copy_extensions = copy 15 | 16 | 17 | [ my_policy ] 18 | countryName = optional 19 | stateOrProvinceName = optional 20 | localityName = optional 21 | organizationName = optional 22 | organizationalUnitName = optional 23 | commonName = supplied 24 | emailAddress = optional -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/★使用说明★.txt: -------------------------------------------------------------------------------- 1 | 1.下载 OpenSSL(https://slproweb.com/products/Win32OpenSSL.html)安装,设置为「环境变量」(自行百度,只要在CMD中输入openssl有反应就行,而不是「'openssl' 不是内部或外部命令,也不是可运行的程序或批处理文件」)。 2 | 3 | 2.第一次使用时直接使用「【限初次使用】一键生成根证书和子证书.bat」并将rootCA.crt安装到系统受信任的根证书列表即可,生成的Pixiv.key和Pixiv.crt可替换软件自带的CA。 4 | 5 | 3.需要添加域名时通过修改「config_childCA.txt」加入 6 | 7 | 4.修改完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的「Pixiv.crt」和「pixiv.net.key」替换Nginx证书目录「/conf/ca」原先的文件,在系统host文件添加「127.0.0.1 域名」的字段 8 | 9 | 5.配置文件更新时仅需进行复制替换「config_childCA.txt」然后进行第4步 -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/【修改config_childCA.txt后使用】重新签发子证书.bat: -------------------------------------------------------------------------------- 1 | del /f /s /q pixiv.net.csr 2 | del /f /s /q pixiv.net.crt 3 | .\openssl\openssl req -new -sha256 -key pixiv.net.key -out pixiv.net.csr -config config_childCA.txt 4 | .\openssl\openssl ca -config config_signCA.txt -in pixiv.net.csr -out pixiv.net.crt 5 | pause -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/【可选】清理生成证书后产生的垃圾文件.bat: -------------------------------------------------------------------------------- 1 | del /f /s /q *.pem 2 | del /f /s /q crtserial.srl.old 3 | del /f /s /q index.txt.old 4 | del /f /s /q index.txt.attr 5 | del /f /s /q index.txt.attr.old 6 | echo 01 > crtserial.srl 7 | break > index.txt -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/【已安装openssl使用】【修改config_childCA.txt后使用】重新签发子证书.bat: -------------------------------------------------------------------------------- 1 | del /f /s /q pixiv.net.csr 2 | del /f /s /q pixiv.net.crt 3 | openssl req -new -sha256 -key pixiv.net.key -out pixiv.net.csr -config config_childCA.txt 4 | openssl ca -config config_signCA.txt -in pixiv.net.csr -out pixiv.net.crt 5 | pause -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/【已安装openssl使用】【限初次使用】一键生成根证书和子证书.bat: -------------------------------------------------------------------------------- 1 | echo 01 > crtserial.srl 2 | break > index.txt 3 | openssl genrsa -out pixiv.net.key 2048 4 | openssl genrsa -out rootCA.key 2048 5 | openssl req -new -x509 -key rootCA.key -out rootCA.crt -days 3650 -config config_rootCA.txt 6 | openssl req -new -sha256 -key pixiv.net.key -out pixiv.net.csr -config config_childCA.txt 7 | openssl ca -config config_signCA.txt -in pixiv.net.csr -out pixiv.net.crt 8 | pause -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/【限初次使用】一键生成根证书和子证书.bat: -------------------------------------------------------------------------------- 1 | echo 01 > crtserial.srl 2 | break > index.txt 3 | .\openssl\openssl genrsa -out pixiv.net.key 2048 4 | .\openssl\openssl genrsa -out rootCA.key 2048 5 | .\openssl\openssl req -new -x509 -key rootCA.key -out rootCA.crt -days 3650 -config config_rootCA.txt 6 | .\openssl\openssl req -new -sha256 -key pixiv.net.key -out pixiv.net.csr -config config_childCA.txt 7 | .\openssl\openssl ca -config config_signCA.txt -in pixiv.net.csr -out pixiv.net.crt 8 | pause -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/演示01:一键生成证书.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/自签证书傻瓜式批处理包/演示01:一键生成证书.gif -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/演示02:添加域名.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mashirozx/Pixiv-Nginx/3eb840ad31f2f0e0c55e79f4db2019b0a2186c23/自签证书傻瓜式批处理包/演示02:添加域名.gif -------------------------------------------------------------------------------- /自签证书傻瓜式批处理包/自签证书★使用说明★.txt: -------------------------------------------------------------------------------- 1 | 1、 2 | 配置文件一起的还有一个openssl压缩包,可供未安装openssl的使用,把压缩包里面的openssl文件夹解压到自签证书批处理包的文件夹里面即可 3 | 4 | 2.第一次使用时直接使用「【限初次使用】一键生成根证书和子证书.bat」并将 rootCA.crt 安装到 系统 受信任的根证书颁发机构 目录下,生成的Pixiv.net.key和Pixiv.net.crt可替换软件自带的CA。 5 | 6 | 导入根证书具体操作:双击打开rootCA.crt,点击“安装证书”,进入“证书导入向导”,存储位置选择“本地计算机”,单击“下一步”继续,选择“将所有的证书都放入下列存储”,然后点击“浏览”,选择“受信任的根证书颁发机构”,然后点击“确定”,然后点击“下一步”,最后点击“完成” 7 | 8 | 9 | 3.需要添加域名时打开「config_childCA.txt」加入 10 | 11 | 12 | 4.修改完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的「Pixiv.net.crt」和「pixiv.net.key」替换Nginx证书目录「/conf/ca」原先的文件,在系统host文件添加「127.0.0.1 域名」的字段 13 | 14 | 5.配置文件更新时仅需进行修改「config_childCA.txt」然后进行第4步 15 | 16 | 17 | 生成的子证书存放目录:nginx安装目录/conf/ca 18 | 生成证书时如果需要操作请输入英文字母y然后回车 --------------------------------------------------------------------------------