Skip to content
forked from chr4/salt-nginx

Salt formula to install nginx, with automatic support for ACME certificate requests using letsencrypt

License

Notifications You must be signed in to change notification settings

dgo-/salt-nginx

 
 

Repository files navigation

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.

About

Salt formula to install nginx, with automatic support for ACME certificate requests using letsencrypt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SaltStack 57.1%
  • Shell 32.9%
  • Ruby 6.2%
  • Jinja 3.8%