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;