diff --git a/nginx.conf b/nginx.conf index 20d27d2..8203138 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,11 +24,12 @@ http { #tcp_nopush on; keepalive_timeout 65; + server_tokens off; #gzip on; - include /etc/nginx/conf.d/*.conf; - + # CloudFlare Ips + real_ip_header CF-Connecting-IP; set_real_ip_from 173.245.48.0/20; set_real_ip_from 103.21.244.0/22; set_real_ip_from 103.22.200.0/22; @@ -44,5 +45,8 @@ http { set_real_ip_from 104.24.0.0/14; set_real_ip_from 172.64.0.0/13; set_real_ip_from 131.0.72.0/22; - real_ip_header CF-Connecting-IP; + + + include /etc/nginx/conf.d/*.conf; + } \ No newline at end of file