aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp/servers/httpsys.h')
-rw-r--r--src/zenhttp/servers/httpsys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/zenhttp/servers/httpsys.h b/src/zenhttp/servers/httpsys.h
index b2fe7475b..ca465ad00 100644
--- a/src/zenhttp/servers/httpsys.h
+++ b/src/zenhttp/servers/httpsys.h
@@ -22,6 +22,10 @@ struct HttpSysConfig
bool IsRequestLoggingEnabled = false;
bool IsDedicatedServer = false;
bool ForceLoopback = false;
+ int HttpsPort = 0; // 0 = HTTPS disabled
+ std::string CertThumbprint; // Hex SHA-1 (40 chars) for auto SSL binding
+ std::string CertStoreName = "MY"; // Windows certificate store name
+ bool HttpsOnly = false; // When true, disable HTTP listener
};
Ref<HttpServer> CreateHttpSysServer(HttpSysConfig Config);