mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 18:44:56 +03:00
server: keepAliveTimeout and headersTimeout
This commit is contained in:
parent
f7baeab6b7
commit
73ec757508
@ -29,6 +29,9 @@ app.prepare().then(async () => {
|
||||
server.use(compression());
|
||||
}
|
||||
|
||||
server.keepAliveTimeout = 440 * 1000;
|
||||
server.headersTimeout = 450 * 1000;
|
||||
|
||||
server.use("/public", express.static("public"));
|
||||
server.get("/system", async (r, s) => s.redirect("/_/system"));
|
||||
server.get("/experiences", async (r, s) => s.redirect("/_/system"));
|
||||
|
Loading…
Reference in New Issue
Block a user