Merge pull request #3532 from PisecesPeng/patch-1

docs: format 'Caddy'
This commit is contained in:
Joe Previte 2021-06-04 10:44:21 -07:00 committed by GitHub
commit f3640610b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -52,6 +52,7 @@ VS Code v0.00.0
- docs: remove toc from changelog @oxy @jsjoeio - docs: remove toc from changelog @oxy @jsjoeio
- docs(MAINTAINING): add information about CHANGELOG #3467 @jsjoeio - docs(MAINTAINING): add information about CHANGELOG #3467 @jsjoeio
- docs: move release process to MAINTAINING.md #3441 @oxy @Prashant168 - docs: move release process to MAINTAINING.md #3441 @oxy @Prashant168
- docs: format 'Caddy' from guide.md @PisecesPeng
### Development ### Development

View File

@ -177,7 +177,7 @@ Assuming you have been following the guide, edit your instance and checkmark the
1. You'll need to buy a domain name. We recommend [Google Domains](https://domains.google.com). 1. You'll need to buy a domain name. We recommend [Google Domains](https://domains.google.com).
2. Add an A record to your domain with your instance's IP. 2. Add an A record to your domain with your instance's IP.
3. Install caddy https://caddyserver.com/docs/download#debian-ubuntu-raspbian. 3. Install Caddy https://caddyserver.com/docs/download#debian-ubuntu-raspbian.
```bash ```bash
sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https
@ -206,7 +206,7 @@ mydomain.com/code/* {
Remember to replace `mydomain.com` with your domain name! Remember to replace `mydomain.com` with your domain name!
5. Reload caddy with: 5. Reload Caddy with:
```bash ```bash
sudo systemctl reload caddy sudo systemctl reload caddy
@ -215,7 +215,7 @@ sudo systemctl reload caddy
Visit `https://<your-domain-name>` to access `code-server`. Congratulations! Visit `https://<your-domain-name>` to access `code-server`. Congratulations!
In a future release we plan to integrate Let's Encrypt directly with `code-server` to avoid In a future release we plan to integrate Let's Encrypt directly with `code-server` to avoid
the dependency on caddy. the dependency on Caddy.
#### NGINX #### NGINX