Mailu using manual docker-compose
This commit is contained in:
parent
170f08c47e
commit
8af1410be3
2 changed files with 20 additions and 0 deletions
19
hosts/sesame/mailu.nix
Normal file
19
hosts/sesame/mailu.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ 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";
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue