Skip to content

🔧 Saltstack states to set up an nginx server.

License

Notifications You must be signed in to change notification settings

cebe-cc/salt-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

salt-nginx

Saltstack states to set up an nginx server.

Usage

Add these to your saltstack states:

git submodule add https://github.com/cebe-cc/salt-nginx.git salt/nginx

Note: The states are currently not independent of their location in the state file tree, so you must place them at salt://nginx.

Supported OSs

  • Debian
    • 8, jessie
    • 9, stretch
    • 10, buster

Features

  • Basic Nginx Setup
  • SSL
    • setup DH primes according to https://weakdh.org/sysadmin.html
    • configure OCSP stapling
    • set HSTS header
    • Automatic registration of Letsencrypt certificates via acme.sh