
SERVER_INFO with the REMOTE_ACCESS (PASSIVE_SCAN) panel.
Caddy domains and HTTPS
If Caddy is installed andcaddy.service is active, each project gets a Configure Caddy Domain + HTTPS button. It maps a domain to a local port, and Caddy obtains the TLS certificate.
Prerequisites
1
Install Caddy
Install Caddy from its official Debian/Ubuntu repository and make sure
systemctl is-active caddy prints active.2
Import the snippet directory
AerosPanel writes one file per project to Then run
/etc/caddy/conf.d/. Caddy does not read that directory on its own. Add this line to /etc/caddy/Caddyfile once:/etc/caddy/Caddyfile
sudo systemctl reload caddy.3
Point DNS at the host
Create an
A or AAAA record for the domain that points to the machine, and open ports 80 and 443 so Caddy can complete the ACME challenge.Map a domain
In the project toolbar, open Configure Caddy Domain + HTTPS, enter DOMAIN (FQDN) and LOCAL_PORT, and save. The panel:- Validates the domain as a lowercase FQDN (for example
app.example.com) and the port as 1 to 65535. - Writes
/etc/caddy/conf.d/aeros-<service_name>.caddy. - Runs
systemctl reload caddy.
/etc/caddy/conf.d/aeros-discord-bot.caddy
127.0.0.1:<port>. Removing the domain deletes the snippet and reloads Caddy. Deleting the project does the same.
Put the panel behind Caddy
The panel is not a project, so map it by hand:/etc/caddy/Caddyfile
X-Forwarded-* headers only from loopback, so a proxy on the same host is detected correctly. Over HTTPS, the session cookie gets the Secure flag. See Security.
Tailscale
AerosPanel runstailscale status --json (1.5 second timeout) and shows:
- Whether Tailscale is installed and connected (
BackendStateisRunning). - The node’s Tailscale IPv4 address and MagicDNS name.
- A panel URL,
http://<magicdns-name-or-ip>:<panel-port>.
tailscale* or utun* interface has a 100.x.x.x address, the panel uses that address instead.
The installer also prints the Tailscale URL at the end when tailscale is present. Tailscale is the simplest way to reach the panel from outside your LAN without exposing it to the internet.
Cloudflare Tunnel
AerosPanel checks for thecloudflared binary and whether cloudflared.service is active. It then reads the first of these files that exists:
/etc/cloudflared/config.yml/etc/cloudflared/config.yaml/root/.cloudflared/config.yml
hostname: from the ingress rules. If a rule points to the panel’s port, that hostname is shown as the panel URL. Otherwise, the first hostname is used.
/etc/cloudflared/config.yml
Same-origin checks compare the browser’s
Origin with the request’s Host or X-Forwarded-Host. If the tunnel forwards the public hostname (the default unless you set httpHostHeader), you do not need CORS_ORIGIN. If you rewrite the host header, add the public origin to CORS_ORIGIN in backend/.env.cloudflared. Both names are on the reserved list, so they cannot be controlled as projects.