File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 88
99<VirtualHost _default_:<tmpl_var name="vhost_port">>
1010 ServerAdmin webmaster@localhost
11+ <tmpl_if name='apache_version' op='>=' value='2.4' format='version'>
12+ Protocols h2 h2c http/1.1
13+ </tmpl_if>
1114
1215 <Directory /var/www/ispconfig/>
1316 <FilesMatch "\.ph(p3?|tml)$">
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ options {
2222 dnssec-validation yes;
2323 dnssec-lookaside auto;
2424
25- version "DNS managed by ISPConfig";
26-
25+ version "DNS-Server";
2726 auth-nxdomain no; # conform to RFC1035
2827 listen-on-v6 { any; };
2928};
Original file line number Diff line number Diff line change 1313<tmpl_loop name='vhosts'>
1414<VirtualHost {tmpl_var name='ip_address'}:{tmpl_var name='port'}>
1515<tmpl_hook name='apache2_vhost:vhost_header'>
16+ <tmpl_if name='enable_spdy' op='==' value='y'>
17+ <tmpl_if name='apache_version' op='>=' value='2.4' format='version'>
18+ Protocols h2 h2c http/1.1
19+ </tmpl_if>
20+ </tmpl_if>
21+
1622<tmpl_if name='php' op='==' value='suphp'>
1723 DocumentRoot <tmpl_var name='web_document_root'>
1824</tmpl_else>
You can’t perform that action at this time.
0 commit comments