small-packages/luci-lighttpd/root/etc/lighttpd/conf.d/82-https.conf
2026-05-10 09:48:30 +08:00

9 lines
240 B
Plaintext

$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/conf.d/server.pem"
} else $HTTP["scheme"] == "http" {
$HTTP["host"] =~ ".*" {
# url.redirect = (".*" => "https://%0$0")
}
}