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