feat: Add comfy-ui with basic auth
This commit is contained in:
parent
5aa1d4192f
commit
9328ca3717
5 changed files with 109 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue