Pixiv-Nginx/conf/E-hentai.conf

159 lines
3.8 KiB
Plaintext
Raw Normal View History

# E-Hentai Start
upstream exhentai-lb {
server 178.175.128.252:443;
server 178.175.128.254:443;
server 178.175.129.252:443;
server 178.175.129.254:443;
server 178.175.132.20:443;
server 178.175.132.22:443;
keepalive 16;
keepalive_timeout 120;
keepalive_requests 10000;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name exhentai.org;
server_name *.exhentai.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
proxy_pass https://exhentai-lb/;
proxy_next_upstream_timeout 75;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include Proxy.conf;
}
}
upstream e-hentai-lb {
server 212.7.202.35:443;
server 212.7.202.48:443;
server 212.7.200.92:443;
server 212.7.200.95:443;
keepalive 16;
keepalive_timeout 120;
keepalive_requests 10000;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name e-hentai.org;
server_name r.e-hentai.org;
server_name g.e-hentai.org;
server_name lofi.e-hentai.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
proxy_pass https://e-hentai-lb/;
proxy_next_upstream_timeout 100;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include Proxy.conf;
}
}
upstream forums-e-hentai-lb {
server 94.100.18.243:443;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name forums.e-hentai.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
proxy_pass https://94.100.18.243:443/;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include Proxy.conf;
}
}
upstream api-e-hentai-lb {
server 212.7.202.51:443;
server 212.7.200.104:443;
keepalive 16;
keepalive_timeout 120;
keepalive_requests 10000;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name api.e-hentai.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
proxy_pass https://api-e-hentai-lb/;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include proxy.conf;
}
}
upstream upload-e-hentai-lb {
server 94.100.18.247:443;
server 94.100.18.249:443;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name upld.e-hentai.org;
server_name upload.e-hentai.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
client_max_body_size 400M;
fastcgi_connect_timeout 3000;
fastcgi_send_timeout 3000;
fastcgi_read_timeout 3000;
proxy_pass https://upload-e-hentai-lb/;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include proxy.conf;
}
}
upstream ehgt-org {
server [2a00:7c80:0:12d::38a1]:443 max_fails=4 fail_timeout=60s;
server [2a00:7c80:0:13b::37a4]:443 max_fails=4 fail_timeout=60s;
server [2a00:7c80:0:123::3a85]:443 max_fails=4 fail_timeout=60s;
server 89.39.106.43:443 max_fails=4 fail_timeout=60s;
server 62.112.8.21:443 max_fails=4 fail_timeout=60s;
server 109.236.85.28:443 max_fails=4 fail_timeout=60s;
keepalive 16;
keepalive_timeout 120;
keepalive_requests 10000;
}
server {
listen 443 ssl http2;
listen 127.0.0.2:443 ssl http2;
listen [::]:443 ssl http2;
server_name ehgt.org;
access_log logs/E-hentai-access.log main buffer=4k;
error_log logs/E-hentai-error.log;
include cert.conf;
location / {
proxy_pass https://ehgt-org/;
2024.09.14 (#73) * Add files via upload Update the upstream of Steam, Pixiv, E-hentai Add Server : Discord (IPv4) Instagram (IPv6 Only, Local DNS rewrite required to rewrite all subdomains) WallHaven (IPv4, image CDN Only, excluding pages) Reddit (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitter (IPv4, Local DNS rewrite required to rewrite all subdomains) Twitch (IPv4, Local DNS And DoH were required to rewrite all subdomains) GoogleCDN (File Server IPv6 Only, website pages and IPv4 servers were not included, Local DNS rewrite required to rewrite all subdomains) * Update the self-signed certificate config self-signed certificate * Update README.md * 更换NGINX版本 * 配置文件(2024年08月31日18时11分 配置文件(2024年08月31日18时11分 1、更新部分上游服务器 2、改进KeepAlive参数,提升访问可靠性 * 改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 * 改进部分上游服务器写法 * Update the domains * 增加FaceBook反向代理 配置文件(2024年09月14日14时00分 1、修复部分上游服务器 2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 * 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 删除非windows使用的文件夹,现在conf文件夹多端通用,nginx版本大于18即可 * 更新子证书内容,以支持FaceBook 更新子证书内容,以支持FaceBook * Delete facebook * Delete conf/Reddit.conf * Delete conf/Twitch.conf * Delete conf/Twitter.conf * Delete conf/instagram.conf * Delete conf/Twitter.params * Delete conf/Twitch.params * Delete conf/Discord.conf
2024-09-14 18:46:59 +08:00
include Proxy.conf;
}
}
# E-Hentai End