Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ mydomain.com
reverse_proxy 127.0.0.1:8080
```

If you want to serve `code-server` from a sub-path, below is sample configuration for Caddy:

```
mydomain.com/code/* {
uri strip_prefix /code
reverse_proxy 127.0.0.1:8080
}
```

Remember to replace `mydomain.com` with your domain name!

5. Reload caddy with:
Expand Down