Skip to content

Commit

Permalink
Merge pull request voxpupuli#1333 from martinrw/master
Browse files Browse the repository at this point in the history
fixing some documentation for setting up UDP streams
  • Loading branch information
dhoppe authored Jun 5, 2019
2 parents f9cc48a + 33b3481 commit 5b27489
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ nginx::nginx_mailhosts:
### A stream syslog UDP proxy
```yaml

nginx::stream: true

nginx::nginx_cfg_prepend:
include:
- '/etc/nginx/modules-enabled/*.conf'
Expand All @@ -245,15 +248,15 @@ nginx::nginx_upstreams:
'syslog':
context: 'stream'
members:
'10.0.0.1:514'
'10.0.0.1:514':
server: '10.0.0.1'
port: '514'
'10.0.0.2:514'
port: 514
'10.0.0.2:514':
server: '10.0.0.2'
port: '514'
'10.0.0.3:514'
port: 514
'10.0.0.3:514':
server: '10.0.0.3'
port: '514'
port: 514
```
## Nginx with precompiled Passenger
Expand Down

0 comments on commit 5b27489

Please sign in to comment.