Repository navigation
Releases
ScalWS 1.1.1
ScalWS 1.1.1
Released 2026-11-23. The full list is in CHANGELOG.md.
Highlights
- Site replicas for ScalPanel. Two nodes can serve one site with failover, active health checks, backup members, a write node (
write_backend), sticky sessions with a signed cookie, read-only fencing, retries with an idempotency rule, mutual TLS between the nodes (tls.client_ca_file, pool client certificates), peer-only routes (listeners: [peer]) and anupstream_statusendpoint. See the replicas guide (docs/guide/replicas.md). - site.json
runtime: ScalPanel names the language of each site (php,node,python,ruby,container,static). For applications, files are served first, the rest goes to the application's loopback or unix-socket upstream. PHP source (.php,.phtml,.phar,.incand the like) is never served by the static and application kinds. respond.body_file: fixed answers (default, suspended and maintenance pages) from a file of up to 1 MiB, re-read on reload.- MIME table: current types for
.wasm,.mjs,.avif,.webp,.woff2,.webmanifest,.heic,.jxl,.yaml,.tomland more; unknown extensions areapplication/octet-streamwithX-Content-Type-Options: nosniff.scalwsd --mime-typesprints the table as JSON. scalwsd --versionlists the edge features:access_log affinity_key backup_members forwarded_for gzip max_upgraded networks peer_tls pools prefix_proxy read_only referer remove_cookies replica respond_file route_order sticky upstream_health.
Security
- A full audit of the replica work found two low findings, both fixed: a console Apply could write its previous file over a newer writer's fencing file, and a reload that revokes a node did not end its open mutual-TLS connections (now refused with 403).
- Open point, documented: trust in
trusted_proxiesgoes by source address on every listener. Trust only the other node's address (/32) and keep the public listener off the node link.
Changes to check before upgrading
- The
textaccess log gains a last fieldtls_clienton every line (-without a client certificate). Parsers that read by position see one more field. scalwsctl upstreams: theACTIVEcolumn is renamedINFLIGHT; newHEALTHY,ACTIVEandPFAILcolumns.--jsononly gains fields.
Performance
The measurements are in docs/benchmarks/2026-11-23-xeon-1.1.1.md. No scenario regressed against 1.1.0 at 1 or 6 CPUs. The ratios against nginx are as in 1.1.0; the remaining gaps are planned for 1.2.
Packages
- deb (Ubuntu 24.04+, Debian 13+)
- rpm (EL 8/9/10, Fedora, openSUSE)
- apk (Alpine 3.24)
scalws-scalpanelfor amd64 and arm64
Repositories: https://apt.scalws.com, https://rpm.scalws.com and the Alpine repository.
ScalWS 1.1.0 (package 1.1.0-1)
ScalWS 1.1.0, package 1.1.0-1. From 1.1 on, ScalWS is licensed AGPL-3.0-only. 1.0.0 and earlier releases stay Apache-2.0.
Supported systems (x86_64)
AlmaLinux, Rocky Linux and Oracle Linux 8, 9 and 10, Fedora 44, Debian 12 and 13, Ubuntu 22.04, 24.04 and 26.04, openSUSE Leap 15.6 and 16.0, SLES 15 SP7 and 16, and Alpine Linux 3.24. Panel mode works with cPanel (CloudLinux included) and DirectAdmin. scalws-scalpanel is built for amd64 and arm64.
Highlights
- ScalPanel mode:
scalwsdserves one ScalPanel website from itssite.json, with front controller, compression, page cache,.htaccessrecheck, loopback health checks and log files. The newscalws-scalpanelpackage ships it. - Edge features:
- nginx route order (
route_order: nginx) - network sets from CIDR files, and countries from a GeoIP database (
scalwsctl geoip updateinstalls DB-IP Country Lite) - hotlink protection (
referer) remove_cookiesforwarded_for: client- preview prefixes
- a WebSocket limit per client
- access log files per application and route (
combinedorscalpanelformat,scalwsctl reopen-logs) - a server-wide gzip default
- dual-stack IPv6 listeners
- nginx route order (
- Client address and limits:
- real client address through trusted headers and presets such as Cloudflare
- PHP pool settings
.htaccessHTTP Basic authentication- disk I/O limits per application
- HTTP/1: ScalWS's own HTTP/1 server and upstream client are now the default.
- Security:
- four security audits; every confirmed finding is fixed and listed in the changelog
- dependencies updated for ten RUSTSEC advisories
cargo denyis clean
Before you upgrade
- Plesk is no longer supported. 1.1 refuses to install over 1.0 while Plesk panel mode is on. Stay on 1.0.0 there.
- Encoded slashes: a path whose encoded slash (
%2F) selects a different route once decoded now answers 400. - Proxied responses carry
Server: scalws. - Dual-stack listeners: an IPv4 client of a
[::]listener appears in its IPv4 form everywhere: in logs, in forwarded headers, in PHP and in.htaccess. - Ingress controller: the Kubernetes API baseline is now 1.32.
Performance
The numbers are in the benchmark report, losses included.
- Against 1.0.0: no scenario regressed. Fixed responses are 1.10x faster and proxying is 1.15x to 1.28x faster.
- Against nginx 1.31.6 at one CPU: ScalWS is ahead on proxying, cache hits, TLS with HTTP/2, compression and the edge features. It is level or behind on static files, fixed responses and PHP, Node.js and Python applications. That gap is planned for 1.2.
Install
Use the signed repositories:
- apt:
https://apt.scalws.com - dnf and zypper:
https://rpm.scalws.com/scalws.repo - apk: the Alpine repository on
apt.scalws.com
Or use the files below. The rpm and apk are the signed copies from the repositories. Check each download against SHA256SUMS.
The full changelog is at https://scalws.com/docs/changelog/.
ScalWS 1.0.0 (package 1.0.0-1)
ScalWS 1.0.0, package 1.0.0-1: the first stable release, on every major Linux server system.
Supported systems (x86_64)
AlmaLinux, Rocky Linux and Oracle Linux 8, 9 and 10, Fedora 44, Debian 12 and 13, Ubuntu 22.04, 24.04 and 26.04, openSUSE Leap 15.6 and 16.0, SLES 15 SP7 and 16, Alpine Linux 3.24. On each of them plain, and with cPanel, DirectAdmin or Plesk in panel mode where the vendor supports the system.
What changed since 1.0.0-rc.1
- New packages and repositories: a
.rpmwith a signed dnf and zypper repository (https://rpm.scalws.com/scalws.repo) and a static musl.apkwith a signed apk repository for Alpine (OpenRC services). One glibc 2.28 build serves every glibc system. - SELinux: ScalWS runs enforcing in its own domains (
scalws_t,scalws_console_t,scalws_app_t) on the RHEL family, Fedora, Leap 16 and SLES 16. - Sandbox: the first install turns on
server.sandbox: Landlock and a seccomp allowlist confine the server (it writes only its own directories and runs no program). Existing installations keep running without it until you addsandbox: on. - Firewall: the first install opens TCP 80 and 443 in an active ufw or firewalld (Alpine: ufw or nftables) and says so. It never opens the console port.
- HTTP/3 is built in and stays off until you set
http3: trueon a TLS listener; the package does not open UDP 443. - Security: three further security audits of the whole server (runs 4, 5 and 6); the findings and their fixes are listed in the release notes.
Upgrade notes, the full list and every audit finding: https://releases.scalws.com/
Install
curl -fsSL https://raw.githubusercontent.com/xsmtx/scalws/main/install.sh | sudo shOn Alpine Linux, as root: wget -qO- https://raw.githubusercontent.com/xsmtx/scalws/main/install.sh | sh
Existing installations: sudo apt update && sudo apt upgrade (Debian, Ubuntu). Running sites keep serving during the upgrade.
The attached packages
sha256sum -c --ignore-missing SHA256SUMS
sudo apt install ./scalws_1.0.0-1_amd64.deb # Debian, Ubuntu
sudo dnf install ./scalws-1.0.0-1.x86_64.rpm # RHEL family, FedoraByte for byte the files of the repositories:
| File | SHA-256 |
|---|---|
scalws_1.0.0-1_amd64.deb |
93f9d02e9815f9a09b336c03cca0c2e8f74f827190406abdd4cfc68a66a87cc5 |
scalws-1.0.0-1.x86_64.rpm |
74075adba5cb4e6d3cde89d20b3e44c1b93fcb894abf5b276f2c8f31f61269d5 |
scalws-1.0.0-r1.apk |
655d3d0b2b49fb93a39ca825cff612da1d91083db2b4afd45f3557a288e33dfe |
A package installed from a file does not update itself; add the repository for that.
Documentation: https://scalws.com/docs/
ScalWS 1.0.0-rc.1 (package 1.0.0~rc.1-11)
ScalWS 1.0.0-rc.1, package 1.0.0~rc.1-11: ScalWS as the web server of cPanel, DirectAdmin and Plesk.
What changed
- Panel mode (
scalwsctl panel enable cpanel|directadmin|plesk): on a hosting control panel server ScalWS takes over the panel's web server and serves the panel's domains, subdomains and aliases, with each account's own PHP-FPM pools, the panel's certificates (AutoSSL, Let's Encrypt), suspensions and webmail. Panel changes reach ScalWS within seconds through the panel's own hooks; a timer covers the rest.sudo scalwsctl panel disablegives the ports back.- cPanel: Apache's ports, PHP-FPM per account, AutoSSL certificates.
- DirectAdmin: the CustomBuild web server (Apache, nginx, OpenLiteSpeed or LiteSpeed), pointers, subdomains, webapps (Roundcube, phpMyAdmin).
- Plesk: nginx is replaced (Apache keeps running behind it for Plesk's own configuration work), PHP-FPM per domain, Roundcube webmail in its own PHP-FPM unit, Let's Encrypt from Plesk, alias redirects.
- Automatic at the first install on a panel server;
--panel=none(installer) orSCALWS_PANEL=none(package) skips it. Upgrades never switch a server over. A failed switch undoes every step and leaves the panel's web server serving. - Isolation: the server opens every account document root without following links, checks access as its own user before serving a site, and a site that cannot be served is left out on its own while all others keep serving.
- Audited: three security audits of panel mode (cPanel, DirectAdmin, Plesk); every finding is fixed. Live-tested on cPanel, DirectAdmin and Plesk servers.
Guide: https://scalws.com/docs/guide/control-panels/
Install
curl -fsSL https://raw.githubusercontent.com/xsmtx/scalws/main/install.sh | sudo shExisting installations: sudo apt update && sudo apt upgrade.
The attached package
sha256sum -c SHA256SUMS
sudo apt install ./scalws_1.0.0-rc.1-11_amd64.debByte for byte the package scalws_1.0.0~rc.1-11_amd64.deb of the apt repository (SHA-256 1397611e3f3426dfd260eb730823901d393409aeff795622c4347c65945c77b3).
Release notes for every build: https://releases.scalws.com/ · Documentation: https://scalws.com/docs/
ScalWS 1.0.0-rc.1 (package 1.0.0~rc.1-9)
ScalWS 1.0.0-rc.1, package 1.0.0~rc.1-9: ready to publish right after installation.
What changed
- The package starts the server on ports 80 and 443 (IPv4 and IPv6) with automatic Let's Encrypt certificates. Before, the default configuration answered only on
127.0.0.1:8080, so an added site was not reachable. sudo scalwsctl site add example.comis all a site needs:/srv/www/example.comis created with a placeholder page, the server reloads, and the certificate is requested.- Servers with 1 or 2 CPUs: reloads (also the one of
site add) no longer fail and roll back. - A welcome page answers the server's IP address and any domain without a site.
scalwsctl status,apps,certsand the other read commands work without--socket.- ufw profile:
sudo ufw allow 'ScalWS'.
If nginx or Apache already holds port 80 or 443, the installation says so and leaves ScalWS stopped.
Install
curl -fsSL https://raw.githubusercontent.com/xsmtx/scalws/main/install.sh | sudo shThen point a domain's DNS at the server and run sudo scalwsctl site add example.com.
Existing installations: sudo apt update && sudo apt upgrade.
The attached package
sha256sum -c SHA256SUMS
sudo apt install ./scalws_1.0.0-rc.1-9_amd64.debByte for byte the package scalws_1.0.0~rc.1-9_amd64.deb of the apt repository (SHA-256 5d26c30a48b9b0e30870060b4d1e24748796e3499f0a2d98e2fe0c1a1a04b11a). Installed from a file it does not update itself; add the apt repository for updates.
Release notes for every build: https://releases.scalws.com/ · Documentation: https://scalws.com/docs/
ScalWS 1.0.0-rc.1 (package 1.0.0~rc.1-10)
ScalWS 1.0.0-rc.1, package 1.0.0~rc.1-10: Domains page in the ScalWS Console.
What changed
- Console, Manage → Domains: every site with its other domains, type, target, HTTPS certificate state and whether its DNS points at this server.
- Add and remove domains from the browser (administrators only, with a password confirmation): static sites, PHP through an existing PHP-FPM socket, reverse proxy or redirect. The console runs the same checked path as
scalwsctl site add|remove: site file, configuration check, reload, everything taken back on failure. Every change is in the audit log. scalwsctl site add|remove --json, richersite list --json.- Site files and placeholder pages get their permissions explicitly (0640 / 0644), independent of the umask.
Install
curl -fsSL https://raw.githubusercontent.com/xsmtx/scalws/main/install.sh | sudo shExisting installations: sudo apt update && sudo apt upgrade.
The attached package
sha256sum -c SHA256SUMS
sudo apt install ./scalws_1.0.0-rc.1-10_amd64.debByte for byte the package scalws_1.0.0~rc.1-10_amd64.deb of the apt repository (SHA-256 8917ce90833599f326c6fd0892bf532cad0a3099157e1aa94716bf7808164343).
Release notes for every build: https://releases.scalws.com/ · Documentation: https://scalws.com/docs/