Skip to content

Commit

Permalink
Document workaround for saltstack-formulas#122
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin authored and blarghmatey committed Dec 17, 2019
1 parent 6c15455 commit 81e5ec0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ nginx:

# nginx.conf (main server) declarations
# dictionaries map to blocks {} and lists cause the same declaration to repeat with different values
# see also http://nginx.org/en/docs/example.html
config:
source_path: salt://path_to_nginx_conf_file/nginx.conf # IMPORTANT: This option is mutually exclusive with the rest of the
# options; if it is found other options (worker_processes: 4 and so
Expand All @@ -102,6 +103,12 @@ nginx:
- /etc/nginx/conf.d/*.conf
- /etc/nginx/sites-enabled/*

### Module ngx_http_log_module example ##
log_format: |-
main '...';
access_log /var/log/nginx/access_log main
access_log: [] #suppress default access_log option from being added

servers:
disabled_postfix: .disabled # a postfix appended to files when doing non-symlink disabling
symlink_opts: {} # partially exposes file.symlink params when symlinking enabled sites
Expand Down

0 comments on commit 81e5ec0

Please sign in to comment.