server-security-proxy

server security proxy write by Rust

how to use

[log]

see how to configrution simple-log:https://github.com/baoyachi/simple-log

path = "./var/log/serversecurity/serversecurity.log" level = "INFO" size = 200 outkind = ["file"] rollcount = 300 ```

[tokio::main]

async fn main() { let args: Vec = std::env::args().map(|x| format!("{}", x)).collect(); if args.len() < 2 { println!("lost config path error"); exit(-1); } start(format!("{}", args[1])).await.unwrap(); } ```

TODO