From 5d54227fbf198f2e8d9e0dcac0fa3c423577129e Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 3 Jun 2019 21:04:25 -0600 Subject: [PATCH] remove headers, add google dns as reference --- etc/nginx/nginx.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 389ba17..1f9ca6b 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -33,6 +33,7 @@ http { # set default document root for all sites root /usr/share/nginx/html; + # upstream servers # # logging options @@ -51,10 +52,12 @@ http { access_log off; server_tokens off; - set_real_ip_from 127.0.0.1; set_real_ip_from ; - real_ip_header X-Forwarded-For; real_ip_recursive on; + # uncomment below to use google DNS + #resolver + # 8.8.8.8 8.8.4.4 + # [2001:4860:4860::8888] [2001:4860:4860::8844]; # include enabled server blocks from /etc/nginx/enabledSites/*.conf include /etc/nginx/enabledSites/*.conf;