Add braces to Caddyfile example (#6382)
This commit is contained in:
parent
2d335bd1ea
commit
56d3548fa2
@ -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:
|
||||||
|
Reference in New Issue
Block a user