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
This commit is contained in:
xavier skip
2022-05-08 19:37:51 +08:00
committed by GitHub
parent f9292f23fe
commit 2f1ab1d67e
+2 -2
View File
@@ -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.