mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 11:04:42 +00:00
webui: fix previous
configuration requires forward slashes here
This commit is contained in:
parent
f25e1214dc
commit
d27eb4261c
@ -433,7 +433,7 @@ EOD;
|
||||
$listener = "[{$listener}]";
|
||||
}
|
||||
$lighty_config .= "\$SERVER[\"socket\"] == \"{$listener}:{$lighty_port}\" {\n";
|
||||
$lighty_config .= "\t\$HTTP[\"url\"] =~ \"^api\" {\n\t\tserver.stream-response-body = 2\n\t}\n";
|
||||
$lighty_config .= "\t\$HTTP[\"url\"] =~ \"^/api/\" {\n\t\tserver.stream-response-body = 2\n\t}\n";
|
||||
if ($config['system']['webgui']['protocol'] == "https") {
|
||||
$lighty_config .= "\tssl.engine = \"enable\"" . PHP_EOL;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user