Install and configure nginx.
Install the nginx
package from the official PPA.
Set default ssl settings in the http
context. This settings can be overwritten for server {}
block if needed.
To deploy sites, you need to put your configuration files in /etc/nginx/conf.d
in another formula.
Automatically install, configure and update TLS certificates using letsencrypt.
It uses lightweight dehydrated implementation in conjunction with a systemd.timer
.
See pillar.example
for documentation details.
Tests currently fail, as it doesn't seem to be possible anymore to start nginx
within Github Actions. Ideas welcome.