Update README.md

This commit is contained in:
Matteo Contrini 2022-07-19 15:05:37 +02:00 committed by GitHub
parent 83af764809
commit 8049ecb1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,7 @@ You can increase the `frag_duration` (microseconds) to slightly reduce the file
## TLS ## TLS
Unfortunately, QUIC mandates TLS and makes local development difficult. Unfortunately, QUIC mandates TLS and makes local development difficult.
If you have a valid certificate you can use it instead of self-signing. The go binaries take a `-cert` and `-key` argument. Skip the remaining steps in this section and use your hostname instead of `localhost.warp.demo`. If you have a valid certificate you can use it instead of self-signing. The go binaries take a `-tls-cert` and `-tls-key` argument. Skip the remaining steps in this section and use your hostname instead of `localhost.warp.demo`.
### Self-Sign ### Self-Sign
Generate a self-signed certificate for local testing: Generate a self-signed certificate for local testing:
@ -112,3 +112,5 @@ yarn serve
``` ```
These can be accessed on `https://localhost.warp.demo:4444` by default. These can be accessed on `https://localhost.warp.demo:4444` by default.
If you use a custom domain for the Warp server, make sure to override the server URL with the `url` query string parameter, e.g. `https://localhost:4444/?url=https://localhost:4443`.