mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-26 14:38:09 +02:00
autocert: add support for ACME TLS-ALPN (#3590)
* autocert: add support for ACME TLS-ALPN * always re-create acme tls server
This commit is contained in:
parent
8f89213b5b
commit
e5ac784cf4
10 changed files with 180 additions and 14 deletions
|
@ -116,12 +116,12 @@ func NewFileOrEnvironmentSource(
|
|||
EnvoyVersion: envoyVersion,
|
||||
}
|
||||
|
||||
ports, err := netutil.AllocatePorts(5)
|
||||
ports, err := netutil.AllocatePorts(6)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("allocating ports: %w", err)
|
||||
}
|
||||
|
||||
cfg.AllocatePorts(*(*[5]string)(ports))
|
||||
cfg.AllocatePorts(*(*[6]string)(ports))
|
||||
|
||||
metrics.SetConfigInfo(ctx, cfg.Options.Services, "local", cfg.Checksum(), true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue