mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
caddy: Fix virtual host generation
This commit is contained in:
parent
fceb6ae418
commit
0209856439
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ in
|
||||||
virtualHosts
|
virtualHosts
|
||||||
|> lib.mapAttrs' (
|
|> lib.mapAttrs' (
|
||||||
_: value:
|
_: value:
|
||||||
lib.nameValuePair (lib.optionalString (!value.tls) "http://${value.domain}") (
|
lib.nameValuePair ((lib.optionalString (!value.tls) "http://") + value.domain) (
|
||||||
mkVirtualHostConfig value
|
mkVirtualHostConfig value
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue