defiant: redirect pihole/admin to dashboard
This commit is contained in:
parent
935f59e87d
commit
4db68b9217
|
@ -30,6 +30,12 @@ in {
|
||||||
rewrite /(.*) /admin/$1 break;
|
rewrite /(.*) /admin/$1 break;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
locations."/admin" = {
|
||||||
|
extraConfig = ''
|
||||||
|
rewrite ^/admin/(.*) $scheme://${domain}/$1 break;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue