Skip to content

Commit 530c0db

Browse files
noelmcloughlinMark Breedlove
authored and
Mark Breedlove
committedDec 17, 2019
Document workaround for saltstack-formulas#122
1 parent 2f1c841 commit 530c0db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎pillar.example

+7
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ nginx:
8585

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

106+
### Module ngx_http_log_module example ##
107+
log_format: |-
108+
main '...';
109+
access_log /var/log/nginx/access_log main
110+
access_log: [] #suppress default access_log option from being added
111+
105112
servers:
106113
disabled_postfix: .disabled # a postfix appended to files when doing non-symlink disabling
107114
symlink_opts: {} # partially exposes file.symlink params when symlinking enabled sites

0 commit comments

Comments
 (0)
Please sign in to comment.