mirror of
https://github.com/caddyserver/website.git
synced 2025-06-21 05:30:32 -04:00
noot
This commit is contained in:
parent
abdb76f083
commit
2419a71643
3 changed files with 137 additions and 1 deletions
|
@ -20,4 +20,13 @@ Your first time, you may be prompted for a password. This is so Caddy can serve
|
|||
|
||||
You can then load [https://localhost](https://localhost) (or whatever address you configured) in your browser.
|
||||
|
||||
### Docker
|
||||
|
||||
You can run rootless with docker with
|
||||
```
|
||||
docker stop caddy-website || true && docker rm caddy-website || true
|
||||
docker run --name caddy-website -it -p 8443:443 -v ./:/wd caddy sh -c "cd /wd && caddy run"
|
||||
```
|
||||
|
||||
This will allow you to connect to https://localhost:8443
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue