Skip to content

Commit 9fce5ae

Browse files
author
Till Brehm
committed
Merge branch 'http2-always' into 'stable-3.1'
Always enable HTTP/2 if available See merge request ispconfig/ispconfig3!1033
2 parents 9968469 + 9be955c commit 9fce5ae

File tree

64 files changed

+41
-172
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+41
-172
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,8 @@ ALTER TABLE `mail_user` ADD `disableindexer-worker` ENUM('n','y') CHARACTER SET
3636
-- add SSHFP and DNAME record
3737
ALTER TABLE `dns_rr` CHANGE `type` `type` ENUM('A','AAAA','ALIAS','CNAME','DNAME','CAA','DS','HINFO','LOC','MX','NAPTR','NS','PTR','RP','SRV','SSHFP','TXT','TLSA','DNSKEY') NULL DEFAULT NULL AFTER `name`;
3838

39+
-- remove SPDY option
40+
ALTER TABLE `web_domain` DROP COLUMN `enable_spdy`;
41+
3942
-- was missing in incremental, inserted for fixing older installations
40-
ALTER TABLE `web_domain` ADD `folder_directive_snippets` TEXT NULL AFTER `https_port`;
43+
ALTER TABLE `web_domain` ADD `folder_directive_snippets` TEXT NULL AFTER `https_port`;

install/sql/ispconfig3.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,6 @@ CREATE TABLE `web_domain` (
20702070
`traffic_quota_lock` enum('n','y') NOT NULL default 'n',
20712071
`fastcgi_php_version` varchar(255) DEFAULT NULL,
20722072
`proxy_directives` mediumtext,
2073-
`enable_spdy` ENUM('y','n') NULL DEFAULT 'n',
20742073
`last_quota_notification` date NULL default NULL,
20752074
`rewrite_rules` mediumtext,
20762075
`added_date` date NULL DEFAULT NULL,

install/tpl/apache_apps.vhost.master

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,14 @@
1010
<VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}>
1111
ServerAdmin webmaster@localhost
1212
{tmpl_var name='apps_vhost_servername'}
13-
13+
1414
<FilesMatch "\.ph(p3?|tml)$">
1515
SetHandler None
1616
</FilesMatch>
17-
17+
1818
<IfModule mod_headers.c>
1919
RequestHeader unset Proxy early
2020
</IfModule>
21-
22-
{tmpl_if name="enable_spdy" op="==" value="y"}
23-
<IfModule spdy_module>
24-
SpdyEnabled on
25-
</IfModule>
26-
{/tmpl_if}
2721

2822
<IfModule mod_php5.c>
2923
DocumentRoot {tmpl_var name='apps_vhost_dir'}
@@ -39,7 +33,7 @@
3933
</tmpl_if>
4034
</Directory>
4135
</IfModule>
42-
36+
4337
<IfModule mod_php7.c>
4438
DocumentRoot {tmpl_var name='apps_vhost_dir'}
4539
AddType application/x-httpd-php .php
@@ -54,7 +48,7 @@
5448
</tmpl_if>
5549
</Directory>
5650
</IfModule>
57-
51+
5852
<IfModule mod_fcgid.c>
5953
DocumentRoot {tmpl_var name='apps_vhost_dir'}
6054
SuexecUserGroup ispapps ispapps
@@ -87,5 +81,3 @@
8781

8882

8983
</VirtualHost>
90-
91-

install/tpl/server.ini.master

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ php_ini_path_apache=/etc/php5/apache2/php.ini
9494
php_ini_path_cgi=/etc/php5/cgi/php.ini
9595
check_apache_config=y
9696
enable_sni=y
97-
enable_spdy=n
9897
skip_le_check=n
9998
enable_ip_wildcard=y
10099
overtraffic_notify_admin=y

interface/web/admin/form/server_config.tform.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1317,15 +1317,6 @@
13171317
'width' => '40',
13181318
'maxlength' => '255'
13191319
),
1320-
'enable_spdy' => array (
1321-
'datatype' => 'VARCHAR',
1322-
'formtype' => 'CHECKBOX',
1323-
'default' => 'y',
1324-
'value' => array (
1325-
0 => 'n',
1326-
1 => 'y'
1327-
)
1328-
),
13291320
'apps_vhost_enabled' => array (
13301321
'datatype' => 'VARCHAR',
13311322
'formtype' => 'CHECKBOX',

interface/web/admin/lib/lang/ar_server_config.lng

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ $wb['dkim_strength_txt'] = 'DKIM strength';
274274
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
275275
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
276276
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
277-
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
278277
$wb['web_settings_txt'] = 'Web Server';
279278
$wb['xmpp_server_txt'] = 'XMPP Server';
280279
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/bg_server_config.lng

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ $wb['dkim_strength_txt'] = 'DKIM strength';
274274
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
275275
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
276276
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
277-
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
278277
$wb['web_settings_txt'] = 'Web Server';
279278
$wb['xmpp_server_txt'] = 'XMPP Server';
280279
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/br_server_config.lng

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,6 @@ $wb['network_filesystem_txt'] = 'Sistema de arquivos de rede';
277277
$wb['php_ini_check_minutes_txt'] = 'Verificar alterações no php.ini a cada X minutos';
278278
$wb['php_ini_check_minutes_error_empty'] = 'Por favor, insira um valor para verificação de alterações no php.ini.';
279279
$wb['php_ini_check_minutes_info_txt'] = '0 = sem verificações';
280-
$wb['enable_spdy_txt'] = 'Tornar SPDY/HTTP2 disponível';
281280
$wb['web_settings_txt'] = 'Servidor web';
282281
$wb['xmpp_server_txt'] = 'Servidor xmpp';
283282
$wb['xmpp_use_ipv6_txt'] = 'Usar IPv6';

interface/web/admin/lib/lang/ca_server_config.lng

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ $wb['network_filesystem_txt'] = 'Network Filesystem';
272272
$wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes';
273273
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
274274
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
275-
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
276275
$wb['web_settings_txt'] = 'Web Server';
277276
$wb['xmpp_server_txt'] = 'XMPP Server';
278277
$wb['xmpp_use_ipv6_txt'] = 'Use IPv6';

interface/web/admin/lib/lang/cz_server_config.lng

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ $wb['disabled_txt'] = 'Vypnuto';
269269
$wb['php_ini_check_minutes_txt'] = 'Provádět kontrolu změny obsahu souboru php.ini každých X minut';
270270
$wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.';
271271
$wb['php_ini_check_minutes_info_txt'] = '0 = no check';
272-
$wb['enable_spdy_txt'] = 'Makes SPDY/HTTP2 available';
273272
$wb['web_settings_txt'] = 'Web Server';
274273
$wb['xmpp_server_txt'] = 'XMPP Server';
275274
$wb['xmpp_use_ipv6_txt'] = 'Použít IPv6';

0 commit comments

Comments
 (0)