Skip to content

Commit 2cbe541

Browse files
author
Stuart Williams
committed
Add maxconn to listener template
1 parent 52fb093 commit 2cbe541

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)