From 2f1ab1d67e57e6293e9ccbcf8e386740e2a4cf84 Mon Sep 17 00:00:00 2001 From: xavier skip Date: Sun, 8 May 2022 19:37:51 +0800 Subject: [PATCH] avoid change config file for the next update. `/etc/lighttpd.lighttpd.conf` show this: # ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE: /etc/lighttpd/external.conf from here: https://raspberrypi.stackexchange.com/questions/52090/how-do-i-change-pi-holes-url-path/117849#117849 --- docs/guides/webserver/caddy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/webserver/caddy.md b/docs/guides/webserver/caddy.md index 569c5de..cedf86d 100644 --- a/docs/guides/webserver/caddy.md +++ b/docs/guides/webserver/caddy.md @@ -6,10 +6,10 @@ If you'd like to use [Caddy](https://caddyserver.com/) as your main web server w ## Modifying lighttpd configuration -First, change the listen port in this file: `/etc/lighttpd/lighttpd.conf:` +First, change the listen port in this file: `/etc/lighttpd/external.conf:` ```lighttpd -server.port = 1080 +server.port := 1080 ``` In this case, port 1080 was chosen at random. You can use a custom port.