Release ·
ScalPanel 0.1.54
MIME type suggestions, runtime detection, a DMARC editor, Git over SSH, saved SSH keys and PHP-FPM process settings.
What changed
- MIME types**Scan website** finds the file extensions in a website that browsers would download because they have no type, suggests the type (for example
.mjs,.webmanifest,.md,.ttf,.glb) and adds one or all of them with a click. Only file names are read. Web servers need this release's agent. - Runtime & PHPWhen a website's files look like another kind of website (for example a
package.jsonfor Node.js or arequirements.txtfor Python), the dialog says so and offers the matching runtime. - Web servers
site.jsonnow says what every website runs (runtime.kind: php, static, node, python or ruby) and is written for static websites and applications too (see the web server contract). - Email deliverabilityA **DMARC** card sets the policy (None, Quarantine or Reject), the subdomain policy, the percentage and strict alignment. It edits the zone's own DMARC record when there is one (the default DNS template adds one), keeping its report addresses.
- GitRepositories can be cloned over **SSH** (
[email protected]:owner/repo.git) with a deploy key the panel makes. GitHub, GitLab and Bitbucket are checked against their published host keys and reached on port 443; other servers need outbound port 22 and have their host key pinned on the first clone. Needs this release's agent and session image. - SSH access**Saved SSH keys** keeps up to 50 public keys per account; pick one when granting access to any website, or save the pasted key while granting.
- Runtime & PHPA **PHP processes (PHP-FPM)** section chooses dynamic or on-demand processes, the maximum processes (never more than the website's memory allows), the requests per process and, on demand, the idle timeout. Needs this release's agent.
- ScalWS 1.1.1 in the site images (from ScalWS 1.0.0-rc.1). The ScalWS edge listens on IPv6 too where the node has IPv6 and ScalWS 1.1 or later.
- Web servers
site.jsoncache.bypass_pathsis now a list of path prefixes, which ScalWS 1.1 requires (it refused the earlier regular expression and did not start); the expression stays inbypass_paths_regex. - Edge web serverThe nodes now include ScalWS, so **Request limits → Edge web server → ScalWS** takes effect (before, every node kept nginx). Switching the edge or rotating its logs no longer touches the websites' own ScalWS processes. Needs this release's node image.
- Website replicas (preview, provider staff)Link two web servers on a server's page (**Replica link**), then give a website a **Replica…** on the other server from the server's website list: standby (takes over when the first fails) or shared (both serve, changes go to the primary). Files are copied every 30 seconds; **Switch to…** moves the website to the other server after a last copy, **Take over now…** when the first server is down. The two servers set up the encrypted link (WireGuard) and its certificates themselves; open UDP 51821 between them. A separate web node installed before this release needs
- "51821:51821/udp"added under the node's ports in/opt/scalpanel-node/compose.yaml(thendocker compose -f /opt/scalpanel-node/compose.yaml up -d). Needs the ScalWS edge and this release's node image. - Website replicas fail over by themselvesWhen the panel, the replica's server and most uptime probes agree that the primary server is down (about 3 minutes), the replica takes over, an alert opens, and the old server gets the website's files back when it returns. Shared replicas put both servers' addresses in the website's DNS. The edges answer
/__scalpanel/healthon any address for the probes. - AlmaLinux and Rocky LinuxThe main server and separate nodes keep SELinux enforcing, ScalPanel's services run confined by SELinux (
container_t), and firewalld stays on with ScalPanel's ports (and the server's SSH port) opened. Installs no longer fail now and then with "37020: address already in use": the published MongoDB ports are kept out of the kernel's ephemeral port range. - Website replicas run on ScalWSEnabling the first one while the edge uses nginx asks to switch every server's edge to ScalWS (already included in the node image), and the edge stays on ScalWS while replicas exist. A replica serves only once both servers report ScalWS.