Add two factor for external IPs
This commit is contained in:
parent
532d7f9a4c
commit
eae5b201b6
@ -154,8 +154,13 @@ access_control:
|
|||||||
rules:
|
rules:
|
||||||
## Rules applied to everyone
|
## Rules applied to everyone
|
||||||
- domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
- domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
policy: one_factor
|
policy: one_factor
|
||||||
|
|
||||||
|
- domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
||||||
|
policy: two_factor
|
||||||
|
|
||||||
- domain:
|
- domain:
|
||||||
# TODO: Drive these from Nomad variables
|
# TODO: Drive these from Nomad variables
|
||||||
- 'secure.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
- 'secure.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user