mirror of
https://github.com/mashirozx/Pixiv-Nginx.git
synced 2024-12-12 09:44:32 +08:00
d61f147702
* 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 * 更新steam上游 * 2024年10月17日更新 更新Steamd的FastlyCDN和imgur * Delete conf/DLsite.conf * Delete conf/SteamCDN.params * Delete conf/Discord.conf * Delete conf/key.pem * Delete conf/cert.pem * Delete conf/pixiv.conf * 更新Pixiv服务器上游IP * Delete conf directory then reload * rename and rebuild the conf * 更新日志 * 自签证书★使用说明★ * Delete 备用文件 directory * Update nginx.conf * Update and rename Hosts to host * Delete hosts * Update and rename host to hosts
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
# imgur-com Start
|
|
upstream imgur-com {
|
|
server 167.82.0.193:443;
|
|
server 167.82.20.193:443;
|
|
server 167.82.84.193:443;
|
|
server 167.82.88.193:443;
|
|
server 146.75.112.193:443;
|
|
server 146.75.20.193:443;
|
|
server 151.101.0.193:443;
|
|
server 151.101.64.193:443;
|
|
server 151.101.76.193:443;
|
|
server 151.101.88.193:443;
|
|
server 151.101.108.193:443;
|
|
server 151.101.128.193:443;
|
|
server 151.101.192.193:443;
|
|
server 151.101.228.193:443;
|
|
server 199.232.208.193:443;
|
|
server 199.232.212.193:443;
|
|
server 199.232.232.193:443;
|
|
keepalive 16;
|
|
keepalive_time 1h;
|
|
keepalive_timeout 300s;
|
|
keepalive_requests 10000;
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
server_name imgur.com;
|
|
server_name *.imgur.com;
|
|
|
|
include cert.conf;
|
|
client_max_body_size 50M;
|
|
|
|
location / {
|
|
proxy_max_temp_file_size 0;
|
|
proxy_pass https://imgur-com/;
|
|
proxy_buffer_size 64k;
|
|
proxy_buffers 32 64k;
|
|
proxy_busy_buffers_size 128k;
|
|
include shared-proxy-params-1.conf;
|
|
}
|
|
}
|
|
# imgur-com End
|