caddy-tailscale

(★ 955)

A highly experimental exploration of integrating Tailscale and Caddy.

File Explorer

  • addresses.go
  • app.go
  • app_test.go
  • auth.go
  • command.go
  • Dockerfile
  • go.mod
  • go.sum
  • LICENSE
  • module.go
  • module_test.go
  • README.md
  • transport.go

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

bind

View Details ▼

Bash builtin to manage bash hotkeys and variables.

bind {{-p|-P}}

List all bound commands and their hotkeys:

bind -q {{command}}

Query a command for its hotkey:

bind -x '"{{key_sequence}}":{{command}}'

Bind a key:

🔍

caddy

View Details ▼

An enterprise-ready open source web server with automatic HTTPS, written in Go.

caddy run

Start Caddy in the foreground:

caddy run --config {{path/to/Caddyfile}}

Start Caddy with the specified Caddyfile:

caddy start

Start Caddy in the background:

🔍

docker run

View Details ▼

This command is an alias of `docker container run`.

tldr docker container run

View documentation for the original command:

🔍

go build

View Details ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

tailscale

View Details ▼

A private WireGuard network service.
Some subcommands such as `up` have their own usage documentation.

sudo tailscale set --operator $USER

Allow the current user to operate on the Tailscale daemon:

tailscale {{up|down|status}}

Handle connection to Tailscale (connect, disconnect, check status):

tailscale set --advertise-exit-node

Offer the current machine to be an exit node for internet traffic:

🔍

xcaddy

View Details ▼

The custom build tool for the Caddy Web Server.

xcaddy build

Build Caddy server from source:

xcaddy build {{version}}

Build Caddy server with a specific version (defaults to latest):

xcaddy build --with {{module_name}}

Build Caddy with a specific module:

# Project Badges

  • status: experimental status: experimental Visit
// repository documentation