mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
+13
-10
@@ -2,6 +2,9 @@
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
server = "100.64.0.0";
|
||||
in
|
||||
{
|
||||
services = {
|
||||
nginx = {
|
||||
@@ -16,7 +19,7 @@
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://sapphira.laxta-platy.ts.net:2283"; # Порт Immich
|
||||
proxyPass = "http://${server}:2283"; # Порт Immich
|
||||
proxyWebsockets = true; # Если Immich использует WebSockets
|
||||
};
|
||||
};
|
||||
@@ -24,18 +27,18 @@
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://sapphira.laxta-platy.ts.net:10000"; # Порт Nextcloud
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
"llm.zeroq.ru" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://atoridu.laxta-platy.ts.net:11111"; # Порт Open WebUI
|
||||
proxyPass = "http://${server}:10000"; # Порт Nextcloud
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
# "llm.zeroq.ru" = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://atoridu.laxta-platy.ts.net:11111"; # Порт Open WebUI
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user