summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
blob: d0881a93482e7a96b658d66333c8f197b6433ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, lib, pkgs, ... }:
{
  services.nginx = {
    enable = lib.mkDefault true;
    virtualHosts."misa-felix-hochzeit.ml" = {
      serverAliases = [ "www.misa-felix-hochzeit.ml" "misa-felix.ml" "www.misa-felix.ml" ];
      forceSSL = true;
      enableACME = true;
      locations = {
        "/" = {
          index = "index.html";
          root =  "/var/www/misa-felix-hochzeit.ml";
        };
      };
    };
  };
}