This document descrives the process of setting up headscale with swag, using letsencrypt certs.
This assumes you have a subdomain (e.g. wg.example.com) pointing to your SWAG instance and want to use it as a reverse proxy.
Add the subdomain for your desired headscale domain to your .env
file.
For example:
SWAG_EXTRA_DOMAINS=wg.example.com