nginx | |||||
===== |
nginx | |||||
===== | |||||
Install nginx |
include: | include: | ||||
- nginx.common | - nginx.common | ||||
- nginx.users | - nginx.users | ||||
# To install from a package | |||||
# If you want to install from source | |||||
# simply replace this comment | |||||
{% if pillar.get('nginx', {}).get('install_from_source') %} | |||||
- nginx.source | |||||
{% else %} | |||||
- nginx.package | - nginx.package | ||||
{% endif -%} | |||||
nginx: | |||||
install_from_source: True | |||||
with_luajit: False | |||||
with_openresty: True | |||||
modules: | |||||
headers-more: | |||||
source: http://github.com/agentzh/headers-more-nginx-module/tarball/v0.21 | |||||
source_hash: sha1=DAFJAKSDFJAKDFJ |