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然后回车
--------------------------------------------------------------------------------