summaryrefslogtreecommitdiffhomepage
path: root/https.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-06 19:19:23 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-06 19:19:23 +0200
commit0ff6671cec0bc8db106f094400425ada5d4faf7a (patch)
treed8e03e9da57cea28b4d090524b10d64f00b0e0e3 /https.cpp
parent917d4574153fa57ea43e7410006f58aa5b1bbb0b (diff)
Don't use privileged ports as user
Diffstat (limited to 'https.cpp')
-rw-r--r--https.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/https.cpp b/https.cpp
index 9be69a8..161efad 100644
--- a/https.cpp
+++ b/https.cpp
@@ -604,7 +604,7 @@ Server::Server(Config& config, boost::asio::io_context& ioc, const Socket& socke
if (site.name == serve_site) {
std::shared_ptr<ssl::context> ctx {std::make_shared<ssl::context>(tls_method)};
- std::cout << "Creating SSL context/cert for site " << serve_site << std::endl;
+ std::cout << "Creating SSL context/cert for site " << serve_site << " on port " << socket.port << std::endl;
load_server_certificate(*ctx, site.cert_path, site.key_path);
SSL_CTX_set_tlsext_servername_callback(ctx->native_handle(), servername_callback);