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