Skip to content

Commit d85994c

Browse files
committed
Updatet ispconfig.vhost tpl inside installer with new SSL Options - SSLCipherSuite - SSLHonorCipherOrder - Header always add Strict-Transport-Security - SSLUseStapling - SSLStaplingResponderTimeout - SSLStaplingReturnResponderErrors - SSLStaplingCache
1 parent 7c75fc5 commit d85994c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

install/tpl/apache_ispconfig.vhost.master

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,26 @@ NameVirtualHost *:<tmpl_var name="vhost_port">
6868
<tmpl_var name="ssl_comment">SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
6969
<tmpl_var name="ssl_bundle_comment">SSLCACertificateFile /usr/local/ispconfig/interface/ssl/ispserver.bundle
7070

71+
<tmpl_var name="ssl_comment">SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:E$
72+
<tmpl_var name="ssl_comment">SSLHonorCipherOrder On
73+
74+
<IfModule mod_headers.c>
75+
Header always add Strict-Transport-Security "max-age=15768000"
76+
</IfModule>
77+
78+
<tmpl_if name='apache_version' op='>=' value='2.4' format='version'>
79+
<tmpl_var name="ssl_comment">SSLUseStapling on
80+
<tmpl_var name="ssl_comment">SSLStaplingResponderTimeout 5
81+
<tmpl_var name="ssl_comment">SSLStaplingReturnResponderErrors off
82+
</tmpl_if>
7183
</VirtualHost>
7284

85+
<tmpl_if name='apache_version' op='>=' value='2.4' format='version'>
86+
<IfModule mod_ssl.c>
87+
<tmpl_var name="ssl_comment">SSLStaplingCache shmcb:/var/run/ocsp(128000)
88+
</IfModule>
89+
</tmpl_if>
90+
7391
<Directory /var/www/php-cgi-scripts>
7492
AllowOverride None
7593
<tmpl_if name='apache_version' op='>' value='2.2' format='version'>

0 commit comments

Comments
 (0)