Home

tailproxy @2526eebb86f850ce5cb61b0e7b418c8b047a135b - refs - log -
-
https://git.jolheiser.com/tailproxy.git
Tailscale reverse proxy
tailproxy / README.md
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# tailproxy

A tiny reverse proxy to expose apps over Tailscale as their own application/service.

## Usage

As a flake:

```nix
tailproxy.url = "git+https://git.jolheiser.com/tailproxy.git";
# ...
imports = [inputs.tailproxy.nixosModules.default];
```

[Module](./module/default.nix):

```nix
{
  services.tailproxy = {
    "myapp" = {
      enable = true;
      hostname = "myapp";
      auth-key = "<one-time auth key>"; # https://login.tailscale.com/admin/settings/keys
      funnel = false;
      port = 1234;
    };
    "otherapp" = {
      # ...
    };
  };
}
```

## License

[MIT](LICENSE)