remove headers, add google dns as reference
This commit is contained in:
parent
306b6cfa47
commit
5d54227fbf
@ -33,6 +33,7 @@ http {
|
||||
# set default document root for all sites
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
# upstream servers
|
||||
#<insert PHP handler here if applicable>
|
||||
|
||||
# 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 <lanIP>;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user