mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
Add braces to Caddyfile example (#6382)
This commit is contained in:
parent
2d335bd1ea
commit
56d3548fa2
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue