services: add nginx and acme auto-configuration

This ensures that the recommened settings are turned on when using Nginx
in any service. It also provides for a SSL certificate using Let's
Encrypt.
This commit is contained in:
Bruno BELANYI 2021-01-31 16:37:58 +01:00
parent f85f7ff0b8
commit 32444fe8ae
3 changed files with 51 additions and 8 deletions

7
services/default.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./nginx.nix
];
}