self signed cert

This commit is contained in:
Henri Dohmen 2025-10-04 14:04:17 +02:00
parent 0e25e7cacc
commit 4a2f900c5a
Signed by: hd
GPG key ID: AB79213B044674AE
9 changed files with 100 additions and 14 deletions

View file

@ -1,13 +1,15 @@
{
var,
config,
secrets,
...
}:
{
services = {
nginx = {
recommendedTlsSettings = true;
recommendedProxySettings = true;
recommendedOptimisation = true;
# recommendedTlsSettings = true;
# recommendedProxySettings = true;
# recommendedOptimisation = true;
enable = true;
virtualHosts.default = {
@ -16,11 +18,12 @@
rejectSSL = true;
locations."/".return = "444";
};
virtualHostsPriv."roam.lan" = {
privateVirtualHosts."roam.lan" = {
locations."/" = { };
};
virtualHosts."roam.hdohmen.de" = {
enableACME = true;
forceSSL = true;
locations."/" = { };
};
};