Merge pull request #210 from noelmcloughlin/master

Document issue 93 in pillar.example
This commit is contained in:
Niels Abspoel 2019-01-25 21:49:10 +01:00 committed by GitHub
commit b633ca489c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,12 +103,23 @@ nginx:
- /etc/nginx/conf.d/*.conf
- /etc/nginx/sites-enabled/*
### Module ngx_http_log_module example ##
### 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
### module nngx_stream_core_module
stream:
upstream lb-1000:
- server:
- hostname1.example.com:1000
- hostname2.example.com:1000
server:
listen: 1000
proxy_pass: lb-1000
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