From 7fc830bd6ea4bc3fc9244464e96351946e08982d Mon Sep 17 00:00:00 2001 From: c15412 <70379135+c15412@users.noreply.github.com> Date: Sat, 14 Sep 2024 18:23:50 +0800 Subject: [PATCH] Delete conf/Discord.conf --- conf/Discord.conf | 214 ---------------------------------------------- 1 file changed, 214 deletions(-) delete mode 100644 conf/Discord.conf diff --git a/conf/Discord.conf b/conf/Discord.conf deleted file mode 100644 index c5ba0ba..0000000 --- a/conf/Discord.conf +++ /dev/null @@ -1,214 +0,0 @@ -# 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