mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-12-12 09:44:32 +08:00
feat: update e-hentai support and login support
This commit is contained in:
parent
636ec38d81
commit
65dc2cf08e
@ -5,8 +5,8 @@
|
||||
|
||||
使用说明见 <https://2heng.xin/2017/09/19/pixiv/>
|
||||
|
||||
请在[此处](https://github.com/mashirozx/Pixiv-Nginx/releases)下载最新版`Source code
|
||||
(zip)`;或者在本页点击下图所示的按键下载。
|
||||
请在[此处](https://github.com/mashirozx/Pixiv-Nginx/releases)下载稳定版`Source code
|
||||
(zip)`;或者在本页点击下图所示的按键下载以获取最新版。
|
||||
![](https://view.moezx.cc/images/2018/09/17/git.png)
|
||||
|
||||
如遇本页下载速度过慢,可尝试通过[国内镜像](https://gitee.com/mashirozx/Pixiv-Nginx)下载。
|
||||
|
@ -448,3 +448,46 @@ server {
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
|
||||
upstream e-hentai-lb {
|
||||
server 104.20.26.25:443;
|
||||
server 104.20.27.25:443;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name e-hentai.org;
|
||||
|
||||
|
||||
ssl_certificate ca/pixiv.net.crt;
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
location / {
|
||||
proxy_pass https://e-hentai-lb/;
|
||||
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;
|
||||
proxy_set_header User-Agent $http_user_agent;
|
||||
proxy_set_header Accept-Encoding '';
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name forums.e-hentai.org;
|
||||
|
||||
|
||||
ssl_certificate ca/pixiv.net.crt;
|
||||
ssl_certificate_key ca/pixiv.net.key;
|
||||
|
||||
location / {
|
||||
proxy_pass https://94.100.18.243:443/;
|
||||
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;
|
||||
proxy_set_header User-Agent $http_user_agent;
|
||||
proxy_set_header Accept-Encoding '';
|
||||
proxy_buffering off;
|
||||
}
|
||||
}
|
||||
|
2
hosts
2
hosts
@ -119,6 +119,8 @@
|
||||
|
||||
# Exhentai Start
|
||||
127.0.0.1 exhentai.org
|
||||
127.0.0.1 e-hentai.org
|
||||
127.0.0.1 forums.e-hentai.org
|
||||
# Exhentai end
|
||||
|
||||
# Nyaa Start
|
||||
|
@ -40,6 +40,8 @@ DNS.26 = *.nyaa.si
|
||||
DNS.27 = wikimedia.org
|
||||
DNS.28 = upload.wikimedia.org
|
||||
DNS.29 = exhentai.org
|
||||
DNS.30 = e-hentai.org
|
||||
DNS.31 = forums.e-hentai.org
|
||||
|
||||
[ v3_req ]
|
||||
keyUsage = digitalSignature
|
||||
|
Loading…
Reference in New Issue
Block a user