Virtual Hosts (L7)
nginx
Virtual hosts use Nginx to route HTTP/HTTPS traffic by hostname.
All requests to the listed domains are proxied to the configured backend.
Changes are staged until you click Apply Virtual Hosts.
L4 nftables rules and L7 virtual hosts operate independently.
Loading virtual hosts…
— host(s) active.
No virtual hosts configured
Add a virtual host to start routing HTTP traffic by hostname via Nginx.
| Hostname | Destination | SSL | Status | Actions |
|---|---|---|---|---|
| : |
Pending
|
|
Nginx Status
Available
Running
Version
Sites Dir
Nginx is not installed. Install it with:
sudo apt install nginx
How it works
FluxGate generates per-hostname Nginx server blocks under
/etc/nginx/sites-available/fluxgate/.
Each block proxies requests for the listed hostname to the configured backend host and port.
Clicking Apply Virtual Hosts atomically
regenerates all configs, runs nginx -t
to validate, then reloads nginx. If validation fails, the existing configs are preserved.
Deleting a virtual host removes its nginx config immediately and reloads nginx — no Apply step needed.