mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +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 ]; }];
|
||||
handle = [{
|
||||
handler = "reverse_proxy";
|
||||
upstreams =
|
||||
[{ dial = "localhost:${config.services.calibre-web.listen.port}"; }];
|
||||
upstreams = [{
|
||||
dial = "localhost:${
|
||||
builtins.toString config.services.calibre-web.listen.port
|
||||
}";
|
||||
}];
|
||||
headers.request.add."X-Script-Name" = [ "/calibre-web" ];
|
||||
}];
|
||||
}];
|
||||
|
@ -774,8 +774,10 @@ in {
|
||||
{
|
||||
matcher = {
|
||||
id = "byName";
|
||||
options =
|
||||
"localhost:${config.services.calibre-web.listen.port}";
|
||||
options = "localhost:${
|
||||
builtins.toString
|
||||
config.services.calibre-web.listen.port
|
||||
}";
|
||||
};
|
||||
properties = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user