2
2
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:
Felix Albrigtsen 2024-01-10 20:45:21 +01:00
parent 935f59e87d
commit 4db68b9217

View File

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