Merge pull request #103 from michaelforge/feature-keepalive_option

Added ability to configure KeepAlive option
This commit is contained in:
Forrest 2015-12-16 16:32:49 -08:00
commit 7abbe22724
2 changed files with 5 additions and 1 deletions

View File

@ -91,7 +91,7 @@ Timeout 300
# KeepAlive: Whether or not to allow persistent connections (more than # KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate. # one request per connection). Set to "Off" to deactivate.
# #
KeepAlive On KeepAlive {{ salt['pillar.get']('apache:keepalive', 'On') }}
# #
# MaxKeepAliveRequests: The maximum number of requests to allow # MaxKeepAliveRequests: The maximum number of requests to allow

View File

@ -116,6 +116,10 @@ apache:
disabled: # List modules to disable disabled: # List modules to disable
- rewrite - rewrite
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
keepalive: 'On'
security: security:
# can be Full | OS | Minimal | Minor | Major | Prod # can be Full | OS | Minimal | Minor | Major | Prod
# where Full conveys the most information, and Prod the least. # where Full conveys the most information, and Prod the least.