This repository has been archived on 2023-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2022-09-22 18:53:34 +02:00
.gitignore Initial commit (non functional state) 2022-05-24 11:42:45 +02:00
etc-letsencrypt.mount Initial commit (non functional state) 2022-05-24 11:42:45 +02:00
etc-letsencrypt.timer Initial commit (non functional state) 2022-05-24 11:42:45 +02:00
install.sh Set install script to new run_directory norm 2022-09-22 18:53:34 +02:00
lighttpd-webssh.conf Initial commit (non functional state) 2022-05-24 11:42:45 +02:00
README.md Update README 2022-08-19 20:35:55 +02:00
start-lighttpd.conf Initial commit (non functional state) 2022-05-24 11:42:45 +02:00
wait-for-dns.conf Initial commit (non functional state) 2022-05-24 11:42:45 +02:00

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.conf is a sub-conf file for lighttpd, making it serve WebSSH.
  • etc-letsencrypt.mount allows to unlock and mount encrypted certificates volume.
    • Relevant information should be added to /etc/crypttab.
  • etc-letsencrypt.timer is a timer to automatically start previous unit, but this is currently not used.
  • start-lighttpd.conf is 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.conf is a drop-in Systemd unit file, which prevents nginx to start before DNS server is operational.

Installation

  • install.sh script copies Systemd files to their destination and sets lighttpd conf (and creates a certificate if needed).

TODO

  • RAS