summary refs log tree commit diff
path: root/host/Spacebar-nginx/hosts/fosscord.com/matrix.nix
blob: ac218463f1bc3debf25dd52cda45734e63d6d8ee (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:8009";
      proxyWebsockets = true;
      extraConfig =
        "proxy_ssl_server_name on;" +
        "proxy_pass_header Authorization;"
        ;
    };
  };
}