Skip to content

Latest commit

 

History

History
29 lines (14 loc) · 859 Bytes

README.md

File metadata and controls

29 lines (14 loc) · 859 Bytes

Nginx salt formula

Saltstack

Install and configure nginx.

Available states

init.sls

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.

letsencrypt.sls

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.

Notes

Tests currently fail, as it doesn't seem to be possible anymore to start nginx within Github Actions. Ideas welcome.