|
@@ -985,6 +985,7 @@ enum {
|
|
|
SSL_CA_FILE,
|
|
|
SSL_VERIFY_DEPTH,
|
|
|
SSL_DEFAULT_VERIFY_PATHS,
|
|
|
+ SSL_FORWARD_SECRECY,
|
|
|
#if defined(USE_WEBSOCKET)
|
|
|
WEBSOCKET_TIMEOUT,
|
|
|
#endif
|
|
@@ -1049,6 +1050,7 @@ static struct mg_option config_options[] = {
|
|
|
{"ssl_ca_file", CONFIG_TYPE_FILE, NULL},
|
|
|
{"ssl_verify_depth", CONFIG_TYPE_NUMBER, "9"},
|
|
|
{"ssl_default_verify_paths", CONFIG_TYPE_BOOLEAN, "yes"},
|
|
|
+ {"ssl_forward_secrecy", CONFIG_TYPE_BOOLEAN, "yes"},
|
|
|
#if defined(USE_WEBSOCKET)
|
|
|
{"websocket_timeout_ms", CONFIG_TYPE_NUMBER, "30000"},
|
|
|
#endif
|