no need to wrap domain in quotes for caddy config

This commit is contained in:
tdback 2024-11-23 15:47:04 -05:00
parent 19e082d3f1
commit 5e649e32e6
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ in
}; };
}; };
services.caddy.virtualHosts."${domain}".extraConfig = '' services.caddy.virtualHosts.${domain}.extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:${builtins.toString port} reverse_proxy http://localhost:${builtins.toString port}
''; '';

View file

@ -43,7 +43,7 @@ in
services.openssh.settings.AllowUsers = [ "forgejo" ]; services.openssh.settings.AllowUsers = [ "forgejo" ];
services.caddy.virtualHosts."${domain}".extraConfig = '' services.caddy.virtualHosts.${domain}.extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:${builtins.toString port} reverse_proxy http://localhost:${builtins.toString port}
''; '';

View file

@ -18,7 +18,7 @@ in
}; };
}; };
services.caddy.virtualHosts."${domain}".extraConfig = '' services.caddy.virtualHosts.${domain}.extraConfig = ''
encode zstd gzip encode zstd gzip
reverse_proxy http://localhost:${builtins.toString port} reverse_proxy http://localhost:${builtins.toString port}
''; '';