Custom Domains & SSL
Every site you create in Blaze gets a custom .local domain with HTTPS enabled automatically. No manual certificate management or configuration needed.
How It Works
Section titled “How It Works”When you create a site named “myproject”, Blaze:
- Adds
myproject.localto your/etc/hostsfile (pointing to127.0.0.1) - Generates a trusted SSL certificate using mkcert
- Configures Nginx to serve the site on
https://myproject.local
Your browser will show a valid HTTPS connection with no security warnings.
Privileged Helper
Section titled “Privileged Helper”Custom domains on port 80 require a privileged helper service. Blaze asks for your password during first-time setup to install this. The helper:
- Allows Nginx to bind to port 80 (normally restricted to root)
- Manages
/etc/hostsentries for your.localdomains
The helper is installed once during initial setup and runs in the background.
Regenerating an SSL Certificate
Section titled “Regenerating an SSL Certificate”Occasionally a site’s mkcert certificate can end up missing or out of sync — for example, if the certificate was deleted, if a Pull provisioned a linked local before the certificate finished generating, or if the bundled mkcert binary couldn’t run during setup.
When that happens, the site responds with a 502 over HTTPS (HTTP usually still works) because Nginx falls through to the wrong :443 server block.
To recover without re-creating the site:
- Open the site from the sidebar
- Go to the Overview tab
- On the Site Domain row, click Regenerate SSL
- Blaze removes the existing certificate, mints a fresh one with mkcert, and — if the site is running — cycles stop → start so Nginx picks up the new certificate paths
- A confirmation alert appears when finished
Reload the page in your browser if it was open during the regeneration.