diff --git a/Dockerfile b/Dockerfile index dc3b45d..5001633 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 AS buildstep ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \ - NGINX_DEVEL_KIT_VERSION=0.3.1 NGINX_SET_MISC_MODULE_VERSION=0.32 \ - NGINX_VERSION=1.22.0 + NGINX_DEVEL_KIT_VERSION=0.3.2 NGINX_SET_MISC_MODULE_VERSION=0.33 \ + NGINX_VERSION=1.24.0 ADD ./build/ /tmp/ RUN bash /tmp/ubuntu.sh @@ -9,7 +9,7 @@ RUN bash /tmp/ubuntu.sh FROM ubuntu:22.04 LABEL maintainer="noogen " ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \ - NGINX_VERSION=_1.22.0-1~jammy_amd64.deb \ + NGINX_VERSION=_1.24.0-1~jammy_amd64.deb \ NGINX_DEBUG=-dbg${NGINX_VERSION} COPY --from=buildstep /usr/src/nginx/nginx${NGINX_VERSION} /tmp @@ -19,10 +19,10 @@ RUN cd /tmp \ && apt-get update -y && apt-get upgrade -y --no-install-recommends --no-install-suggests \ && apt-get install -y --no-install-recommends --no-install-suggests curl gpg-agent nano \ libgd3 gettext-base unzip rsync cron apt-transport-https software-properties-common \ - ca-certificates libmaxminddb0 libmaxminddb-dev mmdb-bin python3-pip \ + ca-certificates libmaxminddb0 libmaxminddb-dev mmdb-bin python3-pip git \ && dpkg --configure -a \ && touch /var/log/cron.log \ - && curl -s https://nginx.org/keys/nginx_signing.key | apt-key add - \ + && curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - \ && cp /etc/apt/sources.list /etc/apt/sources.list.bak \ && echo "deb http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list \ && echo "deb-src http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list \ diff --git a/build/ubuntu.sh b/build/ubuntu.sh index 62886da..4672b7f 100644 --- a/build/ubuntu.sh +++ b/build/ubuntu.sh @@ -3,11 +3,12 @@ export NGINX_BUILD_DIR=/usr/src/nginx/nginx-${NGINX_VERSION} cd /tmp -add-apt-repository ppa:maxmind/ppa apt-get update apt-get install -y --no-install-recommends --no-install-suggests curl apt-transport-https \ apt-utils software-properties-common build-essential ca-certificates libssl-dev \ - zlib1g zlib1g-dev dpkg-dev libpcre3 libpcre3-dev libgd-dev gpg-agent + zlib1g zlib1g-dev dpkg-dev libpcre3 libpcre3-dev libgd-dev gpg-agent git + +add-apt-repository ppa:maxmind/ppa apt-get install -y libmaxminddb0 libmaxminddb-dev mmdb-bin dpkg --configure -a @@ -22,7 +23,7 @@ mkdir -p /usr/src/nginx/set-misc-nginx-module tar -xof ngx-misc.tar.gz -C /usr/src/nginx/set-misc-nginx-module --strip-components=1 rm ngx-misc.tar.gz -curl -s https://nginx.org/keys/nginx_signing.key | apt-key add - +curl -fsSL https://nginx.org/keys/nginx_signing.key | apt-key add - cp /etc/apt/sources.list /etc/apt/sources.list.bak echo "deb http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list echo "deb-src http://nginx.org/packages/ubuntu/ jammy nginx" | tee -a /etc/apt/sources.list diff --git a/files/etc/nginx/cdn/cdn-arvancloud.conf b/files/etc/nginx/cdn/cdn-arvancloud.conf deleted file mode 100644 index 431a803..0000000 --- a/files/etc/nginx/cdn/cdn-arvancloud.conf +++ /dev/null @@ -1,46 +0,0 @@ -set_real_ip_from 185.143.232.0/22; -set_real_ip_from 92.114.16.80/28; -set_real_ip_from 2.146.0.0/28; -set_real_ip_from 46.224.2.32/29; -set_real_ip_from 89.187.178.96/29; -set_real_ip_from 195.181.173.128/29; -set_real_ip_from 89.187.169.88/29; -set_real_ip_from 188.229.116.16/29; -set_real_ip_from 83.123.255.56/31; -set_real_ip_from 164.138.128.28/31; -set_real_ip_from 94.182.182.28/30; -set_real_ip_from 185.17.115.176/30; -set_real_ip_from 5.213.255.36/31; -set_real_ip_from 138.128.139.144/29; -set_real_ip_from 5.200.14.8/29; -set_real_ip_from 188.122.68.224/29; -set_real_ip_from 188.122.83.176/29; -set_real_ip_from 213.179.217.16/29; -set_real_ip_from 185.179.201.192/29; -set_real_ip_from 43.239.139.192/29; -set_real_ip_from 213.179.197.16/29; -set_real_ip_from 213.179.201.192/29; -set_real_ip_from 109.200.214.248/29; -set_real_ip_from 138.128.141.16/29; -set_real_ip_from 188.122.78.136/29; -set_real_ip_from 213.179.211.32/29; -set_real_ip_from 103.194.164.24/29; -set_real_ip_from 185.50.105.136/29; -set_real_ip_from 213.179.213.16/29; -set_real_ip_from 162.244.52.120/29; -set_real_ip_from 188.122.80.240/29; -set_real_ip_from 109.200.195.64/29; -set_real_ip_from 109.200.199.224/29; -set_real_ip_from 185.228.238.0/28; -set_real_ip_from 94.182.153.24/29; -set_real_ip_from 94.101.182.0/27; -set_real_ip_from 37.152.184.208/28; -set_real_ip_from 78.39.156.192/28; -set_real_ip_from 158.255.77.238/31; -set_real_ip_from 81.12.28.16/29; -set_real_ip_from 176.65.192.202/31; -set_real_ip_from 2.144.3.128/28; -set_real_ip_from 89.45.48.64/28; -set_real_ip_from 37.32.16.0/27; -set_real_ip_from 37.32.17.0/27; -set_real_ip_from 37.32.18.0/27; \ No newline at end of file diff --git a/files/etc/nginx/cdn/cdn-arvancloud.py b/files/etc/nginx/cdn/cdn-arvancloud.py deleted file mode 100755 index 26803d7..0000000 --- a/files/etc/nginx/cdn/cdn-arvancloud.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/local/bin/python3 -""" -Util to grab ArvanCloud Inbound addresses -""" - -import requests - -ips = requests.get("https://www.arvancloud.com/fa/ips.txt").text -config = "" - -for item in ips.split(): - directive = f"set_real_ip_from {item};\n" - config += directive - -with open("cdn-arvancloud.conf", "w")as f: - f.write(config) \ No newline at end of file diff --git a/files/etc/nginx/cdn/cdn-bunny.conf b/files/etc/nginx/cdn/cdn-bunny.conf index 10d70cf..756a538 100644 --- a/files/etc/nginx/cdn/cdn-bunny.conf +++ b/files/etc/nginx/cdn/cdn-bunny.conf @@ -1,139 +1,65 @@ -set_real_ip_from 185.93.1.242; -set_real_ip_from 185.152.67.139; -set_real_ip_from 91.189.179.2; -set_real_ip_from 185.152.67.22; -set_real_ip_from 185.152.67.152; -set_real_ip_from 54.38.195.201; -set_real_ip_from 217.182.201.147; -set_real_ip_from 89.187.185.87; -set_real_ip_from 212.102.50.49; -set_real_ip_from 84.17.46.50; -set_real_ip_from 89.187.185.163; -set_real_ip_from 84.17.37.209; -set_real_ip_from 89.187.185.162; -set_real_ip_from 89.187.188.223; set_real_ip_from 89.187.188.227; set_real_ip_from 89.187.188.228; -set_real_ip_from 185.59.220.196; -set_real_ip_from 212.102.50.50; -set_real_ip_from 185.93.2.242; set_real_ip_from 185.180.14.250; -set_real_ip_from 185.59.220.193; -set_real_ip_from 185.93.2.241; -set_real_ip_from 95.217.37.33; -set_real_ip_from 84.17.63.177; set_real_ip_from 185.93.1.241; set_real_ip_from 195.181.163.193; -set_real_ip_from 89.187.169.15; -set_real_ip_from 84.17.44.181; -set_real_ip_from 51.79.176.84; -set_real_ip_from 51.79.176.85; set_real_ip_from 89.187.162.244; -set_real_ip_from 212.102.46.113; set_real_ip_from 139.180.134.196; -set_real_ip_from 45.32.177.93; set_real_ip_from 51.83.238.53; set_real_ip_from 89.38.96.158; -set_real_ip_from 195.181.163.194; -set_real_ip_from 217.138.193.34; -set_real_ip_from 102.129.144.45; -set_real_ip_from 185.243.214.143; -set_real_ip_from 185.243.214.145; -set_real_ip_from 92.223.87.36; -set_real_ip_from 5.188.95.16; -set_real_ip_from 185.59.220.194; set_real_ip_from 89.187.162.249; set_real_ip_from 89.187.162.242; -set_real_ip_from 185.243.214.239; set_real_ip_from 185.102.217.65; set_real_ip_from 185.93.1.243; -set_real_ip_from 185.243.214.244; set_real_ip_from 156.146.40.49; set_real_ip_from 185.59.220.199; set_real_ip_from 185.59.220.198; set_real_ip_from 195.181.166.158; set_real_ip_from 185.180.12.68; -set_real_ip_from 185.31.158.210; -set_real_ip_from 139.99.63.197; -set_real_ip_from 138.199.57.151; set_real_ip_from 138.199.24.209; -set_real_ip_from 89.187.162.251; set_real_ip_from 138.199.24.211; set_real_ip_from 89.187.169.3; -set_real_ip_from 89.187.185.164; set_real_ip_from 89.187.169.39; set_real_ip_from 89.187.169.47; -set_real_ip_from 37.19.206.70; -set_real_ip_from 5.189.202.54; -set_real_ip_from 5.188.120.15; -set_real_ip_from 200.25.62.76; -set_real_ip_from 156.146.53.225; -set_real_ip_from 200.25.38.139; set_real_ip_from 138.199.24.218; set_real_ip_from 138.199.24.219; set_real_ip_from 138.199.46.65; set_real_ip_from 185.40.106.117; -set_real_ip_from 143.244.38.129; set_real_ip_from 200.25.45.4; set_real_ip_from 200.25.57.5; -set_real_ip_from 200.25.22.6; set_real_ip_from 200.25.11.8; set_real_ip_from 200.25.53.5; -set_real_ip_from 122.10.147.2; set_real_ip_from 200.25.13.98; -set_real_ip_from 128.1.121.170; -set_real_ip_from 209.177.87.194; set_real_ip_from 107.155.21.186; -set_real_ip_from 107.155.6.130; set_real_ip_from 107.155.27.226; -set_real_ip_from 84.17.44.161; -set_real_ip_from 185.180.13.248; -set_real_ip_from 143.244.60.109; set_real_ip_from 41.242.2.18; -set_real_ip_from 92.38.138.8; set_real_ip_from 200.25.62.5; set_real_ip_from 200.25.38.69; set_real_ip_from 200.25.42.70; set_real_ip_from 200.25.36.166; set_real_ip_from 195.206.229.106; -set_real_ip_from 138.199.9.99; -set_real_ip_from 138.199.9.98; -set_real_ip_from 138.199.37.225; set_real_ip_from 92.223.88.123; -set_real_ip_from 84.17.46.52; -set_real_ip_from 92.223.80.170; -set_real_ip_from 185.93.2.243; set_real_ip_from 194.242.11.186; set_real_ip_from 37.19.203.80; -set_real_ip_from 138.199.37.226; set_real_ip_from 65.108.101.60; set_real_ip_from 185.164.35.8; -set_real_ip_from 193.39.14.167; set_real_ip_from 185.173.226.42; set_real_ip_from 195.69.143.190; set_real_ip_from 94.20.154.22; -set_real_ip_from 37.19.216.129; set_real_ip_from 185.93.1.244; set_real_ip_from 89.38.224.138; set_real_ip_from 213.170.143.68; -set_real_ip_from 138.199.9.107; set_real_ip_from 156.59.145.154; set_real_ip_from 143.244.49.177; -set_real_ip_from 102.129.144.44; -set_real_ip_from 141.94.200.27; -set_real_ip_from 23.248.177.58; set_real_ip_from 138.199.46.66; set_real_ip_from 138.199.37.227; set_real_ip_from 138.199.37.231; set_real_ip_from 138.199.37.230; set_real_ip_from 138.199.37.229; -set_real_ip_from 103.216.222.103; set_real_ip_from 138.199.46.69; set_real_ip_from 138.199.46.68; set_real_ip_from 138.199.46.67; set_real_ip_from 185.93.1.246; -set_real_ip_from 103.216.222.105; -set_real_ip_from 103.216.222.107; set_real_ip_from 138.199.37.232; set_real_ip_from 103.216.222.109; set_real_ip_from 195.181.163.196; @@ -141,50 +67,32 @@ set_real_ip_from 107.182.163.162; set_real_ip_from 195.181.163.195; set_real_ip_from 84.17.46.53; set_real_ip_from 212.102.40.114; -set_real_ip_from 185.234.52.150; set_real_ip_from 84.17.46.54; set_real_ip_from 138.199.40.58; set_real_ip_from 143.244.38.134; set_real_ip_from 185.152.64.17; set_real_ip_from 84.17.59.115; set_real_ip_from 89.187.165.194; -set_real_ip_from 103.216.222.111; set_real_ip_from 138.199.15.193; set_real_ip_from 89.35.237.170; set_real_ip_from 37.19.216.130; set_real_ip_from 185.93.1.247; set_real_ip_from 185.93.3.244; -set_real_ip_from 180.149.231.39; -set_real_ip_from 209.160.96.178; set_real_ip_from 143.244.49.179; set_real_ip_from 143.244.49.180; -set_real_ip_from 195.181.164.178; -set_real_ip_from 143.244.49.187; -set_real_ip_from 143.244.51.67; -set_real_ip_from 143.244.51.65; -set_real_ip_from 143.244.51.66; set_real_ip_from 138.199.9.104; set_real_ip_from 122.10.251.138; -set_real_ip_from 212.102.50.52; set_real_ip_from 185.152.66.243; set_real_ip_from 143.244.49.178; -set_real_ip_from 156.146.53.227; +set_real_ip_from 169.150.221.147; set_real_ip_from 146.59.68.188; set_real_ip_from 200.25.18.73; set_real_ip_from 84.17.63.178; set_real_ip_from 200.25.32.131; -set_real_ip_from 143.244.38.139; -set_real_ip_from 169.150.215.113; set_real_ip_from 37.19.207.34; -set_real_ip_from 204.16.244.131; set_real_ip_from 208.83.234.216; -set_real_ip_from 87.249.137.50; -set_real_ip_from 185.93.2.248; -set_real_ip_from 134.195.197.175; -set_real_ip_from 128.1.104.170; set_real_ip_from 192.189.65.146; set_real_ip_from 143.244.45.177; -set_real_ip_from 176.123.9.72; set_real_ip_from 185.93.1.249; set_real_ip_from 185.93.1.250; set_real_ip_from 169.150.215.115; @@ -200,21 +108,17 @@ set_real_ip_from 158.69.123.215; set_real_ip_from 143.244.50.82; set_real_ip_from 143.244.50.83; set_real_ip_from 156.146.56.163; -set_real_ip_from 156.59.181.10; +set_real_ip_from 129.227.9.2; set_real_ip_from 185.135.85.154; -set_real_ip_from 104.218.233.175; set_real_ip_from 185.165.170.74; -set_real_ip_from 92.223.103.16; set_real_ip_from 129.227.217.178; -set_real_ip_from 200.25.69.72; -set_real_ip_from 139.99.68.6; +set_real_ip_from 200.25.69.94; set_real_ip_from 128.1.52.179; set_real_ip_from 200.25.16.103; set_real_ip_from 15.235.54.226; set_real_ip_from 102.67.138.155; set_real_ip_from 156.59.126.78; set_real_ip_from 192.34.87.166; -set_real_ip_from 102.219.177.93; set_real_ip_from 146.70.80.218; set_real_ip_from 156.146.43.65; set_real_ip_from 195.181.163.203; @@ -225,21 +129,152 @@ set_real_ip_from 156.146.56.166; set_real_ip_from 156.146.56.171; set_real_ip_from 169.150.207.210; set_real_ip_from 156.146.56.167; -set_real_ip_from 185.81.165.6; set_real_ip_from 143.244.50.84; set_real_ip_from 143.244.50.85; set_real_ip_from 143.244.50.86; set_real_ip_from 143.244.50.87; set_real_ip_from 156.146.56.168; set_real_ip_from 169.150.207.211; -set_real_ip_from 207.246.64.80; +set_real_ip_from 212.102.50.59; +set_real_ip_from 146.185.248.15; +set_real_ip_from 143.244.50.90; +set_real_ip_from 143.244.50.91; +set_real_ip_from 143.244.50.88; +set_real_ip_from 143.244.50.209; +set_real_ip_from 143.244.50.213; +set_real_ip_from 143.244.50.214; +set_real_ip_from 143.244.49.183; +set_real_ip_from 143.244.50.89; +set_real_ip_from 143.244.50.210; +set_real_ip_from 143.244.50.211; +set_real_ip_from 143.244.50.212; +set_real_ip_from 138.199.4.137; +set_real_ip_from 5.42.206.66; +set_real_ip_from 94.46.175.183; +set_real_ip_from 38.54.2.20; +set_real_ip_from 38.54.4.6; +set_real_ip_from 169.150.207.57; +set_real_ip_from 169.150.207.58; +set_real_ip_from 169.150.207.213; +set_real_ip_from 169.150.207.214; +set_real_ip_from 169.150.207.215; +set_real_ip_from 169.150.207.212; +set_real_ip_from 169.150.219.114; +set_real_ip_from 62.113.194.3; +set_real_ip_from 169.150.202.210; +set_real_ip_from 169.150.242.193; +set_real_ip_from 185.93.1.251; +set_real_ip_from 169.150.207.216; +set_real_ip_from 169.150.207.217; +set_real_ip_from 169.150.238.19; +set_real_ip_from 102.219.126.20; +set_real_ip_from 138.199.36.4; +set_real_ip_from 138.199.36.5; +set_real_ip_from 156.59.67.118; +set_real_ip_from 122.10.251.130; +set_real_ip_from 185.24.11.18; +set_real_ip_from 138.199.36.7; +set_real_ip_from 138.199.36.8; +set_real_ip_from 138.199.36.9; +set_real_ip_from 138.199.36.10; +set_real_ip_from 138.199.36.11; +set_real_ip_from 138.199.37.225; +set_real_ip_from 84.17.46.49; +set_real_ip_from 138.199.4.177; +set_real_ip_from 84.17.37.217; +set_real_ip_from 169.150.225.35; +set_real_ip_from 169.150.225.36; +set_real_ip_from 169.150.225.37; +set_real_ip_from 169.150.225.38; +set_real_ip_from 169.150.225.39; +set_real_ip_from 169.150.225.34; +set_real_ip_from 169.150.236.97; +set_real_ip_from 169.150.236.98; +set_real_ip_from 169.150.236.99; +set_real_ip_from 169.150.236.100; +set_real_ip_from 93.189.63.146; +set_real_ip_from 143.244.56.49; +set_real_ip_from 143.244.56.50; +set_real_ip_from 143.244.56.51; +set_real_ip_from 169.150.247.40; +set_real_ip_from 169.150.247.33; +set_real_ip_from 169.150.247.34; +set_real_ip_from 169.150.247.35; +set_real_ip_from 169.150.247.36; +set_real_ip_from 169.150.247.37; +set_real_ip_from 169.150.247.38; +set_real_ip_from 169.150.247.39; +set_real_ip_from 95.217.227.2; +set_real_ip_from 38.142.94.218; +set_real_ip_from 87.249.137.52; +set_real_ip_from 138.199.46.75; +set_real_ip_from 38.104.169.186; +set_real_ip_from 89.187.162.241; +set_real_ip_from 66.181.163.74; +set_real_ip_from 84.17.38.227; +set_real_ip_from 84.17.38.228; +set_real_ip_from 84.17.38.229; +set_real_ip_from 84.17.38.230; +set_real_ip_from 84.17.38.231; +set_real_ip_from 84.17.38.232; +set_real_ip_from 169.150.225.41; +set_real_ip_from 169.150.225.42; +set_real_ip_from 169.150.249.162; +set_real_ip_from 169.150.249.163; +set_real_ip_from 169.150.249.164; +set_real_ip_from 169.150.249.165; +set_real_ip_from 169.150.249.166; +set_real_ip_from 169.150.249.167; +set_real_ip_from 169.150.249.168; +set_real_ip_from 169.150.249.169; +set_real_ip_from 185.131.64.122; +set_real_ip_from 156.247.205.114; +set_real_ip_from 37.236.234.2; +set_real_ip_from 169.150.252.209; +set_real_ip_from 212.102.46.118; +set_real_ip_from 192.169.120.162; +set_real_ip_from 93.180.217.214; +set_real_ip_from 37.19.203.178; +set_real_ip_from 107.155.47.146; +set_real_ip_from 104.166.144.106; +set_real_ip_from 154.47.16.177; +set_real_ip_from 193.201.190.174; +set_real_ip_from 156.59.95.218; +set_real_ip_from 213.170.143.139; +set_real_ip_from 129.227.186.154; +set_real_ip_from 195.238.127.98; +set_real_ip_from 5.189.202.62; +set_real_ip_from 128.1.59.74; +set_real_ip_from 200.25.22.6; +set_real_ip_from 204.16.244.92; +set_real_ip_from 200.25.70.101; +set_real_ip_from 200.25.66.100; +set_real_ip_from 139.180.209.182; +set_real_ip_from 103.108.231.41; +set_real_ip_from 103.108.229.5; +set_real_ip_from 103.216.220.9; +set_real_ip_from 103.75.11.45; +set_real_ip_from 169.150.225.40; +set_real_ip_from 134.195.197.175; +set_real_ip_from 212.102.50.49; +set_real_ip_from 212.102.50.52; +set_real_ip_from 109.61.83.242; +set_real_ip_from 109.61.83.243; +set_real_ip_from 212.102.50.50; +set_real_ip_from 169.150.225.43; +set_real_ip_from 45.125.247.57; +set_real_ip_from 105.203.211.12; +set_real_ip_from 103.235.199.170; +set_real_ip_from 128.1.35.170; +set_real_ip_from 38.32.110.58; +set_real_ip_from 169.150.220.228; +set_real_ip_from 169.150.220.229; +set_real_ip_from 169.150.220.230; +set_real_ip_from 169.150.220.231; +set_real_ip_from 138.199.4.179; +set_real_ip_from 207.211.214.145; set_real_ip_from 116.202.155.146; -set_real_ip_from 108.61.127.143; set_real_ip_from 116.202.193.178; -set_real_ip_from 116.202.236.170; -set_real_ip_from 46.4.116.17; -set_real_ip_from 104.194.8.93; -set_real_ip_from 139.99.150.49; set_real_ip_from 116.202.224.168; set_real_ip_from 188.40.126.227; set_real_ip_from 88.99.26.189; @@ -247,20 +282,8 @@ set_real_ip_from 168.119.39.238; set_real_ip_from 88.99.26.97; set_real_ip_from 168.119.12.188; set_real_ip_from 199.247.1.226; -set_real_ip_from 157.245.99.163; -set_real_ip_from 51.195.190.71; -set_real_ip_from 169.197.143.85; -set_real_ip_from 169.197.143.195; -set_real_ip_from 104.238.220.175; set_real_ip_from 176.9.139.55; set_real_ip_from 176.9.139.94; -set_real_ip_from 172.96.160.206; -set_real_ip_from 38.75.137.102; -set_real_ip_from 38.75.137.10; -set_real_ip_from 38.75.136.40; -set_real_ip_from 38.75.137.65; -set_real_ip_from 38.75.136.153; -set_real_ip_from 38.75.136.111; set_real_ip_from 5.161.66.71; set_real_ip_from 142.132.223.79; set_real_ip_from 142.132.223.80; @@ -283,15 +306,26 @@ set_real_ip_from 5.161.72.194; set_real_ip_from 5.161.72.200; set_real_ip_from 5.161.70.230; set_real_ip_from 5.161.60.80; -set_real_ip_from 38.75.137.193; -set_real_ip_from 38.75.136.208; -set_real_ip_from 64.140.160.18; set_real_ip_from 104.237.58.186; -set_real_ip_from 64.140.162.66; -set_real_ip_from 169.150.207.55; set_real_ip_from 143.244.50.81; set_real_ip_from 143.244.51.75; -set_real_ip_from 169.150.207.56; +set_real_ip_from 46.4.116.17; +set_real_ip_from 46.4.119.81; +set_real_ip_from 167.235.114.167; +set_real_ip_from 159.69.68.171; +set_real_ip_from 178.63.21.52; +set_real_ip_from 46.4.120.152; +set_real_ip_from 116.202.80.247; +set_real_ip_from 5.9.71.119; +set_real_ip_from 195.201.11.156; +set_real_ip_from 78.46.123.17; +set_real_ip_from 143.244.50.153; +set_real_ip_from 143.244.50.154; +set_real_ip_from 138.199.9.99; +set_real_ip_from 138.199.9.98; +set_real_ip_from 143.244.50.155; +set_real_ip_from 46.4.113.143; +set_real_ip_from 143.244.49.187; set_real_ip_from 109.248.43.116; set_real_ip_from 109.248.43.117; set_real_ip_from 109.248.43.162; @@ -316,35 +350,29 @@ set_real_ip_from 159.69.57.80; set_real_ip_from 139.180.129.216; set_real_ip_from 139.99.174.7; set_real_ip_from 89.187.169.18; -set_real_ip_from 89.187.162.166; -set_real_ip_from 89.187.162.245; set_real_ip_from 185.180.13.241; -set_real_ip_from 185.180.13.242; -set_real_ip_from 185.180.13.243; set_real_ip_from 185.59.220.203; set_real_ip_from 185.59.220.200; set_real_ip_from 185.59.220.202; set_real_ip_from 185.59.220.201; -set_real_ip_from 89.187.169.26; -set_real_ip_from 212.102.56.49; -set_real_ip_from 212.102.56.48; -set_real_ip_from 212.102.56.54; -set_real_ip_from 212.102.56.57; -set_real_ip_from 185.180.13.246; set_real_ip_from 143.244.63.120; set_real_ip_from 138.199.9.97; set_real_ip_from 138.199.40.49; set_real_ip_from 138.199.40.50; set_real_ip_from 138.199.40.51; set_real_ip_from 138.199.9.105; -set_real_ip_from 143.244.38.132; set_real_ip_from 143.244.38.133; set_real_ip_from 37.19.222.241; set_real_ip_from 143.244.49.181; +set_real_ip_from 37.19.222.242; set_real_ip_from 89.187.179.7; -set_real_ip_from 84.17.35.196; -set_real_ip_from 84.17.35.195; +set_real_ip_from 143.244.51.70; +set_real_ip_from 143.244.51.71; +set_real_ip_from 143.244.51.69; +set_real_ip_from 212.102.43.85; +set_real_ip_from 212.102.43.86; set_real_ip_from 143.244.62.213; +set_real_ip_from 143.244.51.74; set_real_ip_from 185.93.3.246; set_real_ip_from 195.181.163.198; set_real_ip_from 185.152.64.19; @@ -353,27 +381,43 @@ set_real_ip_from 212.102.50.54; set_real_ip_from 138.199.4.133; set_real_ip_from 138.199.4.132; set_real_ip_from 212.102.46.115; +set_real_ip_from 84.17.35.199; +set_real_ip_from 143.244.38.135; +set_real_ip_from 84.17.35.218; +set_real_ip_from 89.187.185.21; +set_real_ip_from 169.150.238.21; +set_real_ip_from 169.150.238.22; +set_real_ip_from 169.150.207.51; +set_real_ip_from 169.150.207.49; +set_real_ip_from 84.17.38.226; +set_real_ip_from 84.17.38.225; +set_real_ip_from 169.150.247.139; +set_real_ip_from 169.150.247.177; +set_real_ip_from 169.150.247.178; +set_real_ip_from 109.61.89.53; +set_real_ip_from 109.61.89.54; +set_real_ip_from 109.61.89.55; +set_real_ip_from 109.61.89.56; +set_real_ip_from 212.102.43.88; +set_real_ip_from 89.187.169.26; +set_real_ip_from 109.61.89.57; +set_real_ip_from 109.61.89.58; -set_real_ip_from 2a02:6ea0:c80f::6; -set_real_ip_from 2a02:6ea0:c80f::5; -set_real_ip_from 2001:41d0:602:1ac9::; -set_real_ip_from 2001:41d0:0602:0493::; -set_real_ip_from 2400:52e0:1e02::576:1; -set_real_ip_from 2400:52e0:1e00::601:1; -set_real_ip_from 2400:52e0:1e02::602:1; -set_real_ip_from 2a01:4f9:2b:2f5e::2; set_real_ip_from 2400:52e0:1a02::625:1; set_real_ip_from 2400:52e0:1500::641:1; -set_real_ip_from 2400:52e0:1a02::674:1; set_real_ip_from 2400:52e0:1500::714:1; set_real_ip_from 2400:52e0:1500::715:1; +set_real_ip_from 2400:52e0:1a00::718:1; +set_real_ip_from 2400:52e0:1e00::722:1; set_real_ip_from 2400:52e0:1e00::723:1; set_real_ip_from 2400:52e0:1500::747:1; set_real_ip_from 2400:52e0:1500::749:1; set_real_ip_from 2400:52e0:1500::782:1; set_real_ip_from 2400:52e0:1500::783:1; set_real_ip_from 2400:52e0:1500::784:1; -set_real_ip_from 2400:52e0:1e02::827:1; +set_real_ip_from 2a01:4f9:6b:2c80::2; +set_real_ip_from 2400:52e0:1a00::845:1; +set_real_ip_from 2400:52e0:1a01::852:1; set_real_ip_from 2400:52e0:1500::858:1; set_real_ip_from 2400:52e0:1e00::860:1; set_real_ip_from 2400:52e0:1e00::863:1; @@ -382,32 +426,33 @@ set_real_ip_from 2400:52e0:1e00::865:1; set_real_ip_from 2400:52e0:1500::867:1; set_real_ip_from 2400:52e0:1500::868:1; set_real_ip_from 2400:52e0:1500::869:1; +set_real_ip_from 2400:52e0:1a00::871:1; set_real_ip_from 2400:52e0:1e00::874:1; +set_real_ip_from 2404:f780:0:2::7; set_real_ip_from 2400:52e0:1a02::876:1; set_real_ip_from 2400:52e0:1a02::878:1; set_real_ip_from 2400:52e0:1e01::879:1; -set_real_ip_from 2400:52e0:1a03::881:1; set_real_ip_from 2400:52e0:1e01::883:1; +set_real_ip_from 2a02:6ea0:c454::1; +set_real_ip_from 2400:52e0:1a00::894:1; +set_real_ip_from 2400:52e0:1a01::899:1; +set_real_ip_from 2400:52e0:1a01::900:1; +set_real_ip_from 2400:52e0:1a01::907:1; set_real_ip_from 2400:52e0:1a01::912:1; set_real_ip_from 2800:1e0:2410:1::9; -set_real_ip_from 2607:fdc0:1:a:bace:f6ff:fe01:e295; -set_real_ip_from 2400:52e0:1e02::932:1; set_real_ip_from 2400:52e0:1a00::940:1; set_real_ip_from 2400:52e0:1a00::941:1; set_real_ip_from 2400:52e0:1500::944:1; set_real_ip_from 2400:52e0:1500::945:1; set_real_ip_from 2400:52e0:1e02::946:1; set_real_ip_from 2400:52e0:1e02::947:1; -set_real_ip_from 2400:52e0:1a03::950:1; +set_real_ip_from 2400:52e0:1501::948:1; set_real_ip_from 2400:52e0:1e02::951:1; set_real_ip_from 2607:5300:60:9ad7::1; set_real_ip_from 2400:52e0:1a01::953:1; set_real_ip_from 2400:52e0:1a01::954:1; set_real_ip_from 2400:52e0:1500::955:1; -set_real_ip_from 2800:1e0:2420:2::a; -set_real_ip_from 2402:1f00:8001:706::1; set_real_ip_from 2607:5300:203:a1e2::1; -set_real_ip_from 2001:ac8:37:74::973:1; set_real_ip_from 2400:52e0:1a02::974:1; set_real_ip_from 2400:52e0:1a02::975:1; set_real_ip_from 2400:52e0:1a02::976:1; @@ -417,13 +462,95 @@ set_real_ip_from 2400:52e0:1500::979:1; set_real_ip_from 2400:52e0:1500::980:1; set_real_ip_from 2400:52e0:1500::981:1; set_real_ip_from 2400:52e0:1500::982:1; -set_real_ip_from 2a02:7b40:b951:a506::1; set_real_ip_from 2400:52e0:1a01::984:1; set_real_ip_from 2400:52e0:1a01::985:1; set_real_ip_from 2400:52e0:1a01::986:1; set_real_ip_from 2400:52e0:1a01::987:1; set_real_ip_from 2400:52e0:1500::988:1; set_real_ip_from 2400:52e0:1500::989:1; +set_real_ip_from 2400:52e0:1501::990:1; +set_real_ip_from 2400:52e0:1a01::992:1; +set_real_ip_from 2400:52e0:1a01::993:1; +set_real_ip_from 2400:52e0:1a01::994:1; +set_real_ip_from 2400:52e0:1a01::995:1; +set_real_ip_from 2400:52e0:1a01::996:1; +set_real_ip_from 2400:52e0:1a01::997:1; +set_real_ip_from 2400:52e0:1a01::998:1; +set_real_ip_from 2400:52e0:1a01::999:1; +set_real_ip_from 2400:52e0:1a01::1000:1; +set_real_ip_from 2400:52e0:1a01::1001:1; +set_real_ip_from 2400:52e0:1a01::1002:1; +set_real_ip_from 2400:52e0:1500::1015:1; +set_real_ip_from 2400:52e0:1500::1016:1; +set_real_ip_from 2400:52e0:1500::1020:1; +set_real_ip_from 2400:52e0:1500::1021:1; +set_real_ip_from 2400:52e0:1500::1022:1; +set_real_ip_from 2400:52e0:1500::1024:1; +set_real_ip_from 2400:52e0:1a00::1029:1; +set_real_ip_from 2400:52e0:1500::1030:1; +set_real_ip_from 2400:52e0:1500::1031:1; +set_real_ip_from 2400:52e0:1e00::1047:1; +set_real_ip_from 2400:52e0:1e00::1048:1; +set_real_ip_from 2400:52e0:1e00::1049:1; +set_real_ip_from 2400:52e0:1e00::1053:1; +set_real_ip_from 2400:52e0:1e00::1054:1; +set_real_ip_from 2400:52e0:1e00::1055:1; +set_real_ip_from 2400:52e0:1e01::1056:1; +set_real_ip_from 2400:52e0:1502::1059:1; +set_real_ip_from 2400:52e0:1501::1061:1; +set_real_ip_from 2400:52e0:1501::1062:1; +set_real_ip_from 2400:52e0:1501::1063:1; +set_real_ip_from 2400:52e0:1501::1064:1; +set_real_ip_from 2400:52e0:1501::1065:1; +set_real_ip_from 2400:52e0:1501::1066:1; +set_real_ip_from 2400:52e0:1a00::1067:1; +set_real_ip_from 2400:52e0:1a00::1068:1; +set_real_ip_from 2400:52e0:1a00::1069:1; +set_real_ip_from 2400:52e0:1a00::1070:1; +set_real_ip_from 2400:52e0:1e02::1072:1; +set_real_ip_from 2400:52e0:1e02::1073:1; +set_real_ip_from 2400:52e0:1e02::1074:1; +set_real_ip_from 2400:52e0:1e00::1075:1; +set_real_ip_from 2400:52e0:1e00::1076:1; +set_real_ip_from 2400:52e0:1e00::1077:1; +set_real_ip_from 2400:52e0:1e00::1078:1; +set_real_ip_from 2400:52e0:1e00::1079:1; +set_real_ip_from 2400:52e0:1e00::1080:1; +set_real_ip_from 2400:52e0:1e00::1081:1; +set_real_ip_from 2400:52e0:1e00::1082:1; +set_real_ip_from 2a01:4f9:4b:4b0b::2; +set_real_ip_from 2400:52e0:1500::1087:1; +set_real_ip_from 2400:52e0:1500::1089:1; +set_real_ip_from 2400:52e0:1500::1091:1; +set_real_ip_from 2400:52e0:1500::1092:1; +set_real_ip_from 2400:52e0:1500::1093:1; +set_real_ip_from 2400:52e0:1500::1094:1; +set_real_ip_from 2400:52e0:1500::1095:1; +set_real_ip_from 2400:52e0:1500::1096:1; +set_real_ip_from 2400:52e0:1501::1097:1; +set_real_ip_from 2400:52e0:1501::1098:1; +set_real_ip_from 2400:52e0:1a01::1108:1; +set_real_ip_from 2400:52e0:1a01::1109:1; +set_real_ip_from 2400:52e0:1a01::1110:1; +set_real_ip_from 2400:52e0:1a01::1111:1; +set_real_ip_from 2400:52e0:1a01::1112:1; +set_real_ip_from 2400:52e0:1a01::1113:1; +set_real_ip_from 2400:52e0:1a01::1114:1; +set_real_ip_from 2400:52e0:1a01::1115:1; +set_real_ip_from 2404:f780:0:2::d; +set_real_ip_from 2404:f780:0:2::f; +set_real_ip_from 2404:f780:0:2::11; +set_real_ip_from 2404:f780:5:cafe::f; +set_real_ip_from 2400:52e0:1501::1143:1; +set_real_ip_from 2400:52e0:1501::1145:1; +set_real_ip_from 2400:52e0:1501::1146:1; +set_real_ip_from 2400:52e0:1501::1147:1; +set_real_ip_from 2400:52e0:1501::1148:1; +set_real_ip_from 2400:52e0:1501::1149:1; +set_real_ip_from 2400:52e0:1501::1150:1; +set_real_ip_from 2404:f780:0:2::13; +set_real_ip_from 2c0f:fc89:1ff::4; +set_real_ip_from 2602:ffe4:c09:106::1154; set_real_ip_from 2a04:ff07:d9:12::1; set_real_ip_from 2a04:ff07:d9:13::1; set_real_ip_from 2a04:ff07:d9:39::1; @@ -434,4 +561,4 @@ set_real_ip_from 2a04:ff07:d9:1::1; set_real_ip_from 2a04:ff07:d9:1b::1; set_real_ip_from 2a01:4f8:c17:aec0::1; set_real_ip_from 2a01:4f8:c17:fc7::1; -set_real_ip_from 2a01:4f8:c17:20b2::1; \ No newline at end of file +set_real_ip_from 2a01:4f8:c17:20b2::1; diff --git a/files/etc/nginx/cdn/cdn-stackpath.conf b/files/etc/nginx/cdn/cdn-stackpath.conf index b2847f7..b27bfae 100644 --- a/files/etc/nginx/cdn/cdn-stackpath.conf +++ b/files/etc/nginx/cdn/cdn-stackpath.conf @@ -1,7 +1,11 @@ set_real_ip_from 2a0a:e200:1a00:1100::/56; set_real_ip_from 2a0a:e200:1a00::/40; set_real_ip_from 2a0a:e200:1b00:1100::/56; +set_real_ip_from 2a0a:e200:1c00:1100::/64; +set_real_ip_from 2a0a:e200:1c00:1300::/64; set_real_ip_from 2a0a:e200:1c00::/40; +set_real_ip_from 2a0a:e200:1d00:1100::/64; +set_real_ip_from 2a0a:e200:1d00:1300::/64; set_real_ip_from 2a0a:e200:1100:1100::/64; set_real_ip_from 2a0a:e200:1100:1600::/56; set_real_ip_from 2a0a:e200:1100::/40; @@ -28,6 +32,16 @@ set_real_ip_from 69.197.33.0/24; set_real_ip_from 69.197.37.0/24; set_real_ip_from 69.197.39.0/24; set_real_ip_from 69.197.41.0/24; +set_real_ip_from 69.197.51.0/24; +set_real_ip_from 69.197.53.0/24; +set_real_ip_from 69.197.56.192/27; +set_real_ip_from 69.197.57.0/24; +set_real_ip_from 72.20.1.0/24; +set_real_ip_from 72.20.4.192/27; +set_real_ip_from 72.20.5.0/24; +set_real_ip_from 72.20.9.0/24; +set_real_ip_from 72.20.16.192/27; +set_real_ip_from 72.20.17.0/24; set_real_ip_from 74.209.134.0/24; set_real_ip_from 74.209.134.128/25; set_real_ip_from 81.171.60.0/24; @@ -49,6 +63,9 @@ set_real_ip_from 98.190.74.128/25; set_real_ip_from 98.190.76.128/25; set_real_ip_from 98.190.78.128/25; set_real_ip_from 98.190.80.128/25; +set_real_ip_from 98.190.84.128/25; +set_real_ip_from 98.190.86.128/25; +set_real_ip_from 98.190.90.128/25; set_real_ip_from 98.190.94.128/25; set_real_ip_from 103.66.28.0/22; set_real_ip_from 103.228.104.0/24; @@ -155,6 +172,9 @@ set_real_ip_from 2001:4de0:5010::/64; set_real_ip_from 2001:4de0:7001:1::/64; set_real_ip_from 2001:4de0:7002:1::/64; set_real_ip_from 2001:4de0:7003:1::/64; +set_real_ip_from 2001:57a:50a:1100::/64; +set_real_ip_from 2001:57a:50b:1100::/64; +set_real_ip_from 2001:57a:50d:1100::/64; set_real_ip_from 2001:57a:50f:1100::/64; set_real_ip_from 2001:57a:200:1100::/64; set_real_ip_from 2001:57a:300:1100::/64; @@ -186,6 +206,7 @@ set_real_ip_from 2407:1580:1500::/40; set_real_ip_from 2407:1580:1600::/40; set_real_ip_from 2407:1580:1700:1100::/64; set_real_ip_from 2407:1580:1700::/40; +set_real_ip_from 2407:1580:1900:1100::/64; set_real_ip_from 2604:6840:1c00:1100::/64; set_real_ip_from 2604:6840:1e00::/40; set_real_ip_from 2604:6840:1100::/40; @@ -206,6 +227,11 @@ set_real_ip_from 2604:6840:2100:1100::/64; set_real_ip_from 2604:6840:2200:1100::/64; set_real_ip_from 2604:6840:2300:1100::/56; set_real_ip_from 2604:6840:2300:1100::/64; +set_real_ip_from 2604:6840:2400:1100::/64; +set_real_ip_from 2604:6840:2500:1100::/64; +set_real_ip_from 2604:6840:e800:1100::/64; +set_real_ip_from 2604:6840:f000:1100::/64; +set_real_ip_from 2604:6840:f000:1300::/64; set_real_ip_from 2604:6840:f800::/40; set_real_ip_from 2604:6840:f900::/40; set_real_ip_from 2604:6840:fa00::/40;