From e234229ae80da0fa9967b797f7b5f4f381cba4b4 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 5 Apr 2020 14:22:31 +0200 Subject: All certificates configurable per site --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 1c938c0..801b5fa 100644 --- a/config.h +++ b/config.h @@ -26,6 +26,8 @@ struct Site std::string name; std::unordered_set hosts; std::vector 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 serve_sites; // if empty, automatically expand to all configured sites - fs::path cert_path; - fs::path key_path; }; class Config -- cgit v1.2.3