ServerConfig struct
#include <src/microserve/config.cppm>
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