caddy testing
This commit is contained in:
@@ -32,6 +32,7 @@ else
|
|||||||
sed -i "3i# generation: $gen, timestamp: $timestamp" flake.nix
|
sed -i "3i# generation: $gen, timestamp: $timestamp" flake.nix
|
||||||
fi
|
fi
|
||||||
echo "committing..."
|
echo "committing..."
|
||||||
|
git add $nix_dir
|
||||||
git commit -m "$commit_msg"
|
git commit -m "$commit_msg"
|
||||||
echo "flake rebuild and commit fin"
|
echo "flake rebuild and commit fin"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# define new devices in outputs
|
||||||
# generation: 359, timestamp: 2025-10-12 13:43:47
|
# generation: 361, timestamp: 2025-10-12 14:12:47
|
||||||
{
|
{
|
||||||
description = "blakes nix config";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -48,6 +48,16 @@ in
|
|||||||
globalConfig = ''
|
globalConfig = ''
|
||||||
# auto_https ignore_loaded_certs
|
# auto_https ignore_loaded_certs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
virtualHosts."key.${homelab.public_domain}" = {
|
||||||
|
extraConfig = ''
|
||||||
|
root * /etc/ssl/keys
|
||||||
|
@root path /
|
||||||
|
rewrite @root /klefki_pub.asc
|
||||||
|
file_server
|
||||||
|
header Content-Disposition "attachment"
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable acme for auto ssl certs with lets encrypt
|
# enable acme for auto ssl certs with lets encrypt
|
||||||
|
|||||||
Reference in New Issue
Block a user