mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-24 13:38:17 +02:00
cmd/promerium : support TLS configuration from environmental variables (#12)
* Add ability to set TLS configuration from environmental variables. * Add support for enabling debug mode from environmental variables.
This commit is contained in:
parent
0766725ff8
commit
074bc0e63c
6 changed files with 189 additions and 23 deletions
|
@ -11,6 +11,9 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
func init() {
|
||||
os.Clearenv()
|
||||
}
|
||||
func TestOptionsFromEnvConfig(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue