mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
so mad
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
{ inputs, ... }@flakeContext:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
virtualHosts = {
|
||||
"immich.zeroq.ru" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://sapphira.laxta-platy.ts.net:2283"; # Порт Immich
|
||||
proxyWebsockets = true; # Если Immich использует WebSockets
|
||||
};
|
||||
};
|
||||
# "nextcloud.zeroq.ru" = {
|
||||
# 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
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "oqyude@gmail.com";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
#44443
|
||||
#44444
|
||||
80
|
||||
443
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user