mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
pruned
This commit is contained in:
parent
9ad55ac79a
commit
042820fb2a
1 changed files with 0 additions and 31 deletions
|
|
@ -91,17 +91,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."test.${domain}" = {
|
|
||||||
useACMEHost = domain;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
return = "200 'nginx is working'";
|
|
||||||
extraConfig = ''
|
|
||||||
add_header Content-Type text/plain;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualHosts."wg.${domain}" = {
|
virtualHosts."wg.${domain}" = {
|
||||||
useACMEHost = domain;
|
useACMEHost = domain;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
@ -115,16 +104,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."chat.${domain}" = {
|
|
||||||
useACMEHost = domain;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://192.168.0.23:3080";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
extraConfig = privateAccessRules;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
virtualHosts."ai.${domain}" = let
|
virtualHosts."ai.${domain}" = let
|
||||||
apiKeyAuth = ''
|
apiKeyAuth = ''
|
||||||
set $api_key "";
|
set $api_key "";
|
||||||
|
|
@ -168,16 +147,6 @@ in
|
||||||
proxy_send_timeout 300s;
|
proxy_send_timeout 300s;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Llama Stack beta API
|
|
||||||
locations."/stack/v1beta/" = {
|
|
||||||
proxyPass = "http://192.168.0.23:8321/v1beta/";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
extraConfig = apiKeyAuth + ''
|
|
||||||
proxy_read_timeout 300s;
|
|
||||||
proxy_send_timeout 300s;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."comfy.${domain}" = {
|
virtualHosts."comfy.${domain}" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue