FIX (again) 804 and PRTG monitoring server

This commit is contained in:
Dirk 2017-08-01 15:37:40 +02:00
parent 6a4fd280bf
commit 4536678b82

View File

@ -1457,7 +1457,7 @@ run_http_header() {
detect_ipv4() {
local octet="(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])"
local ipv4address="$octet\\.$octet\\.$octet\\.$octet"
local whitelisted_header="pagespeed|page-speed|^Content-Security-Policy|^MicrosoftSharePointTeamServices|^X-OWA-Version"
local whitelisted_header="pagespeed|page-speed|^Content-Security-Policy|^MicrosoftSharePointTeamServices|^X-OWA-Version|^Location|^Server: PRTG"
local your_ip_msg="(check if it's your IP address or e.g. a cluster IP)"
local result
local first=true