diff options
author | Simon Rettberg | 2014-11-18 19:37:23 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-11-18 19:37:23 +0100 |
commit | 98202109262dae1c46a49a73ba865a041ef7ae16 (patch) | |
tree | e57124782ceddac66a4c91c2ab8636c20e4b1d8f /satellit_installer/static_files/lighttpd.conf | |
parent | [SSPS] netsetup: Hostname and, if there, Domain to /etc/hosts in static case (diff) | |
download | setup-scripts-98202109262dae1c46a49a73ba865a041ef7ae16.tar.gz setup-scripts-98202109262dae1c46a49a73ba865a041ef7ae16.tar.xz setup-scripts-98202109262dae1c46a49a73ba865a041ef7ae16.zip |
[SSPS] Add support for enabling HTTPS in lighttpd
Diffstat (limited to 'satellit_installer/static_files/lighttpd.conf')
-rw-r--r-- | satellit_installer/static_files/lighttpd.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/lighttpd.conf b/satellit_installer/static_files/lighttpd.conf index 33b2643..e07d8ad 100644 --- a/satellit_installer/static_files/lighttpd.conf +++ b/satellit_installer/static_files/lighttpd.conf @@ -26,6 +26,8 @@ compress.filetype = ( "application/javascript", "text/css", "text/html include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" +# Check if server.pem exists, if so output configuration block for HTTPS +include_shell "/usr/share/lighttpd/auto-ssl.sh" url.rewrite-once = ( "^/?boot/(.*)/config$" => "/slx-admin/api.php?do=getconfig&type=$1", |