File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 85
85
86
86
# nginx.conf (main server) declarations
87
87
# 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
88
89
config:
89
90
source_path: salt://path_to_nginx_conf_file/nginx.conf # IMPORTANT: This option is mutually exclusive with the rest of the
90
91
# options; if it is found other options (worker_processes: 4 and so
@@ -102,6 +103,12 @@ nginx:
102
103
- /etc/nginx/conf.d/*.conf
103
104
- /etc/nginx/sites-enabled/*
104
105
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
+
105
112
servers:
106
113
disabled_postfix: .disabled # a postfix appended to files when doing non-symlink disabling
107
114
symlink_opts: {} # partially exposes file.symlink params when symlinking enabled sites
You can’t perform that action at this time.
0 commit comments