瀏覽代碼

Merge pull request #103 from michaelforge/feature-keepalive_option

Added ability to configure KeepAlive option
master
Forrest 9 年之前
父節點
當前提交
7abbe22724
共有 2 個檔案被更改,包括 5 行新增1 行删除
  1. +1
    -1
      apache/files/Debian/apache-2.4.config.jinja
  2. +4
    -0
      pillar.example

+ 1
- 1
apache/files/Debian/apache-2.4.config.jinja 查看文件

@@ -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

+ 4
- 0
pillar.example 查看文件

@@ -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…
取消
儲存