mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
🐛 further SSL debugging
This commit is contained in:
parent
c1ba3ccca4
commit
f8f464ef3f
1 changed files with 1 additions and 3 deletions
4
main.cpp
4
main.cpp
|
|
@ -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;
|
||||
}
|
||||
Loading…
Reference in a new issue