fix ssl
This commit is contained in:
parent
64ab9e362e
commit
3e014b28d4
1 changed files with 2 additions and 2 deletions
|
|
@ -54,8 +54,8 @@
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
services.nginx.virtualHosts.${cfg.domain} = {
|
services.nginx.virtualHosts.${cfg.domain} = {
|
||||||
forceSSL = ${cfg.ssl};
|
forceSSL = cfg.ssl;
|
||||||
enableACME = ${cfg.ssl};
|
enableACME = cfg.ssl;
|
||||||
root = "${packages.${pkgs.system}.default}";
|
root = "${packages.${pkgs.system}.default}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue