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