其他技术frp配合FileZilla Server搭建FTP映射 5年前 (2019-01-15) 阅读(5680) 评论(2) 经实践,可行的一篇文章分享: https://blog.csdn.net/shile/article/details/74392125 主要点子: 1、Passive mode settings的use custom port range 设置为50000到50002 2、frpc配置 [ftp21] type = tcp local_ip =...
其他技术Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? 5年前 (2019-01-09) 阅读(8187) 评论(0) PHP7.3中在switch中使用continue语句会出现如题警告。 while ($foo) { switch ($bar) { case "baz": continue; // In PHP: Behaves like "break;" // In C: Behaves l...
其他技术nginx按天存储访问日志,原生 5年前 (2019-01-07) 阅读(4077) 评论(0) if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})") { set $year $1; set $month $2; set $day $3; } access_log logs/host-$year-$month-$day-access.log main; 在server段里面添加