.
This commit is contained in:
parent
2a9167cb7e
commit
96573664a6
95 changed files with 4130 additions and 2328 deletions
|
|
@ -1,38 +1,38 @@
|
|||
<!doctype html>
|
||||
<html lang="en"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="shortcut icon" href="http://localhost:1313/favicon.ico">
|
||||
<link rel="shortcut icon" href="https://nonsense.dymc.win/favicon.ico">
|
||||
<link id="stylesheet" rel="stylesheet" href="/css/light.css">
|
||||
|
||||
<link rel="canonical" href="http://localhost:1313/tailscale-caddy-and-nixos-containers/" />
|
||||
<link rel="canonical" href="https://nonsense.dymc.win/tailscale-caddy-and-nixos-containers/" />
|
||||
<title>Tailscale, caddy, and nixos containers</title>
|
||||
</head>
|
||||
<body><header id="banner">
|
||||
<nav class="navbar">
|
||||
<div class="nav-left">
|
||||
|
||||
<a href="http://localhost:1313/" class="home">~ 🏠</a>
|
||||
<a href="https://nonsense.dymc.win/" class="home">🏠</a>
|
||||
|
||||
<a
|
||||
href="/info/"
|
||||
title="--help"
|
||||
>--help</a
|
||||
title="👋"
|
||||
>👋</a
|
||||
><a
|
||||
href="/search/"
|
||||
title="🔎"
|
||||
>🔎</a
|
||||
>
|
||||
</div>
|
||||
<div class="nav-right">
|
||||
|
||||
<button id="toggle-button" class="toggle-button" onclick="toggleTheme()">🌚</button>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<main id="content">
|
||||
<article>
|
||||
<header id="post-header">
|
||||
<h3>Tailscale, caddy, and nixos containers</h3>
|
||||
<h2>Tailscale, caddy, and nixos containers</h2>
|
||||
<div>
|
||||
<time>May 16, 2023</time>
|
||||
<p>May 16, 2023</p>
|
||||
</div>
|
||||
</header><p>For a little while now I’ve been running some services (jellyfin etc.) on an old laptop in my house. I’m not trying to sound like a podcast ad but as a networking novice, the simplicity <a href="https://tailscale.com/">tailscale</a> brings to accessing these services remotely is very nice. Until recently though, I had been accessing my services like a heathen with http and port numbers (eg http://tailscale-ip:service-port). This works and is perfectly secure thanks to tailscale though it lacks a certain finesse. In an ideal world you’d have a reverse proxy and set up SSL certs so your browser doesn’t get stressed and you dont have to rememeber ip addresses and port numbers.</p>
|
||||
<p>When I initially looked at how to do this it seemed like it was above my paygrade and not worth the stress; that was until I came across <a href="https://caddy.community/t/https-in-your-vpn-caddy-now-uses-tls-certificates-from-tailscale/15380">this</a>. This works great and is as simple as advertised though there is one drawback: you can only reverse proxy one service per host. So for my usecase of the laptop with multiple services running on it I could only use the magic caddy tailscale auto-https thing for one of them.</p>
|
||||
|
|
@ -94,12 +94,9 @@
|
|||
<p>As well as solving the multiple services problem, separating services onto their own hosts is nice if you want to <a href="https://tailscale.com/kb/1084/sharing/">share</a> a particular service with someone else. I personaly feel happier just sharing one container running jellyfin rather than the whole host with multiple things on it. Anyway thanks for listening to my TED talk.</p>
|
||||
</article>
|
||||
</main>
|
||||
|
||||
<footer id="footer">
|
||||
<p>-----------------</p>
|
||||
<footer id="footer">
|
||||
<small>
|
||||
made with <a href="https://gohugo.io">hugo</a> and my bastardised version of
|
||||
<a href="https://github.com/LukasJoswiak/etch">this nice theme</a>
|
||||
made with <a href="https://gohugo.io">hugo</a>
|
||||
</small>
|
||||
|
||||
<script src="/js/search.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue