Remove ssl.dh-file option from lighttpd

The file took ages to generate on the target.
This commit is contained in:
Sergey 'Jin' Bostandzhyan
2020-07-12 16:22:18 +02:00
parent 7f0b9b5ee3
commit b840987b85
2 changed files with 0 additions and 8 deletions

View File

@@ -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",

View File

@@ -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
}