Skip to content

Commit

Permalink
Merge pull request #1021 from wyardley/streamhost_docs
Browse files Browse the repository at this point in the history
docs fix from @jurim76
  • Loading branch information
roidelapluie authored Mar 6, 2017
2 parents 14493c2 + fd10117 commit 2e28bb5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,33 @@ nginx::nginx_mailhosts:
starttls: only
```
### A stream syslog UDP proxy
```yaml
nginx::nginx_cfg_prepend:
include:
- '/etc/nginx/modules-enabled/*.conf'

nginx::nginx_streamhosts:
'syslog':
ensure: 'present'
listen_port: '514'
listen_options: 'udp'
proxy: 'syslog'
proxy_read_timeout: '1'
proxy_connect_timeout: '1'
raw_append:
- 'error_log off;'

nginx::nginx_upstreams:
'syslog':
upstream_context: 'stream'
members:
- '10.0.0.1:514'
- '10.0.0.2:514'
- '10.0.0.3:514'
```
## Nginx with precompiled Passenger
Example configuration for Debian and RHEL / CentOS (>6), pulling the Nginx and
Expand Down

0 comments on commit 2e28bb5

Please sign in to comment.