Skip to content

Commit

Permalink
Update Caddyfile syntax
Browse files Browse the repository at this point in the history
Added missing curly brackets in Caddyfile configuration example.
  • Loading branch information
encg committed Aug 9, 2023
1 parent 2d335bd commit b626855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b626855

Please sign in to comment.