summary refs log tree commit diff
path: root/host/Spacebar-nginx/hosts/spacebar.chat/mail.nix
blob: 3ca873da0c4855858ec72abb336e85c4e794f337 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  enableACME = true;
  forceSSL = true;
  locations = {
    "/" = {
      proxyPass = "http://192.168.1.3";
      proxyWebsockets = true;
      extraConfig =
        "proxy_ssl_server_name on;" +
        "proxy_pass_header Authorization;"
        ;
    };
  };
}