Create home-assistant.yori.cc

master
Yorick van Pelt 2023-02-22 13:09:11 +01:00
parent b40d20c445
commit 8b9c6a1f17
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
1 changed files with 12 additions and 0 deletions

View File

@ -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" = {
enableACME = lib.mkForce false;
forceSSL = true;
@ -200,6 +208,10 @@
unit_system = "metric";
time_zone = "Europe/Amsterdam";
};
http = {
use_x_forwarded_for = true;
trusted_proxies = [ "::1" ];
};
};
};
age.secrets = {