mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-11 18:54:42 +00:00
4d5386001a
This allows you to bridge existing HTTP/S services into your tailnet using the Let's Encrypt[1] functionality. This will allow you to run multiple services on the same computer and still have them point at different target HTTP services. This also includes an example systemd template unit that lets you easily set up multiple instances of tailtlsproxy on the same machine. [1]: https://tailscale.com/blog/tls-certs/ Signed-off-by: Xe <xe@tailscale.com>
19 lines
453 B
Desktop File
19 lines
453 B
Desktop File
[Unit]
|
|
Description=Tailscale TLS Proxy bridge for %i
|
|
After=network.target
|
|
|
|
[Service]
|
|
Environment=HOME=/var/lib/private/tailtlsproxy-%i
|
|
EnvironmentFile=/etc/default/tailtlsproxy-%i
|
|
ExecStart=/usr/bin/tailtlsproxy
|
|
Restart=on-failure
|
|
RuntimeDirectory=tailtlsproxy-%i
|
|
RuntimeDirectoryMode=0755
|
|
StateDirectory=tailtlsproxy-%i
|
|
StateDirectoryMode=0700
|
|
CacheDirectory=tailtlsproxy-%i
|
|
CacheDirectoryMode=0750
|
|
DynamicUser=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |