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