microserve::Config::ServerConfig struct

One virtual host as declared in YAML or built from CLI.

Public types

struct Location
One location: static root, auth, and/or proxy_pass.

Public variables

std::string server_name
std::vector<ListenSpec> listen
std::vector<Protocol> protocol
std::string tls_cert
std::string tls_key
std::vector<std::string> indexes
std::vector<Location> locations
std::string error_log
std::string access_log
std::string access_log_format
std::optional<CacheConfig> cache