mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
Added ability to configure KeepAlive option
Sometimes it's necessary optimization in nginx+apache2 environment
This commit is contained in:
parent
0b69d718bb
commit
3e650f5c48
2 changed files with 5 additions and 1 deletions
|
@ -91,7 +91,7 @@ Timeout 300
|
|||
# KeepAlive: Whether or not to allow persistent connections (more than
|
||||
# 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
|
||||
|
|
|
@ -116,6 +116,10 @@ apache:
|
|||
disabled: # List modules to disable
|
||||
- rewrite
|
||||
|
||||
# KeepAlive: Whether or not to allow persistent connections (more than
|
||||
# one request per connection). Set to "Off" to deactivate.
|
||||
keepalive: On
|
||||
|
||||
security:
|
||||
# can be Full | OS | Minimal | Minor | Major | Prod
|
||||
# where Full conveys the most information, and Prod the least.
|
||||
|
|
Loading…
Add table
Reference in a new issue