mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 11:56:02 +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.KeyFile,
|
||||||
cfg.Options.PolicyFile,
|
cfg.Options.PolicyFile,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for _, pair := range cfg.Options.CertificateFiles {
|
||||||
|
fs = append(fs, pair.CertFile, pair.KeyFile)
|
||||||
|
}
|
||||||
|
|
||||||
for _, f := range fs {
|
for _, f := range fs {
|
||||||
_, _ = h.Write([]byte{0})
|
_, _ = h.Write([]byte{0})
|
||||||
bs, err := ioutil.ReadFile(f)
|
bs, err := ioutil.ReadFile(f)
|
||||||
|
|
Loading…
Add table
Reference in a new issue