add Spdy option
- http://en.wikipedia.org/wiki/SPDY
14 files modified
1 files added
New file |
| | |
| | | ALTER TABLE `web_domain` ADD COLUMN `enable_spdy` ENUM('y','n') NULL DEFAULT 'n' AFTER `proxy_directives`; |
| | |
| | | `traffic_quota_lock` enum('n','y') NOT NULL default 'n', |
| | | `fastcgi_php_version` varchar(255) DEFAULT NULL, |
| | | `proxy_directives` mediumtext, |
| | | `enable_spdy` ENUM('y','n') NULL DEFAULT 'n', |
| | | `last_quota_notification` date NULL default NULL, |
| | | `rewrite_rules` mediumtext, |
| | | `added_date` date NOT NULL DEFAULT '0000-00-00', |
| | |
| | | php_ini_path_cgi=/etc/php5/cgi/php.ini |
| | | check_apache_config=y |
| | | enable_sni=y |
| | | enable_spdy=n |
| | | enable_ip_wildcard=y |
| | | overtraffic_notify_admin=y |
| | | overtraffic_notify_client=y |
| | |
| | | 'width' => '40', |
| | | 'maxlength' => '255' |
| | | ), |
| | | 'enable_spdy' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'y', |
| | | 'value' => array ( |
| | | 0 => 'n', |
| | | 1 => 'y' |
| | | ) |
| | | ), |
| | | 'apps_vhost_port' => array( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | |
| | | $wb['php_ini_check_minutes_error_empty'] = 'Bitte geben Sie einen Wert an, wie oft die php.ini auf Änderungen geprüft werden soll.'; |
| | | $wb['php_ini_check_minutes_info_txt'] = '0 = keine Prüfung'; |
| | | $wb['php_handler_txt'] = 'Standard-PHP-Handler'; |
| | | $wb['enable_spdy_txt'] = 'Stellt Spdy zur Verfügung'; |
| | | ?> |
| | |
| | | $wb['php_ini_check_minutes_txt'] = 'Check php.ini every X minutes for changes'; |
| | | $wb['php_ini_check_minutes_error_empty'] = 'Please specify a value how often php.ini should be checked for changes.'; |
| | | $wb['php_ini_check_minutes_info_txt'] = '0 = no check'; |
| | | $wb['enable_spdy_txt'] = 'enables spdy'; |
| | | ?> |
| | |
| | | <label for="htaccess_allow_override">{tmpl_var name='htaccess_allow_override_txt'}</label> |
| | | <input name="htaccess_allow_override" id="htaccess_allow_override" value="{tmpl_var name='htaccess_allow_override'}" size="40" maxlength="255" type="text" class="textInput" /> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label"> |
| | | <tmpl_var name="enable_spdy_txt"> |
| | | </p> |
| | | <div class="multiField"> |
| | | <tmpl_var name="enable_spdy"> |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='enable_ip_wildcard_txt'}</p> |
| | | <div class="multiField"> |
| | |
| | | 'default' => '', |
| | | 'value' => array('' => 'none_txt', 'save' => 'save_certificate_txt', 'create' => 'create_certificate_txt', 'del' => 'delete_certificate_txt') |
| | | ), |
| | | 'enable_spdy' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array ( |
| | | 0 => 'n', |
| | | 1 => 'y' |
| | | ) |
| | | ), |
| | | //################################# |
| | | // ENDE Datatable fields |
| | | //################################# |
| | |
| | | $wb['apache_directive_blocked_error'] = 'Die Apache Direktive wurde durch die Sicherheitsrichtline blockiert:'; |
| | | $wb['btn_save_txt'] = 'Speichern'; |
| | | $wb['btn_cancel_txt'] = 'Abbrechen'; |
| | | $wb['enable_spdy_txt'] = 'Aktiviere Spdy'; |
| | | ?> |
| | |
| | | $wb['subdomain_error_empty'] = 'The subdommain field is empty or contains invalid characters.'; |
| | | $wb['btn_save_txt'] = "Save"; |
| | | $wb['btn_cancel_txt'] = "Cancel"; |
| | | $wb['enable_spdy_txt'] = 'activate Spdy'; |
| | | ?> |
| | |
| | | }); |
| | | } |
| | | |
| | | </script> |
| | | </script> |
| | |
| | | {tmpl_var name='ssl_action'} |
| | | </select> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='enable_spdy_txt'}</p> |
| | | <div class="multiField"> |
| | | {tmpl_var name="enable_spdy"} |
| | | </div> |
| | | </div> |
| | | </fieldset> |
| | | |
| | | <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | |
| | | <VirtualHost {tmpl_var name='apps_vhost_ip'}:{tmpl_var name='apps_vhost_port'}> |
| | | ServerAdmin webmaster@localhost |
| | | {tmpl_var name='apps_vhost_servername'} |
| | | |
| | | |
| | | <FilesMatch "\.ph(p3?|tml)$"> |
| | | SetHandler None |
| | | </FilesMatch> |
| | | |
| | | |
| | | {tmpl_if name="enable_spdy" op="==" value="y"} |
| | | <IfModule spdy_module> |
| | | SpdyEnabled on |
| | | </IfModule> |
| | | {/tmpl_if} |
| | | |
| | | <IfModule mod_php5.c> |
| | | DocumentRoot {tmpl_var name='apps_vhost_dir'} |
| | | AddType application/x-httpd-php .php |
| | |
| | | </tmpl_if> |
| | | |
| | | <tmpl_if name='ssl_enabled'> |
| | | listen <tmpl_var name='ip_address'>:443 ssl; |
| | | listen <tmpl_var name='ip_address'>:443 ssl{tmpl_if name='enable_spdy' op='==' value='y'} spdy{/tmpl_if}; |
| | | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; |
| | | <tmpl_if name='ipv6_enabled'> |
| | | listen [<tmpl_var name='ipv6_address'>]:443 ssl; |
| | |
| | | } |
| | | </tmpl_if> |
| | | } |
| | | </tmpl_loop> |
| | | </tmpl_loop> |
| | |
| | | } |
| | | } |
| | | |
| | | // Spdy |
| | | $tpl->setVar('spdy_enabled', ''); |
| | | if($data['new']['enable_spdy'] == 'y') { |
| | | $tpl->setVar('spdy_enabled', ' spdy'); |
| | | } |
| | | |
| | | // PHP-FPM |
| | | // Support for multiple PHP versions |
| | | /* |