Skip to content

Add make start-tailscale to serve the dev site over Tailscale - #529

Merged
oalders merged 1 commit into
masterfrom
add-make-start-tailscale
Jul 20, 2026
Merged

Add make start-tailscale to serve the dev site over Tailscale#529
oalders merged 1 commit into
masterfrom
add-make-start-tailscale

Conversation

@oalders

@oalders oalders commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Adds a make start-tailscale target that runs hugo server bound to the machine's Tailscale IP, with a matching --baseURL, so the local dev site is reachable from other devices on the tailnet without exposing it to the wider LAN.

  • Shared server flags are factored into a HUGO_SERVER_FLAGS variable so start and start-tailscale stay in sync.
  • start is unchanged in behaviour (still binds to localhost).
  • start-tailscale shells out to tailscale ip -4 at run time, so it requires the tailscale CLI on PATH.

🤖 Generated with Claude Code

Binds hugo server to the machine's Tailscale IP (with a matching --baseURL)
so the local dev site is reachable from other devices on the tailnet without
exposing it to the wider LAN. Shared server flags are factored into
HUGO_SERVER_FLAGS so start and start-tailscale stay in sync.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@oalders
oalders temporarily deployed to add-make-start-tailscale - www.perl.com PR #529 July 20, 2026 16:07 — with Render Destroyed
@oalders
oalders merged commit 812b7c8 into master Jul 20, 2026
1 check passed
@oalders
oalders deleted the add-make-start-tailscale branch July 20, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant