mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
caddy: Replace unnecessary pipes
This commit is contained in:
parent
525d9aef49
commit
e46ae6297c
1 changed files with 2 additions and 2 deletions
|
|
@ -132,8 +132,8 @@ in
|
|||
let
|
||||
mkHostConfig = value: ''
|
||||
import subdomain-log ${value.domain}
|
||||
@${value.domain |> getSubdomain} host ${(lib.optionalString (!value.tls) "http://") + value.domain}
|
||||
handle @${value.domain |> getSubdomain} {
|
||||
@${getSubdomain value.domain} host ${(lib.optionalString (!value.tls) "http://") + value.domain}
|
||||
handle @${getSubdomain value.domain} {
|
||||
reverse_proxy localhost:${builtins.toString value.port} ${
|
||||
lib.optionalString (value.extraReverseProxyConfig != "") "{ ${value.extraReverseProxyConfig} }"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue