mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
+45
-26
@@ -18,19 +18,18 @@ in
|
|||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"immich.zeroq.ru" = {
|
"immich.zeroq.ru" = {
|
||||||
# 31.57.105.253
|
# 31.57.105.253
|
||||||
listen = [
|
# listen = [
|
||||||
{
|
# {
|
||||||
addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
port = 80;
|
# port = 80;
|
||||||
}
|
# }
|
||||||
{
|
# {
|
||||||
addr = "0.0.0.0";
|
# addr = "0.0.0.0";
|
||||||
port = 443;
|
# port = 443;
|
||||||
ssl = true;
|
# ssl = true;
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
#forceSSL = true;
|
forceSSL = true;
|
||||||
addSSL = true;
|
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
@@ -38,19 +37,39 @@ in
|
|||||||
proxyWebsockets = true; # Если Immich использует WebSockets
|
proxyWebsockets = true; # Если Immich использует WebSockets
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# locations."/.well-known/acme-challenge" = {
|
|
||||||
# root = "/var/www/acme/acme-challenge";
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
# "nextcloud.zeroq.ru" = {
|
"nextcloud.zeroq.ru" = {
|
||||||
# addSSL = true;
|
forceSSL = true;
|
||||||
# forceSSL = false;
|
enableACME = true;
|
||||||
# enableACME = false;
|
locations."/" = {
|
||||||
# locations."/" = {
|
proxyPass = "http://${server}:10000"; # Порт Nextcloud
|
||||||
# proxyPass = "http://${server}:10000"; # Порт Nextcloud
|
proxyWebsockets = true;
|
||||||
# proxyWebsockets = true;
|
};
|
||||||
# };
|
};
|
||||||
# };
|
"flux.zeroq.ru" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${server}:6061"; # Порт Nextcloud
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"calibre.zeroq.ru" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${server}:8083"; # Порт Nextcloud
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"pdf.zeroq.ru" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://${server}:6060"; # Порт Nextcloud
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
# "llm.zeroq.ru" = {
|
# "llm.zeroq.ru" = {
|
||||||
# addSSL = true;
|
# addSSL = true;
|
||||||
# enableACME = true;
|
# enableACME = true;
|
||||||
@@ -85,7 +104,7 @@ in
|
|||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults = {
|
defaults = {
|
||||||
email = "oqyude@gmail.com";
|
email = "go.bin043120@gmail.com";
|
||||||
#webroot = "/var/lib/acme/acme-challenge";
|
#webroot = "/var/lib/acme/acme-challenge";
|
||||||
#group = config.services.nginx.group;
|
#group = config.services.nginx.group;
|
||||||
#server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
#server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||||
|
|||||||
Reference in New Issue
Block a user