mirror of
https://github.com/outbackdingo/klipper-linux.git
synced 2026-01-27 10:19:29 +00:00
Remove ssl.dh-file option from lighttpd
The file took ages to generate on the target.
This commit is contained in:
@@ -115,7 +115,6 @@ ssl.pemfile = "/etc/ssl/certs/localcert.pem"
|
||||
#### https://syslink.pl/cipherlist/
|
||||
ssl.honor-cipher-order = "enable"
|
||||
ssl.cipher-list = "EECDH+AESGCM:EDH+AESGCM"
|
||||
ssl.dh-file = "/etc/lighttpd/dhparam.pem" # openssl dhparam -out /etc/lighttpd/dhparam.pem 4096
|
||||
setenv.add-response-header = (
|
||||
"Strict-Transport-Security" => "max-age=63072000; includeSubDomains; preload",
|
||||
"X-Frame-Options" => "DENY",
|
||||
|
||||
@@ -92,10 +92,3 @@ python populate_packages_prepend () {
|
||||
lighttpd_libdir = d.expand('${libdir}')
|
||||
do_split_packages(d, lighttpd_libdir, r'^mod_(.*)\.so$', 'lighttpd-module-%s', 'Lighttpd module for %s', extra_depends='')
|
||||
}
|
||||
|
||||
pkg_postinst_ontarget_${PN}() {
|
||||
#!/bin/sh
|
||||
if [ ! -s /etc/lighttpd/dhparam.pem ]; then
|
||||
openssl dhparam -out /etc/lighttpd/dhparam.pem 4096
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user