File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 9
9
# (2) Improve SSL engine security and performance.
10
10
#
11
11
# https://httpd.apache.org/docs/current/mod/mod_ssl.html
12
- #
13
- # (3) Optimize SSL by caching session parameters.
14
- # This cuts down on the number of expensive SSL handshakes.
15
- # By enabling a cache, we tell the client to re-use the already
16
- # negotiated state.
17
12
18
13
<IfModule mod_ssl.c>
19
14
25
20
SSLCompression Off
26
21
SSLSessionTickets Off
27
22
28
- # (3)
29
- <IfModule mod_socache_shmcb.c>
30
- SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_gcache_data(10485760)"
31
- SSLSessionCacheTimeout 86400
32
- </IfModule>
33
-
34
23
</IfModule>
Original file line number Diff line number Diff line change @@ -78,6 +78,18 @@ LogLevel warn
78
78
CustomLog logs/access.log combined
79
79
</IfModule >
80
80
81
+ # Optimize TLS by caching session parameters.
82
+ # By enabling a cache, we tell the client to re-use the already negotiated
83
+ # state. This cuts down on the number of expensive TLS handshakes.
84
+ # https://httpd.apache.org/docs/current/mod/mod_socache_shmcb.html
85
+ <IfModule mod_socache_shmcb.c >
86
+ # https://httpd.apache.org/docs/current/mod/mod_ssl.html#SSLSessionCache
87
+ SSLSessionCache "shmcb:/usr/local/apache2/logs/ssl_gcache_data(10485760 )"
88
+
89
+ # https://httpd.apache.org/docs/current/mod/mod_ssl.html#sslsessioncachetimeout
90
+ SSLSessionCacheTimeout 86400
91
+ </IfModule >
92
+
81
93
# Prevent Apache from sending its version number, the description of the
82
94
# generic OS-type or information about its compiled-in modules in the "Server"
83
95
# response header.
You can’t perform that action at this time.
0 commit comments