From bfe716d14ec2fae1e365b241a4e9bd35d1637177 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 23 Jul 2024 16:29:47 +0200 Subject: [PATCH] pihole.rev_server has been removed Signed-off-by: DL6ER --- scripts/pi-hole/lua/header.lp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/pi-hole/lua/header.lp b/scripts/pi-hole/lua/header.lp index 6244dc4e..4fd866f4 100644 --- a/scripts/pi-hole/lua/header.lp +++ b/scripts/pi-hole/lua/header.lp @@ -39,9 +39,8 @@ function in_array (val, tab) return false end --- Connection is considered secure if either running natively on HTTPS or behind --- a reverse proxy (e.g. Traefik) -is_secure = mg.request_info.https or pihole.rev_proxy() +-- Connection is considered secure if running natively on HTTPS +is_secure = mg.request_info.https -- Variable to check if user is already authenticated is_authenticated = mg.request_info.is_authenticated