Add braces to Caddyfile example (#6382)

This commit is contained in:
Efren 2023-08-10 00:44:23 +00:00 committed by GitHub
parent 2d335bd1ea
commit 56d3548fa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -139,9 +139,9 @@ sudo apt install caddy
1. Replace `/etc/caddy/Caddyfile` using `sudo` so that the file looks like this: 1. Replace `/etc/caddy/Caddyfile` using `sudo` so that the file looks like this:
```text ```text
mydomain.com mydomain.com {
reverse_proxy 127.0.0.1:8080 reverse_proxy 127.0.0.1:8080
}
``` ```
If you want to serve code-server from a sub-path, you can do so as follows: If you want to serve code-server from a sub-path, you can do so as follows: