mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fixed ssl
This commit is contained in:
parent
9d08efaa77
commit
52bea0cbeb
1 changed files with 5 additions and 1 deletions
|
|
@ -90,6 +90,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# NixOS frigate module creates nginx virtualHost automatically via hostname option
|
||||
# Add SSL to frigate's nginx virtualHost
|
||||
services.nginx.virtualHosts."frigate.${domain}" = mkIf nginx.enable {
|
||||
useACMEHost = domain;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue