refactor: remove unnecessary nginx module
This commit is contained in:
parent
8130687446
commit
1d585f14a4
|
@ -4,6 +4,5 @@
|
|||
./acme.nix
|
||||
./fail2ban.nix
|
||||
./forgejo.nix
|
||||
./nginx.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ let
|
|||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
in {
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts.${srv.DOMAIN} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.nginx.enable = true;
|
||||
}
|
Loading…
Reference in a new issue