diff --git a/Hosts b/Hosts new file mode 100644 index 0000000..adcde16 --- /dev/null +++ b/Hosts @@ -0,0 +1,608 @@ +# GitHub Host Start + +185.199.108.154 github.githubassets.com +140.82.114.21 central.github.com +185.199.108.153 assets-cdn.github.com +185.199.109.133 github.map.fastly.net +199.232.69.194 github.global.ssl.fastly.net +140.82.112.4 gist.github.com +185.199.108.153 github.io +#13.114.40.48 GitHub.com +#52.192.72.89 github.com +20.205.243.166 github.com +20.27.177.113 github.com +20.200.245.247 github.com +127.0.0.1 GitHub.com +#52.69.186.44 github.com +20.205.243.168 api.github.com +#140.82.113.5 api.github.com +#185.199.110.133 raw.githubusercontent.com +#185.199.109.133 user-images.githubusercontent.com +#185.199.109.133 favicons.githubusercontent.com +#185.199.109.133 avatars5.githubusercontent.com +#185.199.109.133 avatars4.githubusercontent.com +#185.199.109.133 avatars3.githubusercontent.com +#185.199.109.133 avatars2.githubusercontent.com +#185.199.109.133 avatars1.githubusercontent.com +#185.199.109.133 avatars0.githubusercontent.com +#185.199.109.133 avatars.githubusercontent.com +#185.199.109.133 objects.githubusercontent.com +127.0.0.1 raw.githubusercontent.com +127.0.0.1 desktop.githubusercontent.com +127.0.0.1 camo.githubusercontent.com +127.0.0.1 user-images.githubusercontent.com +127.0.0.1 favicons.githubusercontent.com +127.0.0.1 avatars5.githubusercontent.com +127.0.0.1 avatars4.githubusercontent.com +127.0.0.1 avatars3.githubusercontent.com +127.0.0.1 avatars2.githubusercontent.com +127.0.0.1 avatars1.githubusercontent.com +127.0.0.1 avatars0.githubusercontent.com +127.0.0.1 avatars.githubusercontent.com +127.0.0.1 objects.githubusercontent.com +127.0.0.1 media.githubusercontent.com +13.124.75.135 codeload.github.com +#140.82.114.9 codeload.github.com +52.216.163.11 github-cloud.s3.amazonaws.com +52.216.163.11 github-com.s3.amazonaws.com +52.216.163.11 github-production-release-asset-2e65be.s3.amazonaws.com +52.216.163.11 github-production-user-asset-6210df.s3.amazonaws.com +52.216.163.11 github-production-repository-file-5c1aeb.s3.amazonaws.com +185.199.110.153 githubstatus.com +64.71.144.202 github.community + +# dns : https://github.com/ineo6/hosts +# и £ +# GitHub Host End + +#Pixiv Start +127.0.0.1 pixiv.net +127.0.0.1 www.pixiv.net +127.0.0.1 ssl.pixiv.net +127.0.0.1 accounts.pixiv.net +127.0.0.1 touch.pixiv.net +127.0.0.1 oauth.secure.pixiv.net +127.0.0.1 dic.pixiv.net +127.0.0.1 en-dic.pixiv.net +127.0.0.1 sketch.pixiv.net +127.0.0.1 payment.pixiv.net +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 imp.pixiv.net +127.0.0.1 sensei.pixiv.net +127.0.0.1 fanbox.pixiv.net +127.0.0.1 source.pixiv.net +127.0.0.1 i1.pixiv.net +127.0.0.1 i2.pixiv.net +127.0.0.1 i3.pixiv.net +127.0.0.1 i4.pixiv.net +127.0.0.1 hls1.pixivsketch.net +127.0.0.1 hls2.pixivsketch.net +127.0.0.1 hls3.pixivsketch.net +127.0.0.1 hls4.pixivsketch.net +127.0.0.1 hls5.pixivsketch.net +127.0.0.1 hls6.pixivsketch.net +127.0.0.1 hls7.pixivsketch.net +127.0.0.1 hls8.pixivsketch.net +127.0.0.1 hls9.pixivsketch.net +127.0.0.1 hls10.pixivsketch.net +127.0.0.1 hls11.pixivsketch.net +127.0.0.1 hls12.pixivsketch.net +127.0.0.1 hls13.pixivsketch.net +127.0.0.1 hls14.pixivsketch.net +127.0.0.1 hls15.pixivsketch.net +127.0.0.1 hls16.pixivsketch.net +127.0.0.1 hls17.pixivsketch.net +127.0.0.1 hls18.pixivsketch.net +127.0.0.1 hls19.pixivsketch.net +127.0.0.1 hls20.pixivsketch.net +127.0.0.1 hlsa1.pixivsketch.net +127.0.0.1 hlsa2.pixivsketch.net +127.0.0.1 hlsa3.pixivsketch.net +127.0.0.1 hlsa4.pixivsketch.net +127.0.0.1 hlsa5.pixivsketch.net +127.0.0.1 hlsa6.pixivsketch.net +127.0.0.1 hlsa7.pixivsketch.net +127.0.0.1 hlsa8.pixivsketch.net +127.0.0.1 hlsa10.pixivsketch.net +127.0.0.1 hlsa11.pixivsketch.net +127.0.0.1 hlsa12.pixivsketch.net +127.0.0.1 hlsa13.pixivsketch.net +127.0.0.1 hlsa14.pixivsketch.net +127.0.0.1 hlsa15.pixivsketch.net +127.0.0.1 hlsa16.pixivsketch.net +127.0.0.1 hlsa17.pixivsketch.net +127.0.0.1 hlsa18.pixivsketch.net +127.0.0.1 hlsa19.pixivsketch.net +127.0.0.1 hlsc1.pixivsketch.net +127.0.0.1 hlsc2.pixivsketch.net +127.0.0.1 hlsc3.pixivsketch.net +127.0.0.1 hlsc4.pixivsketch.net +127.0.0.1 hlsc5.pixivsketch.net +127.0.0.1 hlsc6.pixivsketch.net +127.0.0.1 hlse1.pixivsketch.net +127.0.0.1 hlse2.pixivsketch.net +127.0.0.1 hlse3.pixivsketch.net +127.0.0.1 hlse4.pixivsketch.net +127.0.0.1 hlse5.pixivsketch.net +127.0.0.1 hlse6.pixivsketch.net +127.0.0.1 hlse7.pixivsketch.net +127.0.0.1 hlse8.pixivsketch.net +127.0.0.1 hlse9.pixivsketch.net +127.0.0.1 hlst1.pixivsketch.net +127.0.0.1 i.pximg.net +127.0.0.1 downloads.fanbox.cc +127.0.0.1 api.fanbox.cc +127.0.0.1 www.fanbox.cc +127.0.0.1 app-api.pixiv.net +13.226.113.16 g-client-proxy.pixiv.net +210.140.131.159 d.pixiv.org +210.140.92.140 pixiv.pximg.net +210.140.131.246 api.booth.pm +210.140.131.220 myaccount.pixiv.net +#Pixiv End + +# ˳ һ ά ? +# Wikipedia Start +127.0.0.1 en.wikipedia.org +127.0.0.1 zh.wikipedia.org # ά ٿ ? +127.0.0.1 en.m.wikipedia.org +127.0.0.1 zh.m.wikipedia.org +127.0.0.1 zh-yue.wikipedia.org # ά ٿ ? +127.0.0.1 wuu.wikipedia.org # ά ٿ ? +127.0.0.1 ug.wikipedia.org #ά ά ٿ ? +127.0.0.1 ja.wikipedia.org # ά ٿ ? +127.0.0.1 zh.wikinews.org # ά ? +# Wikipedia End + +# Wikimedia Start +127.0.0.1 wikimedia.org +127.0.0.1 upload.wikimedia.org +# Wikimedia End + +# ˳ һ Steam +# Steam Start +23.195.152.91 store.steampowered.com +23.199.145.221 login.steampowered.com +23.199.145.221 help.steampowered.com +23.199.145.221 api.steampowered.com +127.0.0.1 steamcommunity.com +#127.0.0.1 steam-chat.com +104.69.45.52 steam-chat.com +::1 cdn.steamstatic.com +127.0.0.1 cdn.steamstatic.com +::1 cdn.akamai.steamstatic.com +127.0.0.1 cdn.akamai.steamstatic.com +::1 cdn.cloudflare.steamstatic.com +127.0.0.1 cdn.cloudflare.steamstatic.com +::1 clan.steamstatic.com; +127.0.0.1 clan.steamstatic.com; +::1 clan.akamai.steamstatic.com; +127.0.0.1 clan.akamai.steamstatic.com; +::1 clan.cloudflare.steamstatic.com; +127.0.0.1 clan.cloudflare.steamstatic.com; +::1 store.akamai.steamstatic.com +127.0.0.1 store.akamai.steamstatic.com +::1 store.cloudflare.steamstatic.com +127.0.0.1 store.cloudflare.steamstatic.com +::1 avatars.akamai.steamstatic.com +127.0.0.1 avatars.akamai.steamstatic.com +::1 avatars.cloudflare.steamstatic.com +127.0.0.1 avatars.cloudflare.steamstatic.com +::1 shared.steamstatic.com +127.0.0.1 shared.steamstatic.com +::1 shared.akamai.steamstatic.com +127.0.0.1 shared.akamai.steamstatic.com +::1 shared.cloudflare.steamstatic.com +127.0.0.1 shared.cloudflare.steamstatic.com +::1 video.steamstatic.com +127.0.0.1 video.steamstatic.com +::1 video.akamai.steamstatic.com +127.0.0.1 video.akamai.steamstatic.com +::1 video.cloudflare.steamstatic.com +127.0.0.1 video.cloudflare.steamstatic.com +::1 broadcast.akamai.steamstatic.com +127.0.0.1 broadcast.akamai.steamstatic.com +127.0.0.1 steamuserimages-a.akamaihd.net +127.0.0.1 steamcdn-a.akamaihd.net +23.48.201.42 clientconfig.akamai.steamstatic.com +23.48.201.34 clientconfig.akamai.steamstatic.com + +127.0.0.1 community.steamstatic.com +::1 community.steamstatic.com +127.0.0.1 community.akamai.steamstatic.com +::1 community.akamai.steamstatic.com +127.0.0.1 community.cloudflare.steamstatic.com +::1 community.cloudflare.steamstatic.com +# Steam End + +# AO3 Start +#127.0.0.1 archiveofourown.org +# AO3 End + +# Exhentai Start +127.0.0.1 exhentai.org +127.0.0.1 s.exhentai.org +127.0.0.1 e-hentai.org +127.0.0.1 api.e-hentai.org +127.0.0.1 r.e-hentai.org +127.0.0.1 g.e-hentai.org +127.0.0.1 lofi.e-hentai.org +127.0.0.1 upld.e-hentai.org +127.0.0.1 forums.e-hentai.org +127.0.0.1 ehgt.org +# Exhentai End + +# Nyaa Start +#127.0.0.1 nyaa.si +#127.0.0.1 www.nyaa.si +#127.0.0.1 sukebei.nyaa.si +# Nyaa End + +# dlsite Start +13.224.163.55 www.dlsite.com +13.224.163.36 www.dlsite.com +13.224.163.14 www.dlsite.com +13.224.163.122 www.dlsite.com +99.84.55.9 www.dlsite.com +99.84.55.64 www.dlsite.com +99.84.55.86 www.dlsite.com +99.84.55.128 www.dlsite.com +::2606:4700::6812:2ad www.dlsite.com +::2606:4700::6812:3ad www.dlsite.com +13.32.50.10 ssl.dlsite.com +13.32.50.49 ssl.dlsite.com +13.32.50.64 ssl.dlsite.com +13.32.50.77 ssl.dlsite.com +99.84.55.9 ssl.dlsite.com +99.84.55.64 ssl.dlsite.com +99.84.55.86 ssl.dlsite.com +99.84.55.128 ssl.dlsite.com +13.35.185.2 download.dlsite.com +13.35.185.22 download.dlsite.com +13.35.185.33 download.dlsite.com +13.35.185.95 download.dlsite.com +18.65.216.21 download.dlsite.com +18.65.216.76 download.dlsite.com +18.65.216.81 download.dlsite.com +18.65.216.103 download.dlsite.com +18.164.174.12 download.dlsite.com +18.164.174.22 download.dlsite.com +18.164.174.75 download.dlsite.com +18.164.174.89 download.dlsite.com +13.224.167.12 media.dlsite.com +13.224.167.19 media.dlsite.com +13.224.167.37 media.dlsite.com +13.224.167.113 media.dlsite.com +13.224.163.22 media.dlsite.com +13.224.163.34 media.dlsite.com +13.224.163.50 media.dlsite.com +13.224.163.73 media.dlsite.com +52.84.251.15 media.dlsite.com +52.84.251.58 media.dlsite.com +52.84.251.69 media.dlsite.com +52.84.251.116 media.dlsite.com +99.84.55.5 media.dlsite.com +99.84.55.11 media.dlsite.com +99.84.55.44 media.dlsite.com +99.84.55.66 media.dlsite.com +54.248.185.220 play.dlsite.com +54.249.233.189 play.dlsite.com +3.114.2.143 ch.dlsite.com +54.65.242.130 ch.dlsite.com +54.192.18.16 img.dlsite.jp +54.192.18.19 img.dlsite.jp +54.192.18.25 img.dlsite.jp +54.192.18.79 img.dlsite.jp +3.164.143.11 img.dlsite.jp +3.164.143.22 img.dlsite.jp +3.164.143.45 img.dlsite.jp +3.164.143.55 img.dlsite.jp +#2606:4700:100::6812:199d img.dlsite.jp +#2606:4700:100::6812:189d img.dlsite.jp +54.192.18.22 media.ci-en.jp +54.192.18.101 media.ci-en.jp +54.192.18.106 media.ci-en.jp +54.192.18.116 media.ci-en.jp +#35.76.238.66 ci-en.net +#176.34.45.157 ci-en.net +18.182.137.104 ci-en.dlsite.com +13.115.197.107 ci-en.dlsite.com +# dlsite End + +# EA Start +127.0.0.1 origin-a.akamaihd.net +127.0.0.1 api1.origin.com +127.0.0.1 pc.ea.com +# EA End + +# Twitter Start +127.0.0.1 twitter.com +127.0.0.1 api.twitter.com +127.0.0.1 ton.twitter.com +127.0.0.1 support.twitter.com +127.0.0.1 upload.twitter.com +127.0.0.1 pic.twitter.com +127.0.0.1 x.com +127.0.0.1 jf.x.com +127.0.0.1 api.x.com +127.0.0.1 ton.x.com +127.0.0.1 support.x.com +127.0.0.1 upload.x.com +127.0.0.1 pic.x.com +127.0.0.1 abs.twimg.com +127.0.0.1 pbs.twimg.com +127.0.0.1 t.lv.twimg.com +127.0.0.1 video.twimg.com +127.0.0.1 abs-0.twimg.com +127.0.0.1 t.co +# Twitter End + +# Discord Start +127.0.0.1 media.discordapp.net +127.0.0.1 images-ext-2.discordapp.net +127.0.0.1 images-ext-1.discordapp.net +127.0.0.1 dl.discordapp.net +127.0.0.1 discordapp.com +127.0.0.1 url9177.discordapp.com +127.0.0.1 canary-api.discordapp.com +127.0.0.1 cdn-ptb.discordapp.com +127.0.0.1 ptb.discordapp.com +127.0.0.1 status.discordapp.com +127.0.0.1 cdn-canary.discordapp.com +127.0.0.1 cdn.discordapp.com +127.0.0.1 streamkit.discordapp.com +127.0.0.1 i18n.discordapp.com +127.0.0.1 url9624.discordapp.com +127.0.0.1 url7195.discordapp.com +127.0.0.1 merch.discordapp.com +127.0.0.1 printer.discordapp.com +127.0.0.1 canary.discordapp.com +127.0.0.1 apps.discordapp.com +127.0.0.1 pax.discordapp.com +127.0.0.1 discord.com +127.0.0.1 status.discord.com +127.0.0.1 streamkit.discord.com +127.0.0.1 feedback.discord.com +127.0.0.1 click.discord.com +127.0.0.1 pax.discord.com +127.0.0.1 printer.discord.com +127.0.0.1 ptb.discord.com +127.0.0.1 canary.discord.com +127.0.0.1 bugs.discord.com +127.0.0.1 i18n.discord.com +127.0.0.1 support.discord.com +127.0.0.1 safety.discord.com +127.0.0.1 support-dev.discord.com +127.0.0.1 discord.gg +127.0.0.1 gateway.discord.gg +127.0.0.1 gateway-us-east1-b.discord.gg +# Discord End + +# Twitch Start +127.0.0.1 twitch.tv +127.0.0.1 www.twitch.tv +127.0.0.1 m.twitch.tv +127.0.0.1 app.twitch.tv +127.0.0.1 clips.twitch.tv +127.0.0.1 gql.twitch.tv +127.0.0.1 dashboard.twitch.tv +127.0.0.1 player.twitch.tv +127.0.0.1 api.twitch.tv +127.0.0.1 irc-ws.chat.twitch.tv +127.0.0.1 irc-ws-r.chat.twitch.tv +127.0.0.1 vod-storyboards.twitch.tv +127.0.0.1 vod-metro.twitch.tv +127.0.0.1 music.twitch.tv +127.0.0.1 player.m7g.twitch.tv +127.0.0.1 badges.twitch.tv +127.0.0.1 blog.twitch.tv +127.0.0.1 inspector.twitch.tv +127.0.0.1 stream.twitch.tv +127.0.0.1 dev.twitch.tv +127.0.0.1 spade.twitch.tv +127.0.0.1 trowel.twitch.tv +127.0.0.1 vod-secure.twitch.tv +127.0.0.1 extension-files.twitch.tv +127.0.0.1 help.twitch.tv +127.0.0.1 cvp.twitch.tv +127.0.0.1 brand.twitch.tv +127.0.0.1 assets.help.twitch.tv +127.0.0.1 passport.twitch.tv +127.0.0.1 id.twitch.tv +127.0.0.1 link.twitch.tv +127.0.0.1 id-cdn.twitch.tv +127.0.0.1 discuss.dev.twitch.tv +127.0.0.1 ingest.twitch.tv +127.0.0.1 usher.ttvnw.net +127.0.0.1 clips-media-assets2.twitch.tv +127.0.0.1 us-west-2.uploads-regional.twitch.tv +127.0.0.1 safety.twitch.tv +127.0.0.1 pubsub-edge.twitch.tv +127.0.0.1 panels.twitch.tv +127.0.0.1 gql.twitch.tv +# Twitch End + +# nhentai Start +104.21.66.123 nhentai.net +185.107.44.3 nhentai.net +127.0.0.1 t2.nhentai.net +127.0.0.1 t3.nhentai.net +127.0.0.1 t5.nhentai.net +127.0.0.1 t7.nhentai.net +127.0.0.1 static.nhentai.net +# nhentai End + +# Instagram Start +127.0.0.1 ig.me +127.0.0.1 www.ig.me +127.0.0.1 instagr.am +127.0.0.1 i.instagr.am +127.0.0.1 www.instagr.am +127.0.0.1 Instagram.com +127.0.0.1 b.i.Instagram.com +127.0.0.1 z-p42.i.instagram.com +127.0.0.1 upload-ec2.instagram.com +127.0.0.1 help.instagram.com +127.0.0.1 m.Instagram.com +127.0.0.1 www.Instagram.com +127.0.0.1 privacycenter.instagram.com +127.0.0.1 z-p42.graph.instagram.com +127.0.0.1 z-p42.upload.instagram.com +127.0.0.1 z-p42.dyi.www.instagram.com +127.0.0.1 z-p42.maps.instagram.com +127.0.0.1 z-p42.m.instagram.com +127.0.0.1 z-p42-reg-e2ee.instagram.com +127.0.0.1 z-p42.lookasideInstagram.com +127.0.0.1 z-p42-i.Instagram.com +127.0.0.1 z-p42-instagram.c10r.instagram.com +127.0.0.1 geo-p42.instagram.com +127.0.0.1 b-i.instagram.com + +127.0.0.1 api.Instagram.com +127.0.0.1 graph.instagram.com +127.0.0.1 i.Instagram.com +127.0.0.1 badges.Instagram.com +127.0.0.1 hyperlapse.Instagram.com +127.0.0.1 preprod.Instagram.com +127.0.0.1 community.Instagram.com +127.0.0.1 parents.Instagram.com +127.0.0.1 lookaside.Instagram.com +127.0.0.1 auth.Instagram.com +127.0.0.1 black.Instagram.com +127.0.0.1 creatorsupport.Instagram.com +127.0.0.1 wallets.Instagram.com +127.0.0.1 accountscenter.Instagram.com +127.0.0.1 approval.Instagram.com +127.0.0.1 graphql.Instagram.com +127.0.0.1 survey.Instagram.com +127.0.0.1 call.Instagram.com +127.0.0.1 familycenter.Instagram.com +127.0.0.1 Instagram.c10r.Instagram.com +127.0.0.1 streaming-graph.Instagram.com +127.0.0.1 geo.Instagram.com +127.0.0.1 white.Instagram.com +127.0.0.1 applink.Instagram.com +127.0.0.1 creators.Instagram.com +127.0.0.1 checkout.instagram.com +127.0.0.1 dyi.www.instagram.com + +127.0.0.1 buy.ig.me +127.0.0.1 instagram.c10r.facebook.com +127.0.0.1 instagram-p3-shv-02-iad3.fbcdn.net +127.0.0.1 l.instagram.com +127.0.0.1 logger.instagram.com +127.0.0.1 maps.instagram.com +127.0.0.1 platform.instagram.com +127.0.0.1 platform-iad3-2.cdninstagram.com +127.0.0.1 reg-e2ee.instagram.com +127.0.0.1 scontent-a-iad3-2.cdninstagram.com +127.0.0.1 scontent-b.cdninstagram.com +127.0.0.1 scontent-b-iad3-2.cdninstagram.com +127.0.0.1 scontent-iad3-2.cdninstagram.com +127.0.0.1 static-iad3-2.cdninstagram.com +127.0.0.1 upload.instagram.com +127.0.0.1 video-iad3-2.cdninstagram.com +127.0.0.1 web-chat-e2ee.instagram.com +127.0.0.1 www.prod.instagram.com +127.0.0.1 xweb.instagram.com +127.0.0.1 z-p3.www.instagram.com +127.0.0.1 edge-chat.Instagram.com + +127.0.0.1 static.cdninstagram.com +127.0.0.1 video.cdninstagram.com +127.0.0.1 creative.cdninstagram.com +127.0.0.1 dragon.cdninstagram.com +127.0.0.1 external.cdninstagram.com +127.0.0.1 platform.cdninstagram.com +127.0.0.1 scontent.cdninstagram.com +127.0.0.1 creative-nrt.cdninstagram.com +127.0.0.1 creative-nrt1-1.cdninstagram.com +127.0.0.1 dragon-nrt.cdninstagram.com +127.0.0.1 dragon-nrt1-1.cdninstagram.com +127.0.0.1 external-nrt.cdninstagram.com +127.0.0.1 external-nrt1-1.cdninstagram.com +127.0.0.1 platform-nrt.cdninstagram.com +127.0.0.1 platform-nrt1-1.cdninstagram.com +127.0.0.1 scontent-a-nrt.cdninstagram.com +127.0.0.1 scontent-a-nrt1-1.cdninstagram.com +127.0.0.1 scontent-b-nrt.cdninstagram.com +127.0.0.1 scontent-b-nrt1-1.cdninstagram.com +127.0.0.1 scontent-nrt.cdninstagram.com +127.0.0.1 scontent-nrt1-1.cdninstagram.com +127.0.0.1 static-nrt.cdninstagram.com +127.0.0.1 static-nrt1-1.cdninstagram.com +127.0.0.1 video-nrt.cdninstagram.com +127.0.0.1 video-nrt1-1.cdninstagram.com +127.0.0.1 creative-nrt1-2.cdninstagram.com +127.0.0.1 dragon-nrt1-2.cdninstagram.com +127.0.0.1 external-nrt1-2.cdninstagram.com +127.0.0.1 platform-nrt1-2.cdninstagram.com +127.0.0.1 scontent-a-nrt1-2.cdninstagram.com +127.0.0.1 scontent-b-nrt1-2.cdninstagram.com +127.0.0.1 scontent-nrt1-2.cdninstagram.com +127.0.0.1 static-nrt1-2.cdninstagram.com +127.0.0.1 video-nrt1-2.cdninstagram.com +127.0.0.1 creative-hkt.cdninstagram.com +127.0.0.1 creative-hkt1-1.cdninstagram.com +127.0.0.1 dragon-hkt.cdninstagram.com +127.0.0.1 dragon-hkt1-1.cdninstagram.com +127.0.0.1 external-hkt.cdninstagram.com +127.0.0.1 external-hkt1-1.cdninstagram.com +127.0.0.1 platform-hkt.cdninstagram.com +127.0.0.1 platform-hkt1-1.cdninstagram.com +127.0.0.1 scontent-a-hkt.cdninstagram.com +127.0.0.1 scontent-a-hkt1-1.cdninstagram.com +127.0.0.1 scontent-b-hkt.cdninstagram.com +127.0.0.1 scontent-b-hkt1-1.cdninstagram.com +127.0.0.1 scontent-hkt.cdninstagram.com +127.0.0.1 scontent-hkt1-1.cdninstagram.com +127.0.0.1 static-hkt.cdninstagram.com +127.0.0.1 static-hkt1-1.cdninstagram.com +127.0.0.1 video-hkt.cdninstagram.com +127.0.0.1 video-hkt1-1.cdninstagram.com +127.0.0.1 creative-hkt1-2.cdninstagram.com +127.0.0.1 dragon-hkt1-2.cdninstagram.com +127.0.0.1 external-hkt1-2.cdninstagram.com +127.0.0.1 platform-hkt1-2.cdninstagram.com +127.0.0.1 scontent-a-hkt1-2.cdninstagram.com +127.0.0.1 scontent-b-hkt1-2.cdninstagram.com +127.0.0.1 scontent-hkt1-2.cdninstagram.com +127.0.0.1 static-hkt1-2.cdninstagram.com +127.0.0.1 video-hkt1-2.cdninstagram.com +# Instagram End + +# WallHaven.cc Start +127.0.0.1 wallhaven.cc +127.0.0.1 www.wallhaven.cc +127.0.0.1 w.wallhaven.cc +127.0.0.1 th.wallhaven.cc +127.0.0.1 static.wallhaven.cc +127.0.0.1 alpha.wallhaven.cc +# WallHaven.cc End + +# Reddit Start +127.0.0.1 reddit.com +127.0.0.1 www.reddit.com +127.0.0.1 www.redditmedia.com +127.0.0.1 www.redditstatic.com +127.0.0.1 w3-reporting.reddit.com +127.0.0.1 error-tracking.reddit.com +127.0.0.1 redd.it +127.0.0.1 i.redd.it +127.0.0.1 v.redd.it +127.0.0.1 preview.redd.it +127.0.0.1 external-preview.redd.it +127.0.0.1 packaged-media.redd.it +127.0.0.1 a.thumbs.redditmedia.com +127.0.0.1 b.thumbs.redditmedia.com +127.0.0.1 styles.redditmedia.com +127.0.0.1 emoji.redditmedia.com +# Reddit End + +# imgur Start +127.0.0.1 imgur.com +127.0.0.1 i.imgur.com +# imgur End \ No newline at end of file diff --git a/conf/DLsite.conf b/conf/DLsite.conf new file mode 100644 index 0000000..e9d9bda --- /dev/null +++ b/conf/DLsite.conf @@ -0,0 +1,133 @@ +# dlsite Start + +upstream download-dlsite-com { + server 61.110.197.198:443;#韩国首尔KT转cdnetworks + server [2401:8700:ff03:1::50]:443;#日本cdnetworks—IPV6节点,速度快 + server 202.75.191.42:443;#马来西亚,移动速度快 + server 138.113.77.50:443;#日本大阪quantilnetworks.com + server 138.113.67.200:443;#越南胡志明市 + server 61.110.197.198:443;#韩国首尔KT转cdnetworks + server 14.0.119.186:443;#韩国首尔KT转cdnetworks + server 14.0.37.7:443;#俄罗斯莫斯科 + server 14.0.39.123:443;#香港pccw转cdnetworks + server 14.0.62.215:443;#菲律宾马尼拉pccw转cdnetworks + server 14.0.32.69:443; + server 14.0.32.71:443; + server 14.0.113.92:443; + server 14.0.119.186:443; + server 210.65.162.163:443; + server 202.191.99.176:443; + server 210.65.162.163:443; + server 163.171.83.101:443;#日本东京cdnetworks + server 163.171.82.142:443;#泰国曼谷cdnetworks + server 163.171.115.231:443;#马来西亚赛城cdnetworks + server 163.171.147.207:443;#奥地利维也纳cdnetworks + server 163.171.228.48:443;#美国弗吉尼亚阿什本cdnetworks + server 163.171.236.105:443;#加拿大多伦多cdnetworks + server 163.171.227.237:443; + server 163.171.229.207:443; + server 163.171.239.65:443; + server [2606:1980:104:ffff:ff99:ae37:cbe0:5fb4]:443; + server [2a01:53c0:ffbf:1:e1bd:657f:ccbc:6a80]:443; + server [2a01:53c0:ffe5:ffff:66:aca2:a53e:d935]:443; + server [2a01:53c0:fff8:ffff:a594:161b:a7b2:d55b]:443; +# server eisysinc.qtlcdn.com:443;#备选方案,是通用域名解析,易被污染 +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name www.dlsite.com; + server_name media.dlsite.com; + server_name download.dlsite.com; + server_name login.dlsite.com; + server_name ssl.dlsite.com; + server_name img.dlsite.jp; + server_name media.ci-en.jp; + + include cert.conf; + + location / { + resolver public1.alidns.com:53 valid=5 ipv4=on ipv6=on; + set $dlsite eisysinc.qtlcdn.com; + proxy_max_temp_file_size 0; + #proxy_pass https://download-dlsite-com/; + proxy_pass https://$dlsite/$request_uri; + proxy_http_version 1.1; + proxy_next_upstream_timeout 60; + proxy_connect_timeout 3; + proxy_send_timeout 3; + proxy_read_timeout 3; + proxy_set_header Host $http_host; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Range $http_range; + proxy_set_header If-Range $http_if_range; + proxy_set_header Accept-Encoding ''; + proxy_buffering off; + proxy_ssl_server_name on; + proxy_ssl_name $http_host; + } +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name play.dlsite.com; + + include cert.conf; + + location / { + resolver public1.alidns.com:53 valid=300; + set $play_dl_c15412_gq play.dl.c15412.gq; + proxy_pass https://$play_dl_c15412_gq:443/$request_uri; + proxy_http_version 1.1; + proxy_set_header Host $http_host; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_buffering off; + proxy_ssl_server_name on; + } +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name ch.dlsite.com; + + include cert.conf; + + location / { + resolver public1.alidns.com:53 valid=300; + set $ch_dl_c15412_gq ch.dl.c15412.gq; + proxy_pass https://$ch_dl_c15412_gq:443/$request_uri; + proxy_http_version 1.1; + proxy_set_header Host $http_host; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_buffering off; + proxy_ssl_server_name on; + } +} + +server { + listen 443 ssl; + listen [::]:443 ssl; + server_name ci-en.dlsite.com; + server_name ci-en.net; + + include cert.conf; + + location / { + resolver public1.alidns.com:53 valid=300; + set $cien_net ci-en.net; + proxy_pass https://$cien_net:443/$request_uri; + proxy_http_version 1.1; + proxy_set_header Host $http_host; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_buffering off; + proxy_ssl_server_name on; + proxy_ssl_name $http_host; + } +} +# dlsite End \ No newline at end of file diff --git a/conf/Discord.conf b/conf/Discord.conf new file mode 100644 index 0000000..c5ba0ba --- /dev/null +++ b/conf/Discord.conf @@ -0,0 +1,214 @@ +# Discord Start +upstream DiscordApp-com { + server 162.159.129.233:443; + server 162.159.130.233:443; + server 162.159.133.233:443; + server 162.159.134.233:443; + server 162.159.135.233:443; + server [2606:4700::162.159.129.233]:443; + server [2606:4700::162.159.130.233]:443; + server [2606:4700::162.159.133.233]:443; + server [2606:4700::162.159.134.233]:443; + server [2606:4700::162.159.135.233]:443; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 120; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name discordapp.com; + server_name url9177.discordapp.com; + server_name canary-api.discordapp.com; + server_name cdn-ptb.discordapp.com; + server_name ptb.discordapp.com; + server_name status.discordapp.com; + server_name cdn-canary.discordapp.com; + server_name cdn.discordapp.com; + server_name streamkit.discordapp.com; + server_name i18n.discordapp.com; + server_name url9624.discordapp.com; + server_name url7195.discordapp.com; + server_name merch.discordapp.com; + server_name printer.discordapp.com; + server_name canary.discordapp.com; + server_name apps.discordapp.com; + server_name pax.discordapp.com; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://DiscordApp-com/; + include Proxy.conf; + } +} + +upstream Discord-com { + server 162.159.135.232:443; + server 162.159.136.232:443; + server 162.159.137.232:443; + server 162.159.138.232:443; + server 162.159.128.233:443; + server [2606:4700::162.159.128.232]:443; + server [2606:4700::162.159.135.232]:443; + server [2606:4700::162.159.136.232]:443; + server [2606:4700::162.159.137.232]:443; + server [2606:4700::162.159.138.232]:443; + keepalive 16; + keepalive_time 1h; + keepalive_timeout 120; + keepalive_requests 10000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name discord.com; + server_name status.discord.com; + server_name streamkit.discord.com; + server_name feedback.discord.com; + server_name click.discord.com; + server_name pax.discord.com; + server_name printer.discord.com; + server_name ptb.discord.com; + server_name canary.discord.com; + server_name bugs.discord.com; + server_name i18n.discord.com; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://Discord-com/; + tcp_nodelay on; + #proxy_set_header Upgrade $http_upgrade; + #proxy_set_header Connection "Upgrade"; + proxy_headers_hash_max_size 8192; + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; + proxy_set_header Cookie $http_cookie; + include Proxy.conf; + } +} + +upstream Discord-gg { + server 162.159.130.234:443; + server 162.159.133.234:443; + server 162.159.134.234:443; + server 162.159.135.234:443; + server 162.159.126.234:443; + server [2606:4700::162.159.130.234]:443; + server [2606:4700::162.159.133.234]:443; + server [2606:4700::162.159.134.234]:443; + server [2606:4700::162.159.135.234]:443; + server [2606:4700::162.159.126.234]:443; + keepalive 8; + keepalive_time 1h; + keepalive_timeout 60s; + keepalive_requests 1000; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name discord.gg; + server_name gateway.discord.gg; + server_name gateway-us-east1-b.discord.gg; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://Discord-gg/; + tcp_nodelay on; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + include proxy.params; + } +} + +upstream support-Discord-com { + server 104.16.51.111:443; + server 104.16.53.111:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name support.discord.com; + server_name safety.discord.com; + server_name support-dev.discord.com; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://support-Discord-com/; + include Proxy.conf; + } +} + +upstream dl-discordapp-net { + server 162.159.129.232:443; + server 162.159.130.232:443; + server 162.159.133.232:443; + server 162.159.134.232:443; + server 162.159.128.233:443; + server [2606:4700::162.159.128.233]:443; + server [2606:4700::162.159.129.232]:443; + server [2606:4700::162.159.130.232]:443; + server [2606:4700::162.159.133.232]:443; + server [2606:4700::162.159.134.232]:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name dl.discordapp.net; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://dl-discordapp-net/; + include Proxy.conf; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name media.discordapp.net; + server_name images-ext-2.discordapp.net; + server_name images-ext-1.discordapp.net; + + include cert.conf; + #access_log logs/Discord-access.log main buffer=4k; + access_log off; + error_log logs/Discord-error.log; + + location / { + proxy_pass https://dl-discordapp-net/; + proxy_http_version 1.1; + proxy_set_header Host media.discordapp.net; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_ssl_server_name on; + proxy_buffering off; + } +} +# Discord End \ No newline at end of file diff --git a/conf/SteamCDN.params b/conf/SteamCDN.params new file mode 100644 index 0000000..69de4e8 --- /dev/null +++ b/conf/SteamCDN.params @@ -0,0 +1,12 @@ +include cert.conf; + +location / { + resolver public1.alidns.com valid=300; + proxy_pass https://$http_host$request_uri; + proxy_http_version 1.1; + proxy_set_header Host $http_host; + proxy_set_header User-Agent $http_user_agent; + proxy_set_header Accept-Encoding ''; + proxy_ssl_server_name on; + proxy_buffering off; +} \ No newline at end of file diff --git a/conf/fastcgi_params b/conf/fastcgi_params index 091738c..c5b49a9 100644 --- a/conf/fastcgi_params +++ b/conf/fastcgi_params @@ -1,26 +1,25 @@ - -fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; -fastcgi_param QUERY_STRING $query_string; -fastcgi_param REQUEST_METHOD $request_method; -fastcgi_param CONTENT_TYPE $content_type; -fastcgi_param CONTENT_LENGTH $content_length; - -fastcgi_param SCRIPT_NAME $fastcgi_script_name; -fastcgi_param REQUEST_URI $request_uri; -fastcgi_param DOCUMENT_URI $document_uri; -fastcgi_param DOCUMENT_ROOT $document_root; -fastcgi_param SERVER_PROTOCOL $server_protocol; -fastcgi_param REQUEST_SCHEME $scheme; -fastcgi_param HTTPS $https if_not_empty; - -fastcgi_param GATEWAY_INTERFACE CGI/1.1; -fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; - -fastcgi_param REMOTE_ADDR $remote_addr; -fastcgi_param REMOTE_PORT $remote_port; -fastcgi_param SERVER_ADDR $server_addr; -fastcgi_param SERVER_PORT $server_port; -fastcgi_param SERVER_NAME $server_name; - -# PHP only, required if PHP was built with --enable-force-cgi-redirect -fastcgi_param REDIRECT_STATUS 200; + +fastcgi_param QUERY_STRING $query_string; +fastcgi_param REQUEST_METHOD $request_method; +fastcgi_param CONTENT_TYPE $content_type; +fastcgi_param CONTENT_LENGTH $content_length; + +fastcgi_param SCRIPT_NAME $fastcgi_script_name; +fastcgi_param REQUEST_URI $request_uri; +fastcgi_param DOCUMENT_URI $document_uri; +fastcgi_param DOCUMENT_ROOT $document_root; +fastcgi_param SERVER_PROTOCOL $server_protocol; +fastcgi_param REQUEST_SCHEME $scheme; +fastcgi_param HTTPS $https if_not_empty; + +fastcgi_param GATEWAY_INTERFACE CGI/1.1; +fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + +fastcgi_param REMOTE_ADDR $remote_addr; +fastcgi_param REMOTE_PORT $remote_port; +fastcgi_param SERVER_ADDR $server_addr; +fastcgi_param SERVER_PORT $server_port; +fastcgi_param SERVER_NAME $server_name; + +# PHP only, required if PHP was built with --enable-force-cgi-redirect +fastcgi_param REDIRECT_STATUS 200; diff --git a/conf/imgur.conf b/conf/imgur.conf new file mode 100644 index 0000000..6cc7047 --- /dev/null +++ b/conf/imgur.conf @@ -0,0 +1,44 @@ +# 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 Proxy.conf; + } +} +# imgur-com End \ No newline at end of file diff --git a/conf/koi-utf b/conf/koi-utf index e7974ff..1a32b36 100644 --- a/conf/koi-utf +++ b/conf/koi-utf @@ -1,109 +1,109 @@ - -# This map is not a full koi8-r <> utf8 map: it does not contain -# box-drawing and some other characters. Besides this map contains -# several koi8-u and Byelorussian letters which are not in koi8-r. -# If you need a full and standard map, use contrib/unicode2nginx/koi-utf -# map instead. - -charset_map koi8-r utf-8 { - - 80 E282AC ; # euro - - 95 E280A2 ; # bullet - - 9A C2A0 ; #   - - 9E C2B7 ; # · - - A3 D191 ; # small yo - A4 D194 ; # small Ukrainian ye - - A6 D196 ; # small Ukrainian i - A7 D197 ; # small Ukrainian yi - - AD D291 ; # small Ukrainian soft g - AE D19E ; # small Byelorussian short u - - B0 C2B0 ; # ° - - B3 D081 ; # capital YO - B4 D084 ; # capital Ukrainian YE - - B6 D086 ; # capital Ukrainian I - B7 D087 ; # capital Ukrainian YI - - B9 E28496 ; # numero sign - - BD D290 ; # capital Ukrainian soft G - BE D18E ; # capital Byelorussian short U - - BF C2A9 ; # (C) - - C0 D18E ; # small yu - C1 D0B0 ; # small a - C2 D0B1 ; # small b - C3 D186 ; # small ts - C4 D0B4 ; # small d - C5 D0B5 ; # small ye - C6 D184 ; # small f - C7 D0B3 ; # small g - C8 D185 ; # small kh - C9 D0B8 ; # small i - CA D0B9 ; # small j - CB D0BA ; # small k - CC D0BB ; # small l - CD D0BC ; # small m - CE D0BD ; # small n - CF D0BE ; # small o - - D0 D0BF ; # small p - D1 D18F ; # small ya - D2 D180 ; # small r - D3 D181 ; # small s - D4 D182 ; # small t - D5 D183 ; # small u - D6 D0B6 ; # small zh - D7 D0B2 ; # small v - D8 D18C ; # small soft sign - D9 D18B ; # small y - DA D0B7 ; # small z - DB D188 ; # small sh - DC D18D ; # small e - DD D189 ; # small shch - DE D187 ; # small ch - DF D18A ; # small hard sign - - E0 D0AE ; # capital YU - E1 D090 ; # capital A - E2 D091 ; # capital B - E3 D0A6 ; # capital TS - E4 D094 ; # capital D - E5 D095 ; # capital YE - E6 D0A4 ; # capital F - E7 D093 ; # capital G - E8 D0A5 ; # capital KH - E9 D098 ; # capital I - EA D099 ; # capital J - EB D09A ; # capital K - EC D09B ; # capital L - ED D09C ; # capital M - EE D09D ; # capital N - EF D09E ; # capital O - - F0 D09F ; # capital P - F1 D0AF ; # capital YA - F2 D0A0 ; # capital R - F3 D0A1 ; # capital S - F4 D0A2 ; # capital T - F5 D0A3 ; # capital U - F6 D096 ; # capital ZH - F7 D092 ; # capital V - F8 D0AC ; # capital soft sign - F9 D0AB ; # capital Y - FA D097 ; # capital Z - FB D0A8 ; # capital SH - FC D0AD ; # capital E - FD D0A9 ; # capital SHCH - FE D0A7 ; # capital CH - FF D0AA ; # capital hard sign -} + +# This map is not a full koi8-r <> utf8 map: it does not contain +# box-drawing and some other characters. Besides this map contains +# several koi8-u and Byelorussian letters which are not in koi8-r. +# If you need a full and standard map, use contrib/unicode2nginx/koi-utf +# map instead. + +charset_map koi8-r utf-8 { + + 80 E282AC ; # euro + + 95 E280A2 ; # bullet + + 9A C2A0 ; #   + + 9E C2B7 ; # · + + A3 D191 ; # small yo + A4 D194 ; # small Ukrainian ye + + A6 D196 ; # small Ukrainian i + A7 D197 ; # small Ukrainian yi + + AD D291 ; # small Ukrainian soft g + AE D19E ; # small Byelorussian short u + + B0 C2B0 ; # ° + + B3 D081 ; # capital YO + B4 D084 ; # capital Ukrainian YE + + B6 D086 ; # capital Ukrainian I + B7 D087 ; # capital Ukrainian YI + + B9 E28496 ; # numero sign + + BD D290 ; # capital Ukrainian soft G + BE D18E ; # capital Byelorussian short U + + BF C2A9 ; # (C) + + C0 D18E ; # small yu + C1 D0B0 ; # small a + C2 D0B1 ; # small b + C3 D186 ; # small ts + C4 D0B4 ; # small d + C5 D0B5 ; # small ye + C6 D184 ; # small f + C7 D0B3 ; # small g + C8 D185 ; # small kh + C9 D0B8 ; # small i + CA D0B9 ; # small j + CB D0BA ; # small k + CC D0BB ; # small l + CD D0BC ; # small m + CE D0BD ; # small n + CF D0BE ; # small o + + D0 D0BF ; # small p + D1 D18F ; # small ya + D2 D180 ; # small r + D3 D181 ; # small s + D4 D182 ; # small t + D5 D183 ; # small u + D6 D0B6 ; # small zh + D7 D0B2 ; # small v + D8 D18C ; # small soft sign + D9 D18B ; # small y + DA D0B7 ; # small z + DB D188 ; # small sh + DC D18D ; # small e + DD D189 ; # small shch + DE D187 ; # small ch + DF D18A ; # small hard sign + + E0 D0AE ; # capital YU + E1 D090 ; # capital A + E2 D091 ; # capital B + E3 D0A6 ; # capital TS + E4 D094 ; # capital D + E5 D095 ; # capital YE + E6 D0A4 ; # capital F + E7 D093 ; # capital G + E8 D0A5 ; # capital KH + E9 D098 ; # capital I + EA D099 ; # capital J + EB D09A ; # capital K + EC D09B ; # capital L + ED D09C ; # capital M + EE D09D ; # capital N + EF D09E ; # capital O + + F0 D09F ; # capital P + F1 D0AF ; # capital YA + F2 D0A0 ; # capital R + F3 D0A1 ; # capital S + F4 D0A2 ; # capital T + F5 D0A3 ; # capital U + F6 D096 ; # capital ZH + F7 D092 ; # capital V + F8 D0AC ; # capital soft sign + F9 D0AB ; # capital Y + FA D097 ; # capital Z + FB D0A8 ; # capital SH + FC D0AD ; # capital E + FD D0A9 ; # capital SHCH + FE D0A7 ; # capital CH + FF D0AA ; # capital hard sign +} diff --git a/conf/koi-win b/conf/koi-win index 72afabe..2ce48bc 100644 --- a/conf/koi-win +++ b/conf/koi-win @@ -1,103 +1,103 @@ - -charset_map koi8-r windows-1251 { - - 80 88 ; # euro - - 95 95 ; # bullet - - 9A A0 ; #   - - 9E B7 ; # · - - A3 B8 ; # small yo - A4 BA ; # small Ukrainian ye - - A6 B3 ; # small Ukrainian i - A7 BF ; # small Ukrainian yi - - AD B4 ; # small Ukrainian soft g - AE A2 ; # small Byelorussian short u - - B0 B0 ; # ° - - B3 A8 ; # capital YO - B4 AA ; # capital Ukrainian YE - - B6 B2 ; # capital Ukrainian I - B7 AF ; # capital Ukrainian YI - - B9 B9 ; # numero sign - - BD A5 ; # capital Ukrainian soft G - BE A1 ; # capital Byelorussian short U - - BF A9 ; # (C) - - C0 FE ; # small yu - C1 E0 ; # small a - C2 E1 ; # small b - C3 F6 ; # small ts - C4 E4 ; # small d - C5 E5 ; # small ye - C6 F4 ; # small f - C7 E3 ; # small g - C8 F5 ; # small kh - C9 E8 ; # small i - CA E9 ; # small j - CB EA ; # small k - CC EB ; # small l - CD EC ; # small m - CE ED ; # small n - CF EE ; # small o - - D0 EF ; # small p - D1 FF ; # small ya - D2 F0 ; # small r - D3 F1 ; # small s - D4 F2 ; # small t - D5 F3 ; # small u - D6 E6 ; # small zh - D7 E2 ; # small v - D8 FC ; # small soft sign - D9 FB ; # small y - DA E7 ; # small z - DB F8 ; # small sh - DC FD ; # small e - DD F9 ; # small shch - DE F7 ; # small ch - DF FA ; # small hard sign - - E0 DE ; # capital YU - E1 C0 ; # capital A - E2 C1 ; # capital B - E3 D6 ; # capital TS - E4 C4 ; # capital D - E5 C5 ; # capital YE - E6 D4 ; # capital F - E7 C3 ; # capital G - E8 D5 ; # capital KH - E9 C8 ; # capital I - EA C9 ; # capital J - EB CA ; # capital K - EC CB ; # capital L - ED CC ; # capital M - EE CD ; # capital N - EF CE ; # capital O - - F0 CF ; # capital P - F1 DF ; # capital YA - F2 D0 ; # capital R - F3 D1 ; # capital S - F4 D2 ; # capital T - F5 D3 ; # capital U - F6 C6 ; # capital ZH - F7 C2 ; # capital V - F8 DC ; # capital soft sign - F9 DB ; # capital Y - FA C7 ; # capital Z - FB D8 ; # capital SH - FC DD ; # capital E - FD D9 ; # capital SHCH - FE D7 ; # capital CH - FF DA ; # capital hard sign -} + +charset_map koi8-r windows-1251 { + + 80 88 ; # euro + + 95 95 ; # bullet + + 9A A0 ; #   + + 9E B7 ; # · + + A3 B8 ; # small yo + A4 BA ; # small Ukrainian ye + + A6 B3 ; # small Ukrainian i + A7 BF ; # small Ukrainian yi + + AD B4 ; # small Ukrainian soft g + AE A2 ; # small Byelorussian short u + + B0 B0 ; # ° + + B3 A8 ; # capital YO + B4 AA ; # capital Ukrainian YE + + B6 B2 ; # capital Ukrainian I + B7 AF ; # capital Ukrainian YI + + B9 B9 ; # numero sign + + BD A5 ; # capital Ukrainian soft G + BE A1 ; # capital Byelorussian short U + + BF A9 ; # (C) + + C0 FE ; # small yu + C1 E0 ; # small a + C2 E1 ; # small b + C3 F6 ; # small ts + C4 E4 ; # small d + C5 E5 ; # small ye + C6 F4 ; # small f + C7 E3 ; # small g + C8 F5 ; # small kh + C9 E8 ; # small i + CA E9 ; # small j + CB EA ; # small k + CC EB ; # small l + CD EC ; # small m + CE ED ; # small n + CF EE ; # small o + + D0 EF ; # small p + D1 FF ; # small ya + D2 F0 ; # small r + D3 F1 ; # small s + D4 F2 ; # small t + D5 F3 ; # small u + D6 E6 ; # small zh + D7 E2 ; # small v + D8 FC ; # small soft sign + D9 FB ; # small y + DA E7 ; # small z + DB F8 ; # small sh + DC FD ; # small e + DD F9 ; # small shch + DE F7 ; # small ch + DF FA ; # small hard sign + + E0 DE ; # capital YU + E1 C0 ; # capital A + E2 C1 ; # capital B + E3 D6 ; # capital TS + E4 C4 ; # capital D + E5 C5 ; # capital YE + E6 D4 ; # capital F + E7 C3 ; # capital G + E8 D5 ; # capital KH + E9 C8 ; # capital I + EA C9 ; # capital J + EB CA ; # capital K + EC CB ; # capital L + ED CC ; # capital M + EE CD ; # capital N + EF CE ; # capital O + + F0 CF ; # capital P + F1 DF ; # capital YA + F2 D0 ; # capital R + F3 D1 ; # capital S + F4 D2 ; # capital T + F5 D3 ; # capital U + F6 C6 ; # capital ZH + F7 C2 ; # capital V + F8 DC ; # capital soft sign + F9 DB ; # capital Y + FA C7 ; # capital Z + FB D8 ; # capital SH + FC DD ; # capital E + FD D9 ; # capital SHCH + FE D7 ; # capital CH + FF DA ; # capital hard sign +} diff --git a/conf/mime.types b/conf/mime.types index 4321314..a8d5225 100644 --- a/conf/mime.types +++ b/conf/mime.types @@ -1,99 +1,99 @@ - -types { - text/html html htm shtml; - text/css css; - text/xml xml; - image/gif gif; - image/jpeg jpeg jpg; - application/javascript js; - application/atom+xml atom; - application/rss+xml rss; - - text/mathml mml; - text/plain txt; - text/vnd.sun.j2me.app-descriptor jad; - text/vnd.wap.wml wml; - text/x-component htc; - - image/avif avif; - image/bmp bmp; - image/png png; - image/svg+xml svg svgz; - image/tiff tif tiff; - image/vnd.wap.wbmp wbmp; - image/webp webp; - image/x-icon ico; - image/x-jng jng; - - font/woff woff; - font/woff2 woff2; - - application/java-archive jar war ear; - application/json json; - application/mac-binhex40 hqx; - application/msword doc; - application/pdf pdf; - application/postscript ps eps ai; - application/rtf rtf; - application/vnd.apple.mpegurl m3u8; - application/vnd.debian.binary-package deb udeb; - application/vnd.google-earth.kml+xml kml; - application/vnd.google-earth.kmz kmz; - application/vnd.ms-excel xls; - application/vnd.ms-fontobject eot; - application/vnd.ms-powerpoint ppt; - application/vnd.oasis.opendocument.graphics odg; - application/vnd.oasis.opendocument.presentation odp; - application/vnd.oasis.opendocument.spreadsheet ods; - application/vnd.oasis.opendocument.text odt; - application/vnd.openxmlformats-officedocument.presentationml.presentation - pptx; - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - xlsx; - application/vnd.openxmlformats-officedocument.wordprocessingml.document - docx; - application/vnd.rar rar; - application/vnd.wap.wmlc wmlc; - application/wasm wasm; - application/x-7z-compressed 7z; - application/x-cocoa cco; - application/x-java-archive-diff jardiff; - application/x-java-jnlp-file jnlp; - application/x-makeself run; - application/x-perl pl pm; - application/x-pilot prc pdb; - application/x-redhat-package-manager rpm; - application/x-sea sea; - application/x-shockwave-flash swf; - application/x-stuffit sit; - application/x-tcl tcl tk; - application/x-x509-ca-cert der pem crt; - application/x-xpinstall xpi; - application/xhtml+xml xhtml; - application/xspf+xml xspf; - application/zip zip; - - application/octet-stream bin exe dll; - application/octet-stream dmg; - application/octet-stream iso img; - application/octet-stream msi msp msm; - - audio/midi mid midi kar; - audio/mpeg mp3; - audio/ogg ogg; - audio/x-m4a m4a; - audio/x-realaudio ra; - - video/3gpp 3gpp 3gp; - video/mp2t ts; - video/mp4 mp4; - video/mpeg mpeg mpg; - video/quicktime mov; - video/webm webm; - video/x-flv flv; - video/x-m4v m4v; - video/x-mng mng; - video/x-ms-asf asx asf; - video/x-ms-wmv wmv; - video/x-msvideo avi; -} + +types { + text/html html htm shtml; + text/css css; + text/xml xml; + image/gif gif; + image/jpeg jpeg jpg; + application/javascript js; + application/atom+xml atom; + application/rss+xml rss; + + text/mathml mml; + text/plain txt; + text/vnd.sun.j2me.app-descriptor jad; + text/vnd.wap.wml wml; + text/x-component htc; + + image/avif avif; + image/png png; + image/svg+xml svg svgz; + image/tiff tif tiff; + image/vnd.wap.wbmp wbmp; + image/webp webp; + image/x-icon ico; + image/x-jng jng; + image/x-ms-bmp bmp; + + font/woff woff; + font/woff2 woff2; + + application/java-archive jar war ear; + application/json json; + application/mac-binhex40 hqx; + application/msword doc; + application/pdf pdf; + application/postscript ps eps ai; + application/rtf rtf; + application/vnd.apple.mpegurl m3u8; + application/vnd.google-earth.kml+xml kml; + application/vnd.google-earth.kmz kmz; + application/vnd.ms-excel xls; + application/vnd.ms-fontobject eot; + application/vnd.ms-powerpoint ppt; + application/vnd.oasis.opendocument.graphics odg; + application/vnd.oasis.opendocument.presentation odp; + application/vnd.oasis.opendocument.spreadsheet ods; + application/vnd.oasis.opendocument.text odt; + application/vnd.openxmlformats-officedocument.presentationml.presentation + pptx; + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + xlsx; + application/vnd.openxmlformats-officedocument.wordprocessingml.document + docx; + application/vnd.wap.wmlc wmlc; + application/wasm wasm; + application/x-7z-compressed 7z; + application/x-cocoa cco; + application/x-java-archive-diff jardiff; + application/x-java-jnlp-file jnlp; + application/x-makeself run; + application/x-perl pl pm; + application/x-pilot prc pdb; + application/x-rar-compressed rar; + application/x-redhat-package-manager rpm; + application/x-sea sea; + application/x-shockwave-flash swf; + application/x-stuffit sit; + application/x-tcl tcl tk; + application/x-x509-ca-cert der pem crt; + application/x-xpinstall xpi; + application/xhtml+xml xhtml; + application/xspf+xml xspf; + application/zip zip; + + application/octet-stream bin exe dll; + application/octet-stream deb; + application/octet-stream dmg; + application/octet-stream iso img; + application/octet-stream msi msp msm; + + audio/midi mid midi kar; + audio/mpeg mp3; + audio/ogg ogg; + audio/x-m4a m4a; + audio/x-realaudio ra; + + video/3gpp 3gpp 3gp; + video/mp2t ts; + video/mp4 mp4; + video/mpeg mpeg mpg; + video/quicktime mov; + video/webm webm; + video/x-flv flv; + video/x-m4v m4v; + video/x-mng mng; + video/x-ms-asf asx asf; + video/x-ms-wmv wmv; + video/x-msvideo avi; +} diff --git a/conf/nginx.conf b/conf/nginx.conf index 5b4735d..1c16069 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -39,6 +39,7 @@ http { #include DLsite.conf;#目前已不需要,只改hosts就行了 #include Reddit.conf; #include Wallhaven.conf; + #include imgur.conf; #include iwara.conf;#目前已不需要 #include Discord.conf; #include Twitter.conf; diff --git a/conf/nhentai.conf b/conf/nhentai.conf new file mode 100644 index 0000000..4eebd0e --- /dev/null +++ b/conf/nhentai.conf @@ -0,0 +1,78 @@ + +# nhentai Start +upstream nhentai-net { + #server 129.150.63.211:443; + server 104.21.66.123:443; + server 172.67.159.231:443; + #server [2606:4700:3035::6815:876]:443; + #server [2606:4700:3031::ac43:8271]:443; + server 172.67.130.113:443; + server 104.21.8.118:443; +} + +upstream t-nhentai-net { + server 185.107.44.3:443; + server 185.177.127.77:443; + server 185.177.127.78:443; +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name nhentai.net; + server_name www.nhentai.net; + server_name static.nhentai.net; + + include cert.conf; + ssl_prefer_server_ciphers on; + ssl_protocols TLSv1.2 TLSv1.3; + + location / { + #resolver 192.168.1.3; + proxy_pass https://nhentai-net/; + #proxy_pass https://CloudFlare-CDN/; + proxy_ssl_name $http_host; + + include proxy.params; + proxy_set_header Cookie $http_cookie; + proxy_send_timeout 5; + proxy_read_timeout 5; + proxy_connect_timeout 5; + } +} + +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + server_name t.nhentai.net; + server_name i.nhentai.net; + server_name t2.nhentai.net; + server_name t3.nhentai.net; + server_name t5.nhentai.net; + server_name t7.nhentai.net; + server_name i2.nhentai.net; + server_name i3.nhentai.net; + server_name i5.nhentai.net; + server_name i7.nhentai.net; + + ssl_certificate ca/pixiv.net.crt; + ssl_certificate_key ca/pixiv.net.key; + + if ($http_host ~* [t]\d.nhentai.net) { + rewrite ^(.*) https://t.nhentai.net$1 permanent; + } + if ($http_host ~* [i]\d.nhentai.net) { + rewrite ^(.*) https://i.nhentai.net$1 permanent; + } + + location / { + proxy_pass https://t-nhentai-net/; + include proxy.params; + + proxy_connect_timeout 5; + proxy_send_timeout 5; + proxy_read_timeout 5; + keepalive_timeout 30; + } +} +# nhentai End \ No newline at end of file diff --git a/conf/scgi_params b/conf/scgi_params index 6d4ce4f..af6f736 100644 --- a/conf/scgi_params +++ b/conf/scgi_params @@ -1,17 +1,17 @@ - -scgi_param REQUEST_METHOD $request_method; -scgi_param REQUEST_URI $request_uri; -scgi_param QUERY_STRING $query_string; -scgi_param CONTENT_TYPE $content_type; - -scgi_param DOCUMENT_URI $document_uri; -scgi_param DOCUMENT_ROOT $document_root; -scgi_param SCGI 1; -scgi_param SERVER_PROTOCOL $server_protocol; -scgi_param REQUEST_SCHEME $scheme; -scgi_param HTTPS $https if_not_empty; - -scgi_param REMOTE_ADDR $remote_addr; -scgi_param REMOTE_PORT $remote_port; -scgi_param SERVER_PORT $server_port; -scgi_param SERVER_NAME $server_name; + +scgi_param REQUEST_METHOD $request_method; +scgi_param REQUEST_URI $request_uri; +scgi_param QUERY_STRING $query_string; +scgi_param CONTENT_TYPE $content_type; + +scgi_param DOCUMENT_URI $document_uri; +scgi_param DOCUMENT_ROOT $document_root; +scgi_param SCGI 1; +scgi_param SERVER_PROTOCOL $server_protocol; +scgi_param REQUEST_SCHEME $scheme; +scgi_param HTTPS $https if_not_empty; + +scgi_param REMOTE_ADDR $remote_addr; +scgi_param REMOTE_PORT $remote_port; +scgi_param SERVER_PORT $server_port; +scgi_param SERVER_NAME $server_name; diff --git a/conf/uwsgi_params b/conf/uwsgi_params index 09c732c..226f701 100644 --- a/conf/uwsgi_params +++ b/conf/uwsgi_params @@ -1,17 +1,17 @@ - -uwsgi_param QUERY_STRING $query_string; -uwsgi_param REQUEST_METHOD $request_method; -uwsgi_param CONTENT_TYPE $content_type; -uwsgi_param CONTENT_LENGTH $content_length; - -uwsgi_param REQUEST_URI $request_uri; -uwsgi_param PATH_INFO $document_uri; -uwsgi_param DOCUMENT_ROOT $document_root; -uwsgi_param SERVER_PROTOCOL $server_protocol; -uwsgi_param REQUEST_SCHEME $scheme; -uwsgi_param HTTPS $https if_not_empty; - -uwsgi_param REMOTE_ADDR $remote_addr; -uwsgi_param REMOTE_PORT $remote_port; -uwsgi_param SERVER_PORT $server_port; -uwsgi_param SERVER_NAME $server_name; + +uwsgi_param QUERY_STRING $query_string; +uwsgi_param REQUEST_METHOD $request_method; +uwsgi_param CONTENT_TYPE $content_type; +uwsgi_param CONTENT_LENGTH $content_length; + +uwsgi_param REQUEST_URI $request_uri; +uwsgi_param PATH_INFO $document_uri; +uwsgi_param DOCUMENT_ROOT $document_root; +uwsgi_param SERVER_PROTOCOL $server_protocol; +uwsgi_param REQUEST_SCHEME $scheme; +uwsgi_param HTTPS $https if_not_empty; + +uwsgi_param REMOTE_ADDR $remote_addr; +uwsgi_param REMOTE_PORT $remote_port; +uwsgi_param SERVER_PORT $server_port; +uwsgi_param SERVER_NAME $server_name; diff --git a/conf/win-utf b/conf/win-utf index ed8bc00..51fa705 100644 --- a/conf/win-utf +++ b/conf/win-utf @@ -1,126 +1,126 @@ - -# This map is not a full windows-1251 <> utf8 map: it does not -# contain Serbian and Macedonian letters. If you need a full map, -# use contrib/unicode2nginx/win-utf map instead. - -charset_map windows-1251 utf-8 { - - 82 E2809A ; # single low-9 quotation mark - - 84 E2809E ; # double low-9 quotation mark - 85 E280A6 ; # ellipsis - 86 E280A0 ; # dagger - 87 E280A1 ; # double dagger - 88 E282AC ; # euro - 89 E280B0 ; # per mille - - 91 E28098 ; # left single quotation mark - 92 E28099 ; # right single quotation mark - 93 E2809C ; # left double quotation mark - 94 E2809D ; # right double quotation mark - 95 E280A2 ; # bullet - 96 E28093 ; # en dash - 97 E28094 ; # em dash - - 99 E284A2 ; # trade mark sign - - A0 C2A0 ; #   - A1 D18E ; # capital Byelorussian short U - A2 D19E ; # small Byelorussian short u - - A4 C2A4 ; # currency sign - A5 D290 ; # capital Ukrainian soft G - A6 C2A6 ; # borken bar - A7 C2A7 ; # section sign - A8 D081 ; # capital YO - A9 C2A9 ; # (C) - AA D084 ; # capital Ukrainian YE - AB C2AB ; # left-pointing double angle quotation mark - AC C2AC ; # not sign - AD C2AD ; # soft hypen - AE C2AE ; # (R) - AF D087 ; # capital Ukrainian YI - - B0 C2B0 ; # ° - B1 C2B1 ; # plus-minus sign - B2 D086 ; # capital Ukrainian I - B3 D196 ; # small Ukrainian i - B4 D291 ; # small Ukrainian soft g - B5 C2B5 ; # micro sign - B6 C2B6 ; # pilcrow sign - B7 C2B7 ; # · - B8 D191 ; # small yo - B9 E28496 ; # numero sign - BA D194 ; # small Ukrainian ye - BB C2BB ; # right-pointing double angle quotation mark - - BF D197 ; # small Ukrainian yi - - C0 D090 ; # capital A - C1 D091 ; # capital B - C2 D092 ; # capital V - C3 D093 ; # capital G - C4 D094 ; # capital D - C5 D095 ; # capital YE - C6 D096 ; # capital ZH - C7 D097 ; # capital Z - C8 D098 ; # capital I - C9 D099 ; # capital J - CA D09A ; # capital K - CB D09B ; # capital L - CC D09C ; # capital M - CD D09D ; # capital N - CE D09E ; # capital O - CF D09F ; # capital P - - D0 D0A0 ; # capital R - D1 D0A1 ; # capital S - D2 D0A2 ; # capital T - D3 D0A3 ; # capital U - D4 D0A4 ; # capital F - D5 D0A5 ; # capital KH - D6 D0A6 ; # capital TS - D7 D0A7 ; # capital CH - D8 D0A8 ; # capital SH - D9 D0A9 ; # capital SHCH - DA D0AA ; # capital hard sign - DB D0AB ; # capital Y - DC D0AC ; # capital soft sign - DD D0AD ; # capital E - DE D0AE ; # capital YU - DF D0AF ; # capital YA - - E0 D0B0 ; # small a - E1 D0B1 ; # small b - E2 D0B2 ; # small v - E3 D0B3 ; # small g - E4 D0B4 ; # small d - E5 D0B5 ; # small ye - E6 D0B6 ; # small zh - E7 D0B7 ; # small z - E8 D0B8 ; # small i - E9 D0B9 ; # small j - EA D0BA ; # small k - EB D0BB ; # small l - EC D0BC ; # small m - ED D0BD ; # small n - EE D0BE ; # small o - EF D0BF ; # small p - - F0 D180 ; # small r - F1 D181 ; # small s - F2 D182 ; # small t - F3 D183 ; # small u - F4 D184 ; # small f - F5 D185 ; # small kh - F6 D186 ; # small ts - F7 D187 ; # small ch - F8 D188 ; # small sh - F9 D189 ; # small shch - FA D18A ; # small hard sign - FB D18B ; # small y - FC D18C ; # small soft sign - FD D18D ; # small e - FE D18E ; # small yu - FF D18F ; # small ya -} + +# This map is not a full windows-1251 <> utf8 map: it does not +# contain Serbian and Macedonian letters. If you need a full map, +# use contrib/unicode2nginx/win-utf map instead. + +charset_map windows-1251 utf-8 { + + 82 E2809A ; # single low-9 quotation mark + + 84 E2809E ; # double low-9 quotation mark + 85 E280A6 ; # ellipsis + 86 E280A0 ; # dagger + 87 E280A1 ; # double dagger + 88 E282AC ; # euro + 89 E280B0 ; # per mille + + 91 E28098 ; # left single quotation mark + 92 E28099 ; # right single quotation mark + 93 E2809C ; # left double quotation mark + 94 E2809D ; # right double quotation mark + 95 E280A2 ; # bullet + 96 E28093 ; # en dash + 97 E28094 ; # em dash + + 99 E284A2 ; # trade mark sign + + A0 C2A0 ; #   + A1 D18E ; # capital Byelorussian short U + A2 D19E ; # small Byelorussian short u + + A4 C2A4 ; # currency sign + A5 D290 ; # capital Ukrainian soft G + A6 C2A6 ; # borken bar + A7 C2A7 ; # section sign + A8 D081 ; # capital YO + A9 C2A9 ; # (C) + AA D084 ; # capital Ukrainian YE + AB C2AB ; # left-pointing double angle quotation mark + AC C2AC ; # not sign + AD C2AD ; # soft hypen + AE C2AE ; # (R) + AF D087 ; # capital Ukrainian YI + + B0 C2B0 ; # ° + B1 C2B1 ; # plus-minus sign + B2 D086 ; # capital Ukrainian I + B3 D196 ; # small Ukrainian i + B4 D291 ; # small Ukrainian soft g + B5 C2B5 ; # micro sign + B6 C2B6 ; # pilcrow sign + B7 C2B7 ; # · + B8 D191 ; # small yo + B9 E28496 ; # numero sign + BA D194 ; # small Ukrainian ye + BB C2BB ; # right-pointing double angle quotation mark + + BF D197 ; # small Ukrainian yi + + C0 D090 ; # capital A + C1 D091 ; # capital B + C2 D092 ; # capital V + C3 D093 ; # capital G + C4 D094 ; # capital D + C5 D095 ; # capital YE + C6 D096 ; # capital ZH + C7 D097 ; # capital Z + C8 D098 ; # capital I + C9 D099 ; # capital J + CA D09A ; # capital K + CB D09B ; # capital L + CC D09C ; # capital M + CD D09D ; # capital N + CE D09E ; # capital O + CF D09F ; # capital P + + D0 D0A0 ; # capital R + D1 D0A1 ; # capital S + D2 D0A2 ; # capital T + D3 D0A3 ; # capital U + D4 D0A4 ; # capital F + D5 D0A5 ; # capital KH + D6 D0A6 ; # capital TS + D7 D0A7 ; # capital CH + D8 D0A8 ; # capital SH + D9 D0A9 ; # capital SHCH + DA D0AA ; # capital hard sign + DB D0AB ; # capital Y + DC D0AC ; # capital soft sign + DD D0AD ; # capital E + DE D0AE ; # capital YU + DF D0AF ; # capital YA + + E0 D0B0 ; # small a + E1 D0B1 ; # small b + E2 D0B2 ; # small v + E3 D0B3 ; # small g + E4 D0B4 ; # small d + E5 D0B5 ; # small ye + E6 D0B6 ; # small zh + E7 D0B7 ; # small z + E8 D0B8 ; # small i + E9 D0B9 ; # small j + EA D0BA ; # small k + EB D0BB ; # small l + EC D0BC ; # small m + ED D0BD ; # small n + EE D0BE ; # small o + EF D0BF ; # small p + + F0 D180 ; # small r + F1 D181 ; # small s + F2 D182 ; # small t + F3 D183 ; # small u + F4 D184 ; # small f + F5 D185 ; # small kh + F6 D186 ; # small ts + F7 D187 ; # small ch + F8 D188 ; # small sh + F9 D189 ; # small shch + FA D18A ; # small hard sign + FB D18B ; # small y + FC D18C ; # small soft sign + FD D18D ; # small e + FE D18E ; # small yu + FF D18F ; # small ya +} diff --git a/备用文件/nginx.conf b/备用文件/nginx.conf new file mode 100644 index 0000000..58a9004 --- /dev/null +++ b/备用文件/nginx.conf @@ -0,0 +1,33 @@ + +#user nobody; +worker_processes 2; + +#error_log logs/error.log; +#error_log logs/error.log notice; +#error_log logs/error.log info; + +#pid logs/nginx.pid; +events { + worker_connections 4096; +} + +http { + #include mime.types; + #default_type application/octet-stream; + ssl_protocols TLSv1.2 TLSv1.3 TLSv1 TLSv1.1 SSLv2 SSLv3; + #ssl_ciphers "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256"; + log_format main '[$time_local]- 客户端地址:"$remote_addr" 请求耗时"$request_time" $http_host 服务器地址:$server_addr 服务器端口:$server_port $server_protocol\n 上游状态"$upstream_status" 上游地址:"$upstream_addr"\n $status 总字节数$body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" \n    "$request"\n'; + access_log logs/access.log main; + #sendfile on; + #tcp_nopush on; + + #keepalive_timeout 0; + keepalive_timeout 100; + client_max_body_size 200m; + server_names_hash_max_size 512; + server_names_hash_bucket_size 1024; + #gzip on; + include Pixiv.conf; + include E-hentai.conf; + include Steam.conf; +} \ No newline at end of file diff --git a/更新日志.txt b/更新日志.txt new file mode 100644 index 0000000..2f94956 --- /dev/null +++ b/更新日志.txt @@ -0,0 +1,345 @@ +配置文件(2024年10月17日19时50分 +1、增加imgur服务器 + + + +配置文件(2024年10月17日18时30分 +1、修复部分上游服务器 +2、增加steam Fastly重写 + + + +配置文件(2024年09月14日14时00分 +1、修复部分上游服务器 +2、新增FaceBook反向代理(仅IPv6,需要本地dns进行批量dns重写 + + + +配置文件(2024年09月05日11时30分 +1、改进部分上游服务器写法 +2、修复不启用Steam配置的时候的Bug + + + +配置文件(2024年09月02日21时10分 +1、改进部分上游服务器写法,避免了可能导致"not signaled for 5s"停止的问题 + + + +配置文件(2024年08月31日18时11分 +1、更新部分上游服务器 +2、改进KeepAlive参数,提升访问可靠性 + + + +配置文件(2024年08月27日18时55分 +1、更新Github上游服务器 +2、添加以下网站服务器: + Discord (IPv4) + Instagram (IPv6 Only, 需要本地dns重写,无固定Hosts可用) + WallHaven (IPv4, 仅图片CDN,不包含网页) + Reddit (IPv4, 需要本地dns重写,无固定Hosts可用) + Twitter (IPv4, 需要本地dns重写,无固定Hosts可用) + Twitch (IPv4, 需要本地dns重写,无固定Hosts可用) + GoogleCDN (仅部分文件IPv6, 主要谷歌网页以及IPv4服务器无法使用,老老实实用专线或者科研网教育网,需要本地dns重写,无固定Hosts可用) + + + +配置文件(2024年08月15日20点20分 +1、更新E-hentai上游服务器 + + + +配置文件(2024年08月15日20点20分 +1、更新E-hentai上游服务器 + + + +配置文件(2024年08月12日21点00分 +1、优化代码格式 + + + +配置文件(2024年08月04日23点45分 +1、修改hosts +2、更新 Steam 的服务器 + + + +配置文件(2024年08月02日21点05分 +1、修改hosts +2、更新 Steam 的服务器 +3、更新X(原推特)的服务器 + + + +配置文件(2024年07月22日17点30分 + +1、修改hosts +2、更新X(原推特)的服务器以及证书 +3、更新Instagram服务器 + + + +配置文件(2024年07月20日18点50分 + +1、增加证书域名 +2、更新reddit的上游服务器 + + + +配置文件(2024年01月05日12点30分 + +1、修改hosts +2、修改部分文件内容 + + + +配置文件(2023年12月16日19点30分 +0、更新部分上游ip,提升加载速度 +1、修补自签证书使用说明的错漏 + + + +配置文件(2023年9月25日19点30分 +0、本次默认禁用大部分附加配置文件,如有需要请自行删除对应代码前面的#进行启用 +1、更新hosts和子证书文本,子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 子证书本次不需要强制更新 + 重要的事情说三遍 +2、遇到群友逆天bug,想了半天解决方案 +3、成功规避逆天bug +注:逆天bug为记事本逆天bug,无法正常编辑文本 + + + +配置文件(2023年6月17日18点00分 +1、修复16日的一个小bug + + + +配置文件(2023年6月16日14点10分 +1、更改更新的上游和hosts +2、提高性能 + + + +2023年6月05日15点30分 +1、修复bugs +2、更新ci-en的反代和证书以及hosts + + + +2023年5月30日15点10分 +1、修复nhentai反代,速度还行 + + + +2023年5月27日15点00分 +1、删改服务器已删除的上游 + + + +2023年5月18日20点50分 +1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org +2、补齐exhentai对应的证书 + + + +2023年5月17日16点30分 +1、增加exhentai的新hosts记录内容为 127.0.0.1 s.exhentai.org +2、修改e-hentai的上游地址 + + + +2023年5月10日19点30分 +温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 +1、根据今天发现的配置文件自定义解析设定失效,对涉及resolver的用法全部进行了修改以解决失效问题 + + + +2023年5月07日9点00分 +温馨提示:配置文件的Hosts不要照抄,请根据需要自行修改 +1、取消SteamServer。net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts + + + +2023年5月03日15点20分 +0、本次更新 需要 更新 证书 +1、修改部分错误的服务器 +2、修改部分日志记录位置 +3、实装SteamServer.net的反代功能,是否启用请结合需求和实际情况,自行修改Hosts +4、实装Steam-chat.com的反代功能,是否启用请结合需求和实际情况,自行修改Hosts + + + +2023年4月20日12点00分 +1、修改iwara部分上游链接 +2、由于iwara站点服务器更新,现仅能反代视频服务器,主站所有其他内容和图片均无法使用,需自行扶墙 + + + +2023年4月15日15点50分 +1、修改部分上游链接 +2、提高Steam社区反代稳定性 + + + +2023年4月13日19点15分 +1、修改部分上游链接 +2、修改部分hosts + + + +2023年2月28日14点55分 +1、更新DLsite的反代访问 +2、修改hosts +3、Steam反代经测试已恢复正常 + + + +2023年2月25日12点25分 +1、增加FC2直播的反代访问 +2、修改hosts和对应证书 +3、Steam反代暂时无法更新,部分地区寄了,原有配置文件部分地区仍可使用 + + + +2023年2月21日16点26分 +1、更新配置文件部分buffer参数 +2、修改hosts + + + +2023年2月14日19点31分 +1、更新cdn对应IP +2、更新Hosts文件 + + + +2022年12月16日20点59分 +1、删除一个报废的域名,以解决不能启动问题 + + + +2022年11月30日15点30分 +1、优化Instagram域名的上游ip,现仅ipv6可用 + + + +2022年11月29日22点10分 +1、增加Instagram主域名反代访问 +2、经测试,Instagram的CDN域名 cdninstagram.com 未被屏蔽,阿里云、腾讯云、百度云、奠信DNS均能正常使用 +3、增加PayPal经常出问题的域名的反代,根据需求自行添加 +4、cdninstagram.com连接缓慢,请使用DNS工具批量修改解析,域名太多不方便hosts + + + +2022年11月13日23点10分 +1、根据最新dns解析结果,优化IP结构和上游IP使用 + + + +2022年10月3日22点20分 +1、优化代码结构 + + + +2022年9月6日20点11分 +1、增加i站(iwara.tv)的反代访问 +2、优化代码 +3、更新对应证书 + + + +2022年9月3日13点56分 +1、修改steam商店的反代,通过OldAuth解决商店地区和IP一致导致无法结账的问题 +2、修改(微调)SteamCDN的反代代码 + + + +2022年8月29日15点46分 +1、优化代码,提升响应速度 +2、e-hentai的域名维护 +3、DLsite的域名维护 +4、更新对应证书 + + + +2022年8月7日15点46分 +1、优化代码,提升响应速度 +2、增加nhentai的反代访问和DNS修复 +3、更新对应证书 + + + +2022年8月7日12点46分 +1、优化代码,提升响应速度 +2、修补Patreon的反代访问,新增几个子域名 +3、增加APKPure的反代访问 +4、更新对应证书 + + + +2022年8月2日13点21分 +1、更新e-hentai的服务器以及附属域名 +2、优化部分代码结构 +3、更新对应证书 + + + +2022年8月1日20点24分 +1、更新并简化freenom的上游服务器 + + + +2022年7月29日18点48分 +⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 +1、修复discord图床域名images-ext-1.discordapp.net和images-ext-2.discordapp.net的反代访问 + + + +2022年7月29日17点17分&18点25分 +1、增加discord的反代访问 +2、增加twitch的反代访问 +3、更新相关Hosts和证书 +⭐、将不同网站的反代配置文件进行分块隔离,便于修改和排查故障 + + + +2022年7月26日23点43分&59分 +1、修复dlsite.com相关IP和域名 +2、修复对应Hosts + + + +2022年7月26日11点23分&12点54分 +1、删除&更改了部分报错报障IP,提升访问流畅度 +2、补充了遗漏的Twitter域名t.co +3、尝试修复E-Hentai + + + +2022年7月25日15点30分 +1、修复了反代访问 推特Twitter域名 +2、更新相关Hosts和证书 + + + +2022年7月18日18点35分 +1、修复了反代访问My.freenom.com域名,是Freenom的个人中心以及域名注册页面所在的域名 +2、更新相关Hosts和证书 + + + +2022年7月11日22点59分 +1、修复了Patreon的访问 +2、恢复并更新了相关hosts项 + + + +2022年7月1日22点06分 +1、增加了dlsite的下载修复和修改了部分steam的域名及IP +2、删除了自带的Hosts +3、增加了pc.ea.com域名修补 \ No newline at end of file diff --git a/自签证书傻瓜式批处理包/config_childCA.txt b/自签证书傻瓜式批处理包/config_childCA.txt index 6c9af0f..3947133 100644 --- a/自签证书傻瓜式批处理包/config_childCA.txt +++ b/自签证书傻瓜式批处理包/config_childCA.txt @@ -155,6 +155,8 @@ DNS.0141 = *.fbsbx.com DNS.0142 = fbcdn.net DNS.0143 = *.fbcdn.net DNS.0144 = *.xx.fbcdn.net +DNS.0145 = imgur.com +DNS.0146 = *.imgur.com diff --git a/自签证书傻瓜式批处理包/自签证书★使用说明★.txt b/自签证书傻瓜式批处理包/自签证书★使用说明★.txt index f9f45b8..32389c0 100644 --- a/自签证书傻瓜式批处理包/自签证书★使用说明★.txt +++ b/自签证书傻瓜式批处理包/自签证书★使用说明★.txt @@ -1,13 +1,15 @@ -1、 -配置文件一起的还有一个openssl压缩包,可供未安装openssl的使用,把压缩包里面的openssl文件夹解压到自签证书批处理包的文件夹里面即可 +1.配置文件一起的还有一个openssl压缩包,可供未安装openssl的使用,群文件下载 OpenSSL,将OpenSSL文件夹解压到这个文件夹里面即可 -2.第一次使用时直接使用「【限初次使用】一键生成根证书和子证书.bat」并将 rootCA.crt 安装到 系统 受信任的根证书颁发机构 目录下,生成的Pixiv.net.key和Pixiv.net.crt可替换软件自带的CA。 +2.第一次使用时直接使用「【限初次使用】一键生成根证书和子证书.bat」并将rootCA.crt安装到系统受信任的根证书列表即可,生成的Pixiv.net.key和Pixiv.net.crt可替换软件自带的CA。 导入根证书具体操作:双击打开rootCA.crt,点击“安装证书”,进入“证书导入向导”,存储位置选择“本地计算机”,单击“下一步”继续,选择“将所有的证书都放入下列存储”,然后点击“浏览”,选择“受信任的根证书颁发机构”,然后点击“确定”,然后点击“下一步”,最后点击“完成” +3.需要添加域名时通过修改「config_childCA.txt」加入 -3.需要添加域名时打开「config_childCA.txt」加入,完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的Pixiv.net.crt和Pixiv.net.key替换Nginx目录原先的文件,在系统host文件添加「127.0.0.1 域名」的字段, 并修改根目录「/conf/pixiv.conf」。 +4.修改完后使用「【修改config_childCA.txt后使用】重新签发子证书.bat」,将新生成的「Pixiv.net.crt」和「pixiv.net.key」替换Nginx证书目录「/conf/ca」原先的文件,在系统host文件添加「127.0.0.1 域名」的字段 + +5.配置文件更新时仅需进行修改「config_childCA.txt」然后进行第4步 -生成的子证书存放目录:nginx安装目录/conf/ca +生成的子证书需要安装的目录:nginx安装目录/conf/ca 生成证书时如果需要操作请输入英文字母y然后回车 \ No newline at end of file