feat: Added pass for llama
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
owner = config.users.users.nextcloud.name;
|
||||
};
|
||||
sops.secrets."llama/user" = {
|
||||
# owner = config.users.services.llama-cpp.name;
|
||||
owner = config.users.users.caddy.name;
|
||||
};
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
||||
@@ -63,10 +63,10 @@
|
||||
reverse_proxy localhost:8080
|
||||
'';
|
||||
virtualHosts."llama.darksailor.dev".extraConfig = ''
|
||||
reverse_proxy / localhost:3000
|
||||
basic_auth /* {
|
||||
import htpasswd ${config.sops.secrets."llama/user".path}
|
||||
import ${config.sops.secrets."llama/user".path}
|
||||
}
|
||||
reverse_proxy localhost:3000
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user