summary refs log tree commit diff
path: root/host/Rory-nginx/hosts/rory.boo/tunnel.nix
blob: 58ab05f0fb8fdca8a404a2d43ae3862df4612355 (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:12345";
      proxyWebsockets = true;
      extraConfig =
        "proxy_ssl_server_name on;" +
        "proxy_pass_header Authorization;"
        ;
    };
  };
}