Enforce strict sni on caddy
This commit is contained in:
parent
3b9ed6a4f4
commit
7125294de7
3 changed files with 9 additions and 8 deletions
caddy/config
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
debug
|
||||
email tobias@msrg.cc
|
||||
|
||||
servers {
|
||||
strict_sni_host on
|
||||
}
|
||||
}
|
||||
|
||||
import /etc/caddy/snippets
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
node002.pirate-jazz.ts.net {
|
||||
import default
|
||||
|
||||
@denied not remote_ip private_ranges
|
||||
abort @denied
|
||||
|
||||
@prometheus {
|
||||
header X-App-Target prometheus
|
||||
}
|
||||
|
|
Reference in a new issue