MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / with_server_sans

Method with_server_sans

crates/openshell-core/src/config.rs:692–699  ·  view source on GitHub ↗
(mut self, sans: I)

Source from the content-addressed store, hash-verified

690 /// enable service subdomains.
691 #[must_use]
692 pub fn with_server_sans<I, S>(mut self, sans: I) -> Self
693 where
694 I: IntoIterator<Item = S>,
695 S: Into<String>,
696 {
697 self.service_routing.base_domains = service_routing_domains_from_server_sans(sans);
698 self
699 }
700
701 /// Enable or disable plaintext HTTP routing for loopback sandbox service
702 /// hostnames on TLS-enabled gateway listeners.