Pixiv-Nginx/conf/Steam.conf

248 lines
7.5 KiB
Plaintext
Raw Permalink Normal View History

upstream steam-store {
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
#server 184.24.82.108:443 max_fails=5 fail_timeout=60s;#HighPing
#server 23.1.179.144:443 max_fails=5 fail_timeout=60s;#HighPing
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
#server 23.195.152.91:443 max_fails=5 fail_timeout=60s;#HighPing
server 104.71.48.121:443 max_fails=5 fail_timeout=60s;
server 23.45.56.78:443 max_fails=5 fail_timeout=60s;
server 184.85.112.102:443 max_fails=5 fail_timeout=60s;
server 184.87.103.42:443 max_fails=5 fail_timeout=60s;
server 23.77.215.46:443 max_fails=5 fail_timeout=60s;#
server 23.51.142.168:443 max_fails=5 fail_timeout=60s;#
server 23.41.77.6:443 max_fails=5 fail_timeout=60s;#
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
server 23.36.106.129:443 max_fails=5 fail_timeout=60s;#HighPing
server 23.36.252.78:443 max_fails=5 fail_timeout=60s;#HighPing
server 23.208.81.63:443 max_fails=5 fail_timeout=60s;#
server 23.200.148.81:443 max_fails=5 fail_timeout=60s;#
server 23.200.152.81:443 max_fails=5 fail_timeout=60s;#
server 23.219.73.99:443 max_fails=5 fail_timeout=60s;#
server 23.211.57.127:443 max_fails=5 fail_timeout=60s;#
server 23.219.69.47:443 max_fails=5 fail_timeout=60s;#
server 23.48.229.101:443 max_fails=5 fail_timeout=60s;#
keepalive 16;
keepalive_time 1h;
keepalive_timeout 120;
keepalive_requests 10000;
}
upstream steam-community {
server 23.1.179.144:443;
server 104.103.145.69:443;
server 104.91.87.202:443;
}
#upstream steam-community302 {
# server str001.steam302.xyz:443;
# server str002.steam302.xyz:443;
# server str003.steam302.xyz:443;
#}
# Steam Start
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name *.steamcommunity.com;
server_name steamcommunity.com;
include cert.conf;
location ^.*(discussions|comment|forum).*$ {
set $rewrite_host "str003.steam302.xyz";
proxy_pass https://$rewrite_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real_IP $remote_addr;
include proxy.params;
}
location / {
proxy_pass https://steam-community/;
proxy_next_upstream_timeout 60;
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;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
#resolver public1.alidns.com valid=300;
server_name store.steampowered.com;
server_name api.steampowered.com;
server_name checkout.steampowered.com;
server_name help.steampowered.com;
server_name login.steampowered.com;
server_name steampowered.com;
include cert.conf;
#access_log logs/SteamCDN-access.log main;
access_log off;
error_log logs/SteamCDN-error.log;
location / {
proxy_pass https://steam-store/;
proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent;
proxy_next_upstream_timeout 90;
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;
#proxy_ssl_name $http_host;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name community.akamai.steamstatic.com;
server_name community.cloudflare.steamstatic.com;
server_name community.steamstatic.com;
include cert.conf;
location / {
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
proxy_pass https://AkamaiCDN;
proxy_http_version 1.1;
proxy_next_upstream_timeout 60;
proxy_connect_timeout 5;
keepalive_timeout 120;
proxy_set_header Connection "";
proxy_next_upstream error timeout http_403 http_429 http_500 http_502 http_503 http_504 non_idempotent;
proxy_set_header Host "community.steamstatic.com";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header Accept-Encoding '';
proxy_ssl_server_name off;
proxy_ssl_name "community.steamstatic.com";
proxy_buffering off;
access_log off;
error_log logs/SteamCDN-error.log;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name steamuserimages-a.akamaihd.net;
server_name steamcdn-a.akamaihd.net;
server_name steamcommunity-a.akamaihd.net;
include cert.conf;
location / {
#set $rewrite_host "${http_host}.edgesuite.net";
#proxy_pass https://$rewrite_host;
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
proxy_pass https://AkamaiCDN;
include Proxy.conf;
proxy_ssl_name $http_host;
access_log off;
error_log logs/SteamCDN-error.log;
}
}
#SteamStatic 国内cdn白山云eccdnxst.dl.eccdnx.com
#阿里昆仑雀牛云cdn.queniuqe.com
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name cdn.cloudflare.steamstatic.com cdn.akamai.steamstatic.com cdn.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "media.st.dl.eccdnx.com";
include SteamCDN..conf;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name clan.steamstatic.com clan.akamai.steamstatic.com clan.cloudflare.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "clan.st.dl.eccdnx.com";
include SteamCDN..conf;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name avatars.steamstatic.com avatars.akamai.steamstatic.com avatars.cloudflare.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "avatars.st.dl.eccdnx.com";
include SteamCDN..conf;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name store.steamstatic.com store.akamai.steamstatic.com store.cloudflare.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "store.st.dl.eccdnx.com";
include SteamCDN..conf;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name shared.steamstatic.com shared.akamai.steamstatic.com shared.cloudflare.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "shared.st.dl.eccdnx.com";
include SteamCDN..conf;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name video.steamstatic.com video.akamai.steamstatic.com video.cloudflare.steamstatic.com;
include cert.conf;
location / {
set $rewrite_host "video.steamstatic.com.edgesuite.net";
resolver public1.alidns.com valid=300 ipv4=on ipv6=off;
proxy_pass https://$rewrite_host;
proxy_http_version 1.1;
proxy_connect_timeout 5;
keepalive_timeout 120;
proxy_set_header Connection "";
proxy_set_header Host "video.steamstatic.com";
proxy_set_header User-Agent $http_user_agent;
proxy_set_header Accept-Encoding '';
proxy_buffering off;
proxy_ssl_server_name off;
proxy_ssl_name "video.steamstatic.com";
access_log off;
error_log logs/SteamCDN-error.log;
}
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name steambroadcast.akamaized.net broadcast.akamai.steamstatic.com broadcast.cloudflare.steamstatic.com;
include cert.conf;
location / {
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
set $rewrite_host "${http_host}.edgesuite.net";
resolver public1.alidns.com valid=300 ipv4=on ipv6=off;
proxy_pass https://AkamaiCDN;
include Proxy.conf;
#proxy_ssl_name $source_host;
access_log off;
error_log logs/SteamCDN-error.log;
}
}
# Steam End