Merge branch 'openssl' into revproxy-openssl

This commit is contained in:
int 80h
2020-05-09 20:56:58 -04:00
6 changed files with 68 additions and 79 deletions

View File

@@ -7,7 +7,7 @@ use std::path::Path;
#[derive(Debug, Deserialize, Clone)]
pub struct Config {
pub port: i32,
pub port: u16,
pub host: String,
pub server: Vec<Server>,
}
@@ -31,7 +31,7 @@ pub struct ServerCfg {
pub cert: String,
pub cgi: String,
pub usrdir: bool,
pub port: i32,
pub port: u16,
pub proxy: HashMap<String, String>,
}