Skip to content
Permalink
Browse files

Merge pull request #3945 from laurentquillerou/http2

  • Loading branch information...
sbeaver-netgate committed Jun 21, 2018
2 parents e0f84e0 + 4a1de53 commit 4439ab0baece07a88c946d567ad736c375c3fe6d
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/etc/inc/system.inc
@@ -1272,14 +1272,14 @@ function system_webgui_start() {
function get_dns_nameservers() {
global $config;
$dns_nameservers = array();
if (isset($config['system']['developerspew'])) {
$mt = microtime();
echo "get_dns_nameservers() being called $mt\n";
}
$syscfg = $config['system'];
if ((((isset($config['dnsmasq']['enable'])) &&
(empty($config['dnsmasq']['port']) || $config['dnsmasq']['port'] == "53") &&
@@ -1432,8 +1432,8 @@ EOD;
if ($cert <> "" and $key <> "") {
$nginx_config .= "\n";
$nginx_config .= "\tserver {\n";
$nginx_config .= "\t\tlisten {$nginx_port} ssl;\n";
$nginx_config .= "\t\tlisten [::]:{$nginx_port} ssl;\n";
$nginx_config .= "\t\tlisten {$nginx_port} ssl http2;\n";
$nginx_config .= "\t\tlisten [::]:{$nginx_port} ssl http2;\n";
$nginx_config .= "\n";
$nginx_config .= "\t\tssl_certificate {$g['varetc_path']}/{$cert_location};\n";
$nginx_config .= "\t\tssl_certificate_key {$g['varetc_path']}/{$key_location};\n";

0 comments on commit 4439ab0

Please sign in to comment.
You can’t perform that action at this time.