Skip to content

Commit b0acc13

Browse files
authored
Merge pull request #101 from stuwil/maxconn
Add maxconn to listener template
2 parents 52fb093 + 2cbe541 commit b0acc13

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

templates/listen.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ listen {{ item.name }}
1818

1919
{% endfor %}
2020
{% endif %}
21+
{% if item.maxconn is defined -%}
22+
maxconn {{ item.maxconn }}
23+
{% endif -%}
2124
{% if item.balance is defined %}
2225
balance {{ item.balance }}
2326
{% endif -%}

vars/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ empty: true
173173
# ciphers: 'RC4-SHA:AES128-SHA:AES:!ADH:!aNULL:!DH:!EDH:!eNULL'
174174
# disabled:
175175
# description:
176+
# maxconn:
176177
# balance:
177178
# cookie:
178179
# log:

0 commit comments

Comments
 (0)