我尝试根据测试有条件地将$HTTP["scheme"] == "http" {
$HTTP["host"] =~ ".*" {
url.redirect = (".*" => "https://%0$0")
}
}
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.ca-file = "/etc/lighttpd/fullchain.pem"
ssl.pemfile = "/etc/lighttpd/server.pem"
$HTTP["url"] =~ "^/directory/" {
url.rewrite-once = ( "^/directory/(.*)$" => "/directory/index.html" )
proxy.header = ( "map-urlpath" => ("/directory/" => "/") )
proxy.server = ( "" => ( "" => ( "host" => "192.0.0.1", "port" => 123)))
}
}
分配给变量,但是当我使用tibble
时,得到的列表仅包含一列而不是tibble
。我知道我可以使用常规的if ... else语句来执行此操作,但是我想知道是什么导致ifelse
ifelse