mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
Add yaml tag to Options.Policies (#475)
This commit is contained in:
parent
6a10112ebe
commit
2d2b16566a
1 changed files with 3 additions and 3 deletions
|
@ -80,9 +80,9 @@ type Options struct {
|
|||
IdleTimeout time.Duration `mapstructure:"timeout_idle" yaml:"timeout_idle,omitempty"`
|
||||
|
||||
// Policies define per-route configuration and access control policies.
|
||||
Policies []Policy
|
||||
PolicyEnv string `yaml:",omitempty"`
|
||||
PolicyFile string `mapstructure:"policy_file" yaml:"policy_file,omitempty"`
|
||||
Policies []Policy `yaml:"policy,omitempty"`
|
||||
PolicyEnv string `yaml:",omitempty"`
|
||||
PolicyFile string `mapstructure:"policy_file" yaml:"policy_file,omitempty"`
|
||||
|
||||
// AuthenticateURL represents the externally accessible http endpoints
|
||||
// used for authentication requests and callbacks
|
||||
|
|
Loading…
Add table
Reference in a new issue