🐛 further SSL debugging

This commit is contained in:
EntireTwix 2021-04-12 16:21:03 -07:00
parent c1ba3ccca4
commit f8f464ef3f

View file

@ -44,9 +44,7 @@ int main(int argc, char **argv)
[](const drogon::HttpRequestPtr &req, const drogon::HttpResponsePtr &resp) {
resp->addHeader("Access-Control-Allow-Origin", "*");
});
app().addListener("0.0.0.0", 80).registerController(API).setThreadNum(std::stoul(argv[3])).enableRunAsDaemon().setSSLFiles("/etc/letsencrypt/live/ccash.ryzerth.com/fullchain.pem", "/etc/letsencrypt/live/ccash.ryzerth.com/privkey.pem");
std::cout << app().supportSSL();
app().run();
app().loadConfigFile("../config.json").addListener("0.0.0.0", 80).registerController(API).setThreadNum(std::stoul(argv[3])).enableRunAsDaemon().run();
return 0;
}