mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-11-22 05:38:11 +08:00
Update hosts
This commit is contained in:
parent
0c05a1ce48
commit
a35cf6fcce
2
hosts
2
hosts
@ -12,11 +12,11 @@
|
||||
127.0.0.1 factory.pixiv.net
|
||||
127.0.0.1 comic.pixiv.net
|
||||
127.0.0.1 novel.pixiv.net
|
||||
127.0.0.1 imgaz.pixiv.net
|
||||
127.0.0.1 sensei.pixiv.net
|
||||
127.0.0.1 fanbox.pixiv.net
|
||||
127.0.0.1 i.pximg.net
|
||||
210.140.131.145 source.pixiv.net
|
||||
210.140.131.147 imgaz.pixiv.net
|
||||
210.129.120.50 app-api.pixiv.net
|
||||
74.120.148.207 g-client-proxy.pixiv.net
|
||||
210.140.131.145 i1.pixiv.net
|
||||
|
@ -1 +1 @@
|
||||
12152
|
||||
2180
|
||||
|
@ -12,11 +12,11 @@
|
||||
127.0.0.1 factory.pixiv.net
|
||||
127.0.0.1 comic.pixiv.net
|
||||
127.0.0.1 novel.pixiv.net
|
||||
127.0.0.1 imgaz.pixiv.net
|
||||
127.0.0.1 sensei.pixiv.net
|
||||
127.0.0.1 fanbox.pixiv.net
|
||||
127.0.0.1 i.pximg.net
|
||||
210.140.131.145 source.pixiv.net
|
||||
210.140.131.147 imgaz.pixiv.net
|
||||
210.129.120.50 app-api.pixiv.net
|
||||
74.120.148.207 g-client-proxy.pixiv.net
|
||||
210.140.131.145 i1.pixiv.net
|
||||
|
@ -47,6 +47,13 @@ http {
|
||||
server 210.140.175.130:443;
|
||||
}
|
||||
|
||||
upstream imgaz-pixiv-net {
|
||||
server 210.140.131.145:443;
|
||||
server 210.140.131.144:443;
|
||||
server 210.140.131.147:443;
|
||||
server 210.140.131.153:443;
|
||||
}
|
||||
|
||||
upstream i-pximg-net {
|
||||
server 210.140.92.140:443;
|
||||
server 210.140.92.137:443;
|
||||
@ -60,7 +67,7 @@ http {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
#listen 80;
|
||||
listen 443 ssl;
|
||||
server_name pixiv.net;
|
||||
server_name www.pixiv.net;
|
||||
@ -73,6 +80,8 @@ http {
|
||||
ssl_certificate ca/pixiv.net.crt;
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
client_max_body_size 50M;
|
||||
|
||||
location / {
|
||||
proxy_pass https://www-pixiv-net;
|
||||
proxy_set_header Host $http_host;
|
||||
@ -175,6 +184,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name imgaz.pixiv.net;
|
||||
server_name comic.pixiv.net;
|
||||
server_name novel.pixiv.net;
|
||||
|
||||
@ -183,7 +193,7 @@ http {
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
location / {
|
||||
proxy_pass https://210.140.131.147/;
|
||||
proxy_pass https://imgaz-pixiv-net;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Real_IP $remote_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user