diff --git a/os/host/seed/attic.nix b/os/host/seed/attic.nix index d96ffd9..283b509 100644 --- a/os/host/seed/attic.nix +++ b/os/host/seed/attic.nix @@ -28,8 +28,8 @@ in { }; }; nginx.virtualHosts.${domain} = { - addSSL = true; enableACME = true; + forceSSL = true; serverName = domain; locations."/" = { proxyPass = "http://127.0.0.1:${builtins.toString port}"; diff --git a/os/host/seed/bootstrap/default.nix b/os/host/seed/bootstrap/default.nix index ea9ae71..4af09e8 100644 --- a/os/host/seed/bootstrap/default.nix +++ b/os/host/seed/bootstrap/default.nix @@ -36,8 +36,8 @@ }; }; services.nginx.virtualHosts."bootstrap.radicle.xyz" = { - addSSL = true; enableACME = true; + forceSSL = true; serverName = "bootstrap.radicle.xyz"; root = "/var/www/bootstrap.radicle.xyz"; locations."/".extraConfig = '' diff --git a/os/host/seed/files.nix b/os/host/seed/files.nix index 199c9b7..6a6145e 100644 --- a/os/host/seed/files.nix +++ b/os/host/seed/files.nix @@ -13,8 +13,8 @@ in { add_header 'Access-Control-Allow-Origin' '*'; autoindex on; ''; - addSSL = true; enableACME = true; + forceSSL = true; serverName = name; }; diff --git a/os/host/seed/grafana.nix b/os/host/seed/grafana.nix index 3784359..1da36ad 100644 --- a/os/host/seed/grafana.nix +++ b/os/host/seed/grafana.nix @@ -19,8 +19,8 @@ in { }; nginx.virtualHosts.${domain} = { - addSSL = true; enableACME = true; + forceSSL = true; serverName = domain; locations."/" = { proxyPass = "http://127.0.0.1:${builtins.toString port}"; diff --git a/os/mixin/radicle.nix b/os/mixin/radicle.nix index 380374c..b729801 100644 --- a/os/mixin/radicle.nix +++ b/os/mixin/radicle.nix @@ -60,8 +60,8 @@ httpd = { enable = true; nginx = { - addSSL = true; enableACME = true; + forceSSL = true; serverName = config.networking.fqdn; }; };