File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # Cloudflare IP Ranges
2+ # IPv4
3+ set_real_ip_from 103.21.244.0 /22 ;
4+ set_real_ip_from 103.22.200.0 /22 ;
5+ set_real_ip_from 103.31.4.0 /22 ;
6+ set_real_ip_from 104.16.0.0 /13 ;
7+ set_real_ip_from 104.24.0.0 /14 ;
8+ set_real_ip_from 108.162.192.0 /18 ;
9+ set_real_ip_from 131.0.72.0 /22 ;
10+ set_real_ip_from 141.101.64.0 /18 ;
11+ set_real_ip_from 162.158.0.0 /15 ;
12+ set_real_ip_from 172.64.0.0 /13 ;
13+ set_real_ip_from 173.245.48.0 /20 ;
14+ set_real_ip_from 188.114.96.0 /20 ;
15+ set_real_ip_from 190.93.240.0 /20 ;
16+ set_real_ip_from 197.234.240.0 /22 ;
17+ set_real_ip_from 198.41.128.0 /17 ;
18+ # IPv6
19+ set_real_ip_from 2400 :cb00::/32 ;
20+ set_real_ip_from 2405 :8100 ::/32 ;
21+ set_real_ip_from 2405 :b500::/32 ;
22+ set_real_ip_from 2606 :4700 ::/32 ;
Original file line number Diff line number Diff line change @@ -1408,6 +1408,8 @@ cp -f $HESTIA_INSTALL_DIR/nginx/nginx.conf /etc/nginx/
14081408cp -f $HESTIA_INSTALL_DIR /nginx/status.conf /etc/nginx/conf.d/
14091409cp -f $HESTIA_INSTALL_DIR /nginx/0rtt-anti-replay.conf /etc/nginx/conf.d/
14101410cp -f $HESTIA_INSTALL_DIR /nginx/agents.conf /etc/nginx/conf.d/
1411+ # Copy over cloudflare.inc incase in the next step there are connection issues with CF
1412+ cp -f $HESTIA_INSTALL_DIR /nginx/cloudflare.inc /etc/nginx/conf.d/
14111413cp -f $HESTIA_INSTALL_DIR /nginx/phpmyadmin.inc /etc/nginx/conf.d/
14121414cp -f $HESTIA_INSTALL_DIR /nginx/phppgadmin.inc /etc/nginx/conf.d/
14131415cp -f $HESTIA_INSTALL_DIR /logrotate/nginx /etc/logrotate.d/
Original file line number Diff line number Diff line change @@ -1423,6 +1423,8 @@ cp -f $HESTIA_INSTALL_DIR/nginx/nginx.conf /etc/nginx/
14231423cp -f $HESTIA_INSTALL_DIR /nginx/status.conf /etc/nginx/conf.d/
14241424cp -f $HESTIA_INSTALL_DIR /nginx/0rtt-anti-replay.conf /etc/nginx/conf.d/
14251425cp -f $HESTIA_INSTALL_DIR /nginx/agents.conf /etc/nginx/conf.d/
1426+ # Copy over cloudflare.inc incase in the next step there are connection issues with CF
1427+ cp -f $HESTIA_INSTALL_DIR /nginx/cloudflare.inc /etc/nginx/conf.d/
14261428cp -f $HESTIA_INSTALL_DIR /nginx/phpmyadmin.inc /etc/nginx/conf.d/
14271429cp -f $HESTIA_INSTALL_DIR /nginx/phppgadmin.inc /etc/nginx/conf.d/
14281430cp -f $HESTIA_INSTALL_DIR /logrotate/nginx /etc/logrotate.d/
You can’t perform that action at this time.
0 commit comments