feat: Add comfy-ui with basic auth

This commit is contained in:
matthew.binning 2026-02-16 07:15:15 -08:00
parent 5aa1d4192f
commit 9328ca3717
5 changed files with 109 additions and 8 deletions

View file

@ -207,6 +207,23 @@ in
};
};
# ComfyUI with HTTP basic authentication
"comfyui.binning.net" = {
forceSSL = true;
sslCertificate = "/srv/nginx/binning.net.pem";
sslCertificateKey = "/srv/nginx/binning.net.key.pem";
locations."/" = {
proxyPass = "http://127.0.0.1:8188";
proxyWebsockets = true;
extraConfig = ''
auth_basic "ComfyUI";
auth_basic_user_file "/srv/nginx/.htpasswd";
'';
};
};
# RustDesk
"rustdesk.binning.net" = {
forceSSL = true;