summary refs log tree commit diff
path: root/host/Spacebar-nginx/nginx-hosts/spacebar.chat/server/old/gateway.nix
blob: ff95a5ed1f615f723d3997aa472578413db070ba (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.200:3002";
      proxyWebsockets = true;
      extraConfig =
        "proxy_ssl_server_name on;" +
        "proxy_pass_header Authorization;"
        ;
    };
  };
}