Home

tailproxy @main - refs - log -
-
https://git.jolheiser.com/tailproxy.git
Tailscale reverse proxy
tailproxy / gen.jsonnet
- 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
38
39
{
  name: 'tailproxy',
  description: 'Tailscale proxy',
  homepage: 'https://git.jolheiser.com/tailproxy',
  output: {
    nix: {
      module: true,
    },
  },
  flags: [
    {
      name: 'hostname',
      description: 'Tailscale hostname',
      type: 'string',
    },
    {
      name: 'auth-key',
      description: 'Tailscale auth key',
      type: 'string',
    },
    {
      name: 'funnel',
      description: 'Expose on Tailscale funnel',
      type: 'bool',
      default: false,
    },
    {
      name: 'data-dir',
      description: 'tsnet data directory',
      type: 'string',
      default: '.tailproxy',
    },
    {
      name: 'port',
      description: 'Port to proxy',
      type: 'int',
    },
  ],
}