Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2016 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4dc0ca7d85dbc92940bb2159f82129aa to your computer and use it in GitHub Desktop.
Save anonymous/4dc0ca7d85dbc92940bb2159f82129aa to your computer and use it in GitHub Desktop.
/etc/nginx/conf.d/*:
file.recurse:
- name: /etc/nginx/conf.d
- source: salt://nginx/files/etc/nginx/conf.d
- clean: true
nginx:
pkg.installed:
- name: nginx
service.running:
- enable: true
- reload: true
- watch:
- file: /etc/nginx/nginx.conf
- file: /etc/nginx/conf.d/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment