1.1 KiB
1.1 KiB
Frontal web configuration
This repository contains units and config files for our frontal web starting (at boot). We start lighttpd with a WebSSH instance running (for web remote access if need be). We must manually unlock certificates volume, then start nginx.
Files
lighttpd-webssh.confis a sub-conf file for lighttpd, making it serve WebSSH.etc-letsencrypt.mountallows to unlock and mount encrypted certificates volume.- Relevant information should be added to
/etc/crypttab.
- Relevant information should be added to
etc-letsencrypt.timeris a timer to automatically start previous unit, but this is currently not used.start-lighttpd.confis a drop-in Systemd unit file, which starts lighttpd should nginx fail to start.- This is not intended for starting process, more in case of failed (remote) restart of nginx.
wait-for-dns.confis a drop-in Systemd unit file, which prevents nginx to start before DNS server is operational.
Installation
install.shscript copies Systemd files to their destination and sets lighttpd conf (and creates a certificate if needed).
TODO
- RAS