v0.35.1: performance, AGPL licensing and documentation overhaul
- Web Server reads static files inline; proxy middleware chain flattened - About window with license summary and project links; AGPL-3.0-or-later - Rewritten documentation: feature list, screenshots, performance guide - Fix false spikes in per-Vhost request-rate charts
This commit is contained in:
1 parent
d3b492874b
commit
eba9f89283
135 files changed
+1425
-1064
No files matched your search
+2
-2
@@ -105,9 +105,9 @@ impl CompiledSecurity {
|
||||
headers.insert(*name, value.clone());
|
||||
}
|
||||
if !tls {
|
||||
headers.remove("strict-transport-security");
|
||||
headers.remove(::http::header::STRICT_TRANSPORT_SECURITY);
|
||||
} else if let Some(value) = &self.hsts {
|
||||
headers.insert("strict-transport-security", value.clone());
|
||||
headers.insert(::http::header::STRICT_TRANSPORT_SECURITY, value.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user