mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -17,6 +17,13 @@ in
|
||||
virtualHosts = {
|
||||
"immich.zeroq.ru" = {
|
||||
# 31.57.105.253
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
}
|
||||
];
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
@@ -48,11 +55,11 @@ in
|
||||
acceptTerms = true;
|
||||
defaults.email = "go.bin043120@gmail.com";
|
||||
certs."immich.zeroq.ru" = {
|
||||
email = "oqyude@gmail.com";
|
||||
email = "go.bin043120@gmail.com";
|
||||
dnsProvider = "cloudflare";
|
||||
dnsResolver = "1.1.1.1";
|
||||
environmentFile = "${inputs.zeroq-credentials}/accounts/cloudflare.txt";
|
||||
#webroot = null; # Required in my case
|
||||
webroot = null; # Required in my case
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
|
||||
Reference in New Issue
Block a user