Create home-assistant.yori.cc
parent
b40d20c445
commit
8b9c6a1f17
|
@ -60,6 +60,14 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
virtualHosts."home-assistant.yori.cc" = {
|
||||||
|
onlySSL = true;
|
||||||
|
inherit sslCertificate sslCertificateKey;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://[::1]:8123";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
virtualHosts."frumar.yori.cc" = {
|
virtualHosts."frumar.yori.cc" = {
|
||||||
enableACME = lib.mkForce false;
|
enableACME = lib.mkForce false;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
@ -200,6 +208,10 @@
|
||||||
unit_system = "metric";
|
unit_system = "metric";
|
||||||
time_zone = "Europe/Amsterdam";
|
time_zone = "Europe/Amsterdam";
|
||||||
};
|
};
|
||||||
|
http = {
|
||||||
|
use_x_forwarded_for = true;
|
||||||
|
trusted_proxies = [ "::1" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
|
|
Loading…
Reference in New Issue