mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
Update options.md
This commit is contained in:
parent
ed85759d51
commit
ed889b64f1
1 changed files with 3 additions and 3 deletions
|
@ -220,14 +220,14 @@ To disable HTTP/3 unless otherwise specified:
|
|||
}
|
||||
```
|
||||
|
||||
To create default listeners from file descriptors given by [environment variable placeholders](/docs/conventions#placeholders):
|
||||
To create default listeners from file descriptors `3` and `4`:
|
||||
|
||||
```caddy
|
||||
{
|
||||
default_bind fd/{env.CADDY_HTTPS_FD} {
|
||||
default_bind fd/3 {
|
||||
protocols h1 h2
|
||||
}
|
||||
default_bind fdgram/{env.CADDY_HTTP3_FD} {
|
||||
default_bind fdgram/4 {
|
||||
protocols h3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue