mirror of
https://github.com/caddyserver/website.git
synced 2025-05-07 12:17:15 -04:00
Update src/docs/markdown/caddyfile/options.md
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
2718fc3b7f
commit
baedca30b6
1 changed files with 4 additions and 2 deletions
|
@ -410,11 +410,13 @@ For example:
|
||||||
|
|
||||||
```caddy
|
```caddy
|
||||||
{
|
{
|
||||||
servers :8080 { <--- THIS WILL NOT MATCH ANY LISTENER
|
# This will NOT match any listener
|
||||||
|
servers :8080 {
|
||||||
name private
|
name private
|
||||||
}
|
}
|
||||||
|
|
||||||
servers 192.168.1.2:8080 { <--- THIS WILL WORK BECAUSE IS AN EXACT MATCH
|
# This will work because it's an exact match
|
||||||
|
servers 192.168.1.2:8080 {
|
||||||
name public
|
name public
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue