keycloak: Fix IP filter for admin interface
This commit is contained in:
parent
00caf20b11
commit
9be4946bb7
1 changed files with 1 additions and 2 deletions
|
@ -26,10 +26,9 @@ in
|
|||
|
||||
virtualHosts = {
|
||||
"${config.services.keycloak.settings.hostname}" = {
|
||||
serverAliases = [ "heimdall.barn-beaver.ts.net" ];
|
||||
extraConfig = ''
|
||||
@public_or_allowed_remote {
|
||||
expression path('/realms/*', '/resources/*', '/js/*', '/robots.txt') || remote_ip('10.64.0.0/10', '86.85.243.40/32', '2a02:a441:c959:1::/64')
|
||||
expression path('/realms/*', '/resources/*', '/js/*', '/robots.txt') || remote_ip('86.85.243.40/32', '2a02:a441:c959:1::/64', '100.64.0.0/10', 'fd7a:115c:a1e0:ab12:4843:cd96:6240:0000/106')
|
||||
}
|
||||
|
||||
route {
|
||||
|
|
Loading…
Reference in a new issue