Archived
1
0

Add security section to readme

See #1062.
This commit is contained in:
Asher
2019-10-23 11:49:05 -05:00
parent 7f07b8f66c
commit ff99a1d768
3 changed files with 28 additions and 10 deletions

View File

@ -7,15 +7,6 @@
## Usage
Run `code-server --help` to view available options.
### Encrypting traffic with HTTPS
To encrypt the traffic between the browser and server use `code-server --cert`
followed by the path to your certificate. Additionally, you can use certificate
keys with `--cert-key` followed by the path to your key. If you pass `--cert`
without any path code-server will generate a self-signed certificate.
You can use [Let's Encrypt](https://letsencrypt.org/) to get an SSL certificate
for free.
### Nginx Reverse Proxy
The trailing slashes are important.