mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 04:07:28 +01:00
defiant: redirect pihole/admin to dashboard
This commit is contained in:
parent
935f59e87d
commit
4db68b9217
@ -30,6 +30,12 @@ in {
|
||||
rewrite /(.*) /admin/$1 break;
|
||||
'';
|
||||
};
|
||||
|
||||
locations."/admin" = {
|
||||
extraConfig = ''
|
||||
rewrite ^/admin/(.*) $scheme://${domain}/$1 break;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user