mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 19:36:32 +02:00
Co-authored-by: Travis Groth <travisgroth@users.noreply.github.com>
This commit is contained in:
parent
5bf790c099
commit
4308807479
1 changed files with 5 additions and 0 deletions
|
@ -186,6 +186,11 @@ func (src *FileWatcherSource) check(cfg *Config) {
|
|||
cfg.Options.KeyFile,
|
||||
cfg.Options.PolicyFile,
|
||||
}
|
||||
|
||||
for _, pair := range cfg.Options.CertificateFiles {
|
||||
fs = append(fs, pair.CertFile, pair.KeyFile)
|
||||
}
|
||||
|
||||
for _, f := range fs {
|
||||
_, _ = h.Write([]byte{0})
|
||||
bs, err := ioutil.ReadFile(f)
|
||||
|
|
Loading…
Add table
Reference in a new issue