This commit is contained in:
Jun Kurihara 2022-06-25 09:34:35 -04:00
commit d11162c778
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 3 additions and 4 deletions

View file

@ -32,7 +32,7 @@ pub fn parse_opts(globals: &mut Globals, backends: &mut HashMap<String, Backend>
app_name: "Localhost to Google except for maps".to_string(),
hostname: "localhost".to_string(),
reverse_proxy: ReverseProxy {
// default_destination_uri: "http://www.google.com".parse::<Uri>().unwrap(),
// default_destination_uri: "https://www.google.com".parse::<Uri>().unwrap(),
default_destination_uri: "http://abehiroshi.la.coocan.jp/".parse::<Uri>().unwrap(), // httpのみの場合の好例
destination_uris: map_example,
},