Skip to content

Commit 7c75fc5

Browse files
committed
Adding SSLStaplingCache shmcb:/var/run/ocsp(128000) to vhost template conf if apache version >= 2.4 and ssl enabled
1 parent cedad16 commit 7c75fc5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

server/conf/vhost.conf.master

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,4 +445,13 @@
445445

446446
<tmpl_var name='apache_directives'>
447447
</VirtualHost>
448+
449+
<tmpl_if name='apache_version' op='>=' value='2.4' format='version'>
450+
<tmpl_if name='ssl_enabled'>
451+
<IfModule mod_ssl.c>
452+
SSLStaplingCache shmcb:/var/run/ocsp(128000)
453+
</IfModule>
454+
</tmpl_if>
455+
</tmpl_if>
456+
448457
</tmpl_loop>

0 commit comments

Comments
 (0)