We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9821788 + 84ed851 commit c0a3af0Copy full SHA for c0a3af0
install/upgrade/versions/1.4.0.sh
@@ -15,6 +15,11 @@ if [ -e "/etc/nginx/nginx.conf" ]; then
15
fi
16
17
18
+if [ -e "/etc/nginx/nginx.conf" ]; then
19
+ echo "[ * ] Update Nginx.conf with changes to Cloudflare IP addresses"
20
+ sed -i 's/ set_real_ip_from 104.16.0.0\/12;/ set_real_ip_from 104.16.0.0\/13;\n set_real_ip_from 104.24.0.0\/14;/g' /etc/nginx/nginx.conf
21
+fi
22
+
23
# Populating HELO/SMTP Banner for existing IPs
24
if [ "$MAIL_SYSTEM" == "exim4" ]; then
25
0 commit comments