80定向到443,example.org为你的域名

$SERVER["socket"] == ":80" {
        $HTTP["host"] =~ "example.org" {
         url.redirect = ( "^/(.*)" => "https://example.org/$1" ) 
          server.name = "example.org" 
        }
}
分类: Lighttpd使用方法 标签: 暂无标签

评论

暂无评论数据

暂无评论数据

目录