mirror of
https://github.com/coder/code-server.git
synced 2025-09-19 03:03:57 +08:00
Add braces to Caddyfile example (#6382)
This commit is contained in:
@ -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