summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-05 14:22:31 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-05 14:22:31 +0200
commite234229ae80da0fa9967b797f7b5f4f381cba4b4 (patch)
tree02bed359b39eb1e8b7f022afb6fdba451292b5c6 /config.h
parent918685c1c09de1e3cd14c41bb8cc8b89a177ccd2 (diff)
All certificates configurable per site
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 2 insertions, 2 deletions
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<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