remove headers, add google dns as reference

This commit is contained in:
Asif Bacchus 2019-06-03 21:04:25 -06:00
parent 306b6cfa47
commit 5d54227fbf

View File

@ -33,6 +33,7 @@ http {
# set default document root for all sites # set default document root for all sites
root /usr/share/nginx/html; root /usr/share/nginx/html;
# upstream servers
#<insert PHP handler here if applicable> #<insert PHP handler here if applicable>
# logging options # logging options
@ -51,10 +52,12 @@ http {
access_log off; access_log off;
server_tokens off; server_tokens off;
set_real_ip_from 127.0.0.1;
set_real_ip_from <lanIP>; set_real_ip_from <lanIP>;
real_ip_header X-Forwarded-For;
real_ip_recursive on; 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 enabled server blocks from /etc/nginx/enabledSites/*.conf
include /etc/nginx/enabledSites/*.conf; include /etc/nginx/enabledSites/*.conf;