18 lines
319 B
Nix
18 lines
319 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
let
|
|
domain = "mail.hemono.fr";
|
|
in {
|
|
virtualisation.docker.enable = true;
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts.${domain} = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
proxyPass = "https://localhost:8081";
|
|
};
|
|
};
|
|
};
|
|
}
|