mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
fix: port is an integer
This commit is contained in:
parent
21794891e7
commit
3cff7e090c
@ -30,8 +30,11 @@ in {
|
|||||||
match = [{ host = [ config.hostnames.books ]; }];
|
match = [{ host = [ config.hostnames.books ]; }];
|
||||||
handle = [{
|
handle = [{
|
||||||
handler = "reverse_proxy";
|
handler = "reverse_proxy";
|
||||||
upstreams =
|
upstreams = [{
|
||||||
[{ dial = "localhost:${config.services.calibre-web.listen.port}"; }];
|
dial = "localhost:${
|
||||||
|
builtins.toString config.services.calibre-web.listen.port
|
||||||
|
}";
|
||||||
|
}];
|
||||||
headers.request.add."X-Script-Name" = [ "/calibre-web" ];
|
headers.request.add."X-Script-Name" = [ "/calibre-web" ];
|
||||||
}];
|
}];
|
||||||
}];
|
}];
|
||||||
|
@ -774,8 +774,10 @@ in {
|
|||||||
{
|
{
|
||||||
matcher = {
|
matcher = {
|
||||||
id = "byName";
|
id = "byName";
|
||||||
options =
|
options = "localhost:${
|
||||||
"localhost:${config.services.calibre-web.listen.port}";
|
builtins.toString
|
||||||
|
config.services.calibre-web.listen.port
|
||||||
|
}";
|
||||||
};
|
};
|
||||||
properties = [
|
properties = [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user