mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: added comfyui to caddy
This commit is contained in:
parent
ca798e7e5d
commit
09a546cf7c
2 changed files with 5 additions and 17 deletions
|
@ -9,11 +9,13 @@ in
|
|||
{
|
||||
services = {
|
||||
caddy = {
|
||||
environmentFile = config.sops.secrets."caddy/${service.name}-auth".path;
|
||||
|
||||
virtualHosts = {
|
||||
"${host}" = {
|
||||
extraConfig = ''
|
||||
basicauth {
|
||||
import ${config.sops.secrets."caddy/${service.name}-auth".path}
|
||||
{$CADDY_AUTH_USER} {$CADDY_AUTH_PASSWORD_HASH}
|
||||
}
|
||||
root * ${service.paths.path0}
|
||||
file_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue