There was an error while loading. Please reload this page.
1 parent 13b0aa6 commit 4ed927bCopy full SHA for 4ed927b
1 file changed
runtime/reference/cli/serve.md
@@ -1,5 +1,5 @@
1
---
2
-last_modified: 2026-06-17
+last_modified: 2026-06-29
3
title: "deno serve"
4
oldUrl: /runtime/manual/tools/serve/
5
command: serve
@@ -139,6 +139,15 @@ specific interface:
139
deno serve --host=127.0.0.1 server.ts
140
```
141
142
+## HTTPS support
143
+
144
+HTTPS can be enabled by providing the server TLS certificate and private key
145
+pair as PEM-encoded files:
146
147
+```sh
148
+deno serve --tls-cert cert.pem --tls-key key.pem
149
+```
150
151
## Horizontal scaling
152
153
Run multiple server instances across CPU cores for better throughput:
0 commit comments