From f0cc546a798db98af2082ec73c16388b5c7fcca5 Mon Sep 17 00:00:00 2001 From: Kamil Monicz Date: Tue, 9 Jan 2024 00:31:04 +0100 Subject: [PATCH] Update Caddyfile --- Caddyfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 640d800..9a4d4e3 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,6 +1,7 @@ :443 { - reverse_proxy cache:80 - header_up X-Forwarded-For {http.request.header.CF-Connecting-IP} + reverse_proxy cache:80 { + header_up X-Forwarded-For {http.request.header.CF-Connecting-IP} + } tls /cert/ssl.crt /cert/ssl.key { client_auth {