.
This commit is contained in:
@@ -2,7 +2,12 @@ Install nginx:
|
||||
pkg.installed:
|
||||
- name: nginx
|
||||
|
||||
|
||||
create www folder structure:
|
||||
file.recurse:
|
||||
- name: /srv/www/htdocs
|
||||
- source: salt://nginx/files
|
||||
- include_empty: True
|
||||
- replace: False
|
||||
|
||||
Start nginx:
|
||||
service.running:
|
||||
|
Reference in New Issue
Block a user