diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,6 +3,7 @@ #include <filesystem> #include <string> #include <unordered_map> +#include <unordered_set> #include <vector> namespace fs = std::filesystem; @@ -23,7 +24,7 @@ struct Path struct Site { std::string name; - std::string host; + std::unordered_set<std::string> hosts; std::vector<Path> paths; }; @@ -38,7 +39,7 @@ struct Socket std::string address; std::string port; SocketProtocol protocol; - std::vector<std::string> serve_sites; // if empty, serve all configured sites // TODO: implement + std::vector<std::string> serve_sites; // if empty, automatically expand to all configured sites fs::path cert_path; fs::path key_path; }; |