diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-05 14:22:31 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-05 14:22:31 +0200 |
commit | e234229ae80da0fa9967b797f7b5f4f381cba4b4 (patch) | |
tree | 02bed359b39eb1e8b7f022afb6fdba451292b5c6 /config.h | |
parent | 918685c1c09de1e3cd14c41bb8cc8b89a177ccd2 (diff) |
All certificates configurable per site
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,6 +26,8 @@ struct Site std::string name; std::unordered_set<std::string> hosts; std::vector<Path> paths; + fs::path cert_path; + fs::path key_path; }; enum class SocketProtocol @@ -40,8 +42,6 @@ struct Socket std::string port; SocketProtocol protocol; std::vector<std::string> serve_sites; // if empty, automatically expand to all configured sites - fs::path cert_path; - fs::path key_path; }; class Config |