Revision 257fdefe
Added by Chris Buechler over 9 years ago
src/etc/inc/system.inc | ||
---|---|---|
1127 | 1127 |
|
1128 | 1128 |
/* generate nginx configuration */ |
1129 | 1129 |
system_generate_nginx_config("{$g['varetc_path']}/nginx-webConfigurator.conf", |
1130 |
$crt, $key, "nginx-webConfigurator.pid", $portarg, "/usr/local/www/", |
|
1130 |
$crt, $key, $ca, "nginx-webConfigurator.pid", $portarg, "/usr/local/www/",
|
|
1131 | 1131 |
"cert.crt", "cert.key"); |
1132 | 1132 |
|
1133 | 1133 |
/* kill any running nginx */ |
... | ... | |
1154 | 1154 |
function system_generate_nginx_config($filename, |
1155 | 1155 |
$cert, |
1156 | 1156 |
$key, |
1157 |
$ca, |
|
1157 | 1158 |
$pid_file, |
1158 | 1159 |
$port = 80, |
1159 | 1160 |
$document_root = "/usr/local/www/", |
Also available in: Unified diff
Bring back $ca in config function