Skip to content

Commit 3b28fac

Browse files
Corvincesapphi-red
authored andcommitted
Update TLS and HTTP/2 options documentation
Clarified the note regarding TLS downgrade and certificate requirements.
1 parent 98a1025 commit 3b28fac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/config/server-options.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ Set to `true` to exit if port is already in use, instead of automatically trying
9292

9393
Enable TLS + HTTP/2. The value is an [options object](https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener) passed to `https.createServer()`.
9494

95-
Note that this downgrades to TLS only when the [`server.proxy` option](#server-proxy) is also used.
96-
9795
A valid certificate is needed. For a basic setup, you can add [@vitejs/plugin-basic-ssl](https://github.com/vitejs/vite-plugin-basic-ssl) to the project plugins, which will automatically create and cache a self-signed certificate. But we recommend creating your own certificates.
9896

9997
## server.open

0 commit comments

Comments
 (0)