Update src/docs/markdown/caddyfile/options.md

Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
Daniel Santos 2023-02-09 11:08:44 -07:00 committed by Francis Lavoie
parent 2718fc3b7f
commit baedca30b6
No known key found for this signature in database
GPG key ID: 29B92EA7430C3C62

View file

@ -410,11 +410,13 @@ For example:
```caddy
{
servers :8080 { <--- THIS WILL NOT MATCH ANY LISTENER
# This will NOT match any listener
servers :8080 {
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
}
}