From e9e464010ebeb3cfec567f074867ddc5485b4d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Tue, 7 May 2019 20:02:15 +0200 Subject: [PATCH] Update default --- static/vhost/default | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/vhost/default b/static/vhost/default index 1447d3a..8d05c71 100644 --- a/static/vhost/default +++ b/static/vhost/default @@ -5,10 +5,15 @@ server { server_name localhost; # ================================================ - # LIMIT CONNECTION FOR IP / IPs WILL BE AUTO BANNED IF YOU HAVE INSTALL IPTABLES/FAIL2BAN - limit_conn max 800; - limit_req zone=one burst=300 nodelay; - limit_req_status 444; + add_header GEO_COUNTRY_CODE $geoip2_data_country_code; + add_header GEO_COUNTRY_NAME $geoip2_data_country_name; + add_header GEO_STATE $geoip2_data_state; + add_header GEO_CITY_NAME $geoip2_data_city_name; + add_header GEO_ZIP_CODE $geoip2_data_zip; + + add_header X-Content-Type-Options 'nosniff' always; + add_header X-Xss-Protection '1; mode=block'; + add_header Referrer-Policy 'no-referrer-when-downgrade'; # ================================================ # ================================================