web_server_ssl

This commit is contained in:
Alexander Alashkin committed 2015-03-06 15:08:57 +02:00
1 parent e9633a8d2d
commit 6ceac6c84c
3 files changed
+67

No files matched your search

+5
View File
@@ -71,7 +71,12 @@ static char server_name[50]; // Set by init_server_name()
static char s_config_file[PATH_MAX]; // Set by process_command_line_arguments
static struct mg_server *server; // Set by start_mongoose()
static const char *s_default_document_root = ".";
#ifndef NS_ENABLE_SSL
static const char *s_default_listening_port = "8080";
#else
static const char *s_default_listening_port = "ssl://8443:certs/cert.pem";
#endif
static char **s_argv = { NULL };
static void set_options(char *argv[]);