keycloak: Add Tailscale hostname as server alias
This commit is contained in:
parent
94bce6c4ff
commit
34e7fee2f8
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ in
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${config.services.keycloak.settings.hostname}" = {
|
"${config.services.keycloak.settings.hostname}" = {
|
||||||
|
serverAliases = [ "heimdall.barn-beaver.ts.net" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@public_or_allowed_remote {
|
@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('10.64.0.0/10', '86.85.243.40/32', '2a02:a441:c959:1::/64')
|
||||||
|
|
Loading…
Reference in a new issue