summaryrefslogtreecommitdiffstats
path: root/raddb/sites-available/aws-nlb
diff options
context:
space:
mode:
Diffstat (limited to 'raddb/sites-available/aws-nlb')
-rw-r--r--raddb/sites-available/aws-nlb9
1 files changed, 9 insertions, 0 deletions
diff --git a/raddb/sites-available/aws-nlb b/raddb/sites-available/aws-nlb
index acea81e..06ca632 100644
--- a/raddb/sites-available/aws-nlb
+++ b/raddb/sites-available/aws-nlb
@@ -33,6 +33,15 @@ listen {
proto = tcp
ipaddr = *
port = 8000
+
+ #
+ # Set limits so that unused connections get cleaned up quickly.
+ #
+ limit {
+ max_connections = 16
+ lifetime = 5
+ idle_timeout = 5
+ }
}
#