defiant: redirect pihole/admin to dashboard

This commit is contained in:
Felix Albrigtsen 2024-01-10 20:45:21 +01:00
parent 935f59e87d
commit 4db68b9217
1 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,12 @@ in {
rewrite /(.*) /admin/$1 break;
'';
};
locations."/admin" = {
extraConfig = ''
rewrite ^/admin/(.*) $scheme://${domain}/$1 break;
'';
};
};
}