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

View File

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