Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion runtime/reference/cli/serve.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
last_modified: 2026-06-17
last_modified: 2026-06-29
title: "deno serve"
oldUrl: /runtime/manual/tools/serve/
command: serve
Expand Down Expand Up @@ -139,6 +139,15 @@ specific interface:
deno serve --host=127.0.0.1 server.ts
```

## HTTPS support

HTTPS can be enabled by providing the server TLS certificate and private key
pair as PEM-encoded files:

```sh
deno serve --tls-cert cert.pem --tls-key key.pem
```

## Horizontal scaling

Run multiple server instances across CPU cores for better throughput:
Expand Down
Loading