summary refs log tree commit diff
path: root/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix
blob: b50823b0626878449f189de3a14d7c75491b672a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  enableACME = true;
  addSSL = true;
  locations = {
    "/" = {
      proxyPass = "http://127.0.0.1:5173";
      proxyWebsockets = true;
      extraConfig =
        "proxy_ssl_server_name on;" +
        "proxy_pass_header Authorization;"
        ;
    };
  };
}