ScalWS 1.1.0

Tag v1.1.0
: ScalWS 1.1.0
Debian version
1.1.0

Package builds

All 3 files of 1.1.0 in the apt repository, newest first. Install the newest with apt install scalws (see Install); a specific build with apt install scalws=<version>.

Size and SHA-256 from the signed Packages index; each file was downloaded and checked against them when this site was built. File date: Last-Modified on apt.scalws.com.
Package and versionArchFile dateSizeDownloadsSHA-256Download
scalws-scalpanel 1.1.0+scalpanel.1-1amd6410.3 MiBe3116be1b344.deb
scalws-scalpanel 1.1.0+scalpanel.1-1arm6410.3 MiBa057e24486aa.deb
scalws 1.1.0-1amd6428.5 MiB8f2033c8db0e.deb

SHA-256 checksums

In sha256sum -c format; see Verify.

e3116be1b3447175583bdb26639c9c109cf97b21af330b997d9b6e8759a4a39f  scalws-scalpanel_1.1.0+scalpanel.1-1_amd64.deb
a057e24486aa42f86c0eb52755778280df6570901df6c9e7fc1a3df1a5a86690  scalws-scalpanel_1.1.0+scalpanel.1-1_arm64.deb
8f2033c8db0eadd8bcb4442f341efb3fafe4de29a52e533832d1a28a6dbdcaaa  scalws_1.1.0-1_amd64.deb

Debian versions and revisions

1.1.0 is 1.1.0 in Debian's spelling. The tilde sorts before everything, even the end of the version, so a release candidate is older than the final release it precedes and apt upgrades from one to the other.

The number after the last hyphen is the Debian revision (-1): a new package build of the same release. apt installs the highest revision; older ones stay in the repository index and can be installed by their full version.

scalws-scalpanel (component scalpanel) is a separate package: ScalWS for ScalPanel's custom web server image. Its version 1.1.0+scalpanel.1-1 carries the release version with a +scalpanel.1 suffix.

scalws-scalpanel (component scalpanel) is a separate package: ScalWS for ScalPanel's custom web server image. Its version 1.1.0+scalpanel.1-1 carries the release version with a +scalpanel.1 suffix.

Container image and Helm chart

Built and pushed by the release workflow for tag v1.1.0 (amd64 and arm64). Usage: Kubernetes guide, ingress controller. Registry access may require authentication.

Image
ghcr.io/xsmtx/scalws:1.1.0
Helm chart
oci://ghcr.io/xsmtx/charts/scalws version 1.1.0

Release notes

From CHANGELOG.md at tag v1.1.0, section [1.1.0]. The same file on scalws.com: changelog.

Licence

  • Changed from Apache-2.0 to AGPL-3.0-only starting with 1.1. The LICENSE file is the GNU AGPL v3 text and is installed with the deb, rpm and apk packages (deb also gets a DEP-5 copyright). Bundled third-party code under third_party/ keeps its own licences. Dependency licences: docs/licences/dependencies.md.

Security

  • Dependencies: rustls 0.23.46 (RUSTSEC-2026-0346, RUSTSEC-2026-0347, RUSTSEC-2026-0348, RUSTSEC-2026-0349), rustls-webpki 0.103.17 (RUSTSEC-2026-0382), webpki-root-certs 1.0.12 (RUSTSEC-2026-0383), tokio 1.54.1 (RUSTSEC-2026-0386) and rustix 1.1.6 (RUSTSEC-2026-0486). kube 4.0 and k8s-openapi 0.28 (scalws-ingress) drop the unmaintained chrono (RUSTSEC-2026-0543) and serde_yaml with unsafe-libyaml (RUSTSEC-2024-0449); kubeconfig YAML is now read by serde-saphyr and Kubernetes times are jiff timestamps. The k8s-openapi API baseline moves from Kubernetes 1.31 to 1.32 (v1_31 is no longer offered). cargo deny check passes with no ignore entries.

Security: audit run 9

  • .htaccess: %{REMOTE_ADDR} of an IPv4 client of a dual-stack [::] listener is its IPv4 address, as PHP, the logs, X-Forwarded-For and Require ip see it. It was [redacted address].b.c.d, so a RewriteCond %{REMOTE_ADDR} deny rule written for the IPv4 form did not match. The client address is now canonical for every rule and limit (N1).
  • Cache: the stale-while-revalidate refresh of an Options +Indexes listing applies the request's listing filter (IndexIgnore, <Files>/<FilesMatch> denials, deny_paths). It listed every entry and stored that page for every visitor, so later visitors saw the names, sizes and dates of hidden files (N2).

Security: audit edge

  • Console: a draft's server.networks.<name>.file and server.geoip.database must be below the configuration directory, unless the server's configuration names the same file (the database also at /var/lib/scalws/geoip/country.mmdb). The draft check read them as root, and its errors told a developer account whether a file existed and which line was not an address (N1).
  • Routes: a request whose path holds an encoded slash (%2F) and whose decoded path would select another route answers 400, in both route orders and for every route table. nginx selects the location on the decoded path; here /sp-ab12%2Fa.jpg missed ScalPanel's preview image route and its referer, and /app%2Fadmin/x reached an open /app/ route instead of /app/admin/ and its allow list. A path above the root once decoded (/..%2fx) now answers 400 instead of 404 (N2).
  • Cache: the stale-while-revalidate refresh of a proxy route applies the route's request_headers (remove_cookies included), rewrite.host and rewrite_location like the request. It sent the visitor's withheld cookies and the unrewritten Host to the upstream and stored that answer for everyone (N3).
  • .htaccess: a local ErrorDocument is fetched with the request_headers of its route (remove_cookies included), as a request for it is; the site got the visitor's withheld cookies through it (N4).
  • .htaccess: a local ErrorDocument on a route with referer keeps the plain error for a Referer the route refuses; a foreign page could embed the protected document through any URL that ended in that status (N5).

Security: audit run 7

  • Sandbox: an instance writes only cgroup.procs of <base>/server, the cgroup every instance shares; its cgroup.kill and cgroup.freeze (which killed or froze every instance, past the Landlock signal scope) are refused (N6).
  • Panel mode: an automatic name (www., ipv4., webmail., cpanel. plus a domain) stays with the account that owns the domain; another account's server name or alias equal to it is left out, with a warning naming that account and the name (N7).

Security: audit scalpanel

  • Cache: bypass_cookies and bypass_query (every response cache: ScalPanel mode, panel modes and YAML) also match names as PHP reads them (., a space and an unclosed [ read as _, query names decoded, an array index dropped; cookie names also decoded, as PHP before 8.1.11 and 8.0.24 did). A cookie comment.author_x or wordpress.logged.in_x reached PHP under its bypass name while the page was stored and served to every visitor (N1).
  • Cache: URLs remembered as not storable (hit-for-pass) take a sixteenth of the cache memory, weighed by length, instead of up to 100 000 keys of up to 8 KiB outside it (N2).
  • .htaccess: IndexIgnore (with IndexIgnoreReset) hides names from an Options +Indexes listing (ScalPanel mode and any application with .htaccess); it was ignored with a warning, so names the owner hid were listed (N4).
  • Compression: the variant cache shared by all applications keys a file also by its document root and its change time (ctime, which nobody can set), so an inode number freed and reused with the same size and modification time no longer serves the first file's compressed bytes (N7).
  • Static: a directory listing of a PHP application (ScalPanel mode and any other) leaves out the names the static half never serves as files: PHP source a request refuses (.inc, .phtml, .php3 to .php8, .phar, .phps) and the PHP extensions' scripts, so .php files are no longer listed (N8).
  • PHP: an ErrorDocument whose target falls back to the front controller passes the controller's .htaccess checks (access rules, logins, php_flag engine off) as a request for it would, and the PHP handler answers 404 instead of running a fallback .htaccess did not approve for its own controller (ScalPanel mode and any application with .htaccess and a front_controller). A missing error page let any visitor run a controller the owner had turned off, denied or put behind a login. In YAML, a route whose PHP runtime has its own front_controller, in an application with .htaccess, is now checked against that controller's .htaccess rules; before, only the default runtime's controller was checked, and the route's ran unchecked (N5).
  • .htaccess: <Files> globs are charged to the request's scan budget, and to a listing's, by their worst case (name length times pattern length), as <FilesMatch> regular expressions are (every mode with .htaccess). Long globs made every request and every listed name run them uncharged (N3).
  • .htaccess: a directory level looked up again (every level on every request with htaccess_recheck: 0s, as in ScalPanel mode; any level once its window passed) is charged to the request's scan budget per path component, as ADR-0031 said. A walk of d levels costs (d + 1)² x 256 bytes of the 8 MiB budget: a request that walks a path of 127 levels or more twice (one internal rewrite) or of about 104 levels three times answers 500 instead of making thousands of uncharged lookups (N6).

Added

  • ScalPanel mode: scalwsd serves one ScalPanel website from its site.json (contract version 1) when it runs as scalpanel-webserver (the path as its argument, else SCALPANEL_SITE_CONFIG, else /etc/scalpanel-site/site.json), with --site-json <path>, or with SCALPANEL_SITE_CONFIG set and no explicit -c. Every field maps onto ordinary configuration keys; unknown fields are ignored, the file is read with a 1 MiB cap, and every error is one line starting site.json: with exit status 1. In this mode there is no admin socket, metrics listener, cgroups, optimizer, AI or ACME, and the runtime directory is <temp_dir>/scalws. The old vpanel names are not read. See ScalPanel mode.
  • ScalPanel mode: required_header becomes server.required_header {name, value, status}: a request without exactly one header with exactly that value (compared in constant time) gets 421 before routing, .htaccess, files, the cache or PHP, counted as required_header. An HTTP/1.0 request without Host is routed by the address it reached in such configurations.
  • ScalPanel mode: HTTPS through the edge. server.client_address.forwarded_proto (on in ScalPanel mode) takes the scheme from one X-Forwarded-Proto value of a peer in trusted_proxies for PHP (HTTPS, REQUEST_SCHEME, SERVER_PORT), .htaccess %{HTTPS}, absolute redirects and https_redirect; other peers' header is removed.
  • ScalPanel mode: security.dotfiles: forbidden answers dot paths (but /.well-known/) 403 before any file is looked at (deny_dotfiles), and security.symlinks (follow default, owner_only as Apache's SymLinksIfOwnerMatch, none) checks links for static files, scripts, index files, .br/.gz siblings and .htaccess files; a path without links costs the same single openat2.
  • ScalPanel mode: .htaccess changes apply to the next request (htaccess_recheck, 0 to 60 s, default 2 s, 0s in ScalPanel mode); Options +Indexes lists a folder without an index file (escaped, without dotfiles, refused links or denied names, at most 10 000 entries and 2 MiB) and -Indexes answers 403; indexes: not_found|forbidden for folders without either (forbidden in ScalPanel mode); AddType with a non-PHP type sets the Content-Type of static files, RemoveType removes it. Every block ScalPanel 0.1.38 writes (directory privacy, error pages, redirects, directory listing, MIME types) is tested with the generator's text in both marker spellings (ADR-0031).
  • ScalPanel mode: log files. server.logging.access_file (Apache combined format, %h the resolved client, %u the .htaccess Basic user, escaped as Apache does) and server.logging.error_file (warnings and errors, one line each), from logs in site.json. Writer threads with bounded queues (dropped lines in scalws_log_lines_dropped_total), one write(2) per line, reopened after rotation (moved, deleted or truncated file) and on SIGUSR1, retried every second while the file cannot be opened, never through a symbolic link (also not a linked prefix such as /var/run: use the real path). See Log files.
  • ScalPanel mode: server.limits.request_timeout bounds a whole request from the first byte of its head (limits.timeout_seconds, at most 24 h): 504 without a response, 408 while the body still arrives, a dynamic response being sent is cut; static file bodies and cache hits are not cut. Warnings when php.max_execution_seconds is 0 or longer, and for a managed pool without terminate_timeout.
  • ScalPanel mode: runtime.extensions (PHP) lists the script extensions (php.extensions; only the last extension counts, x.html.jpg is an image, a name with a line break or NUL never runs); PHP source that does not run answers 403. Without it a YAML application keeps the 1.0 list.
  • ScalPanel mode: front_controller from site.json: a path that is neither a script, a file nor a folder with an index runs the controller with the original URI and query and no PATH_INFO, after .htaccess had its say; dotfiles, refused links, denied paths and -Indexes folders never reach it; a missing controller is 404.
  • ScalPanel mode: compression in site.json (static by default, all, types, off) and 8 MiB for compressed variants; see the Compression: entry.
  • ScalPanel mode: page cache from cache in site.json (ttl_seconds, stale_seconds, memory_mb, bypass_cookies, bypass_paths, bypass_query): PHP responses only (cache.static_files: false, a new application key, default true), memory only, every access check before the lookup; .htaccess edits of caching headers or ExpiresActive On bypass it for that folder; "" in bypass_cookies bypasses any request with a cookie. See caching.
  • ScalPanel mode: server.loopback_healthz (on in ScalPanel mode) answers GET/HEAD /healthz from a loopback TCP peer with 200 ok or 503 draining (text/plain; charset=utf-8, Cache-Control: no-store) before the required header, never for an address a proxy reports or on a PROXY-protocol listener, not logged.
  • ScalPanel mode: scalwsd --version prints site-json: 1 and site-json-fields: front_controller,compression,cache after the version.
  • ScalPanel mode: scalwsctl panel detect prints scalpanel on a ScalPanel host (before any other panel) and scalpanel-site inside a website container; panel enable, sync and disable refuse there and change nothing, panel status reports the websites per web server, and the package's first install does not start ScalWS on such a host. See ScalPanel hosts.
  • ScalPanel mode: packaging/scalpanel/ holds the site image recipe (Dockerfile.example: the static musl scalwsd as /usr/local/bin/scalpanel-webserver on ScalPanel's PHP site image, its entrypoint and sessions label kept, a /healthz health check) and the PHP-FPM settings; tests/scalpanel/contract.sh checks ScalPanel's contract against such an image, on amd64 and on arm64 (under qemu-user).
  • ScalPanel mode: the scalws-scalpanel package for amd64 and arm64. scripts/release-build-scalpanel.sh builds the static musl scalwsd for both (scalwsd-<version>-scalpanel.<n>-{x86_64,aarch64}-linux-musl, with a .sha256 each; amd64 profile-guided from the Alpine release build, arm64 in the same Alpine image built for arm64), checks that each is static and built for its machine (scripts/check-static.sh --machine) and prints site-json: 1, and packages one .deb per architecture (packaging/scalpanel/nfpm.yaml): the binary at /usr/lib/scalws-scalpanel/scalwsd, /usr/bin/scalpanel-webserver linking to it, the recipe and PHP-FPM settings as examples, no dependencies and no file of the scalws package, so both install side by side (tests/packaging/scalpanel-deb.sh). On arm64 the sandbox floor is not available (seccomp filters are x86_64 only): one warning, and the website is served.
  • ScalPanel mode: the sandbox floor is auto when neither SCALWS_SANDBOX_FLOOR nor --sandbox-floor is given: the sandbox applies as on (Landlock writes only below temp_dir, the system temporary directory and the log folders, no program runs, the seccomp allowlist) where the kernel and the container allow it; otherwise one warning names what is missing and the website is served without it, never a failed start. An explicit floor, off included (also set but empty), wins and an off is logged once. PHP-FPM is started by the image, not by ScalWS, and is not under it. See ScalPanel mode.
  • Compression: gzip and brotli responses per application, compression: {mode, types} (off by default, static, all, types) and server.compression.cache_bytes (default 32 MiB). static compresses only static files of text types, never a dynamic response, whatever its type (BREACH-safe); compressed static variants are kept in memory with strong ETags (-gz6, -br5), .br/.gz siblings are served, Vary: Accept-Encoding on every response of a compressed type, no compression for Range requests, bodies under 1 KiB or already-compressed types. Pure Rust encoders (flate2 with zlib-rs, brotli). With off nothing changes (within 2 % of the build before); static measured 3.7x to 38x nginx's gzip at 1 CPU. A change of compression restarts the application's PHP runtime. See ADR-0053.
  • Disk I/O limits: resources.io (read_bps, write_bps, read_iops, write_iops) next to io_bandwidth (shorthand for both byte rates; not together with read_bps or write_bps). The limit is written as cgroup v2 io.max on the topmost whole device of every path the tenant writes: application and runtime roots, runtime and temp directories, PHP upload and session directories, writable container mounts and the tenant user's home. Partitions map to their disk; dm and md devices are limited themselves, never their legs. Devices no longer used are reset to max. Paths without a block device (btrfs, overlay, ZFS, NFS) are reported by scalwsd --check, scalwsctl limit and the admin API (io, io_enforced, io_unthrottled, io_devices; the 1.0 keys stay); tmpfs is not a gap. A gap a tenant can cause never fails cgroups.mode: required, which fails when the io controller is missing or a line is refused. Path resolution runs off the request path, bounded to 5 s per tenant. A rate of 0 is refused, rates below 1 MiB/s or 10 IOPS warn, and the run-time io_bandwidth override has a floor of 1 MiB/s. See resources and ADR-0010.
  • Real client address: server.client_address (header, presets, presets_dir, file). Peers of trusted_proxies report the client in header (x-forwarded-for, forwarded, cf-connecting-ip, x-real-ip or true-client-ip); presets: [cloudflare] trusts Cloudflare's networks, which report it in CF-Connecting-IP, so a site behind Cloudflare and a local load balancer needs no per-site setting. A peer in neither group is the client, whatever it sends, and single-value headers it sent are removed (also their underscore spellings). Unparseable entries make the client unknown (::); the X-Forwarded-For sent upstream starts at the resolved client. The shipped Cloudflare list dates from the release; scalwsctl client-address update (root, over TLS, strictly validated, --force, --no-reload) refreshes it into presets_dir, which must be root-owned. Peers in presets and imported networks are exempt from per-source connection and handshake limits. Panel mode imports mod_remoteip (cPanel, DirectAdmin) and nginx real_ip (DirectAdmin) settings into /etc/scalws/panel/client-address.yaml (Cloudflare's networks always become the preset; the panel's proxies join yours only under the same header); the Console's Server section edits client_address. The packages create /var/lib/scalws/presets. See security and ADR-0022.
  • PHP pools: php.fpm.pool (slowlog_timeout, terminate_timeout, backlog, idle_timeout, whole seconds; idle_timeout runs the pool with pm = ondemand; slow traces go to the pool's own log), OPcache isolation between managed pools (opcache.validate_permission and opcache.validate_root on), php.queue (max, wait: a busy pool answers 503 with Retry-After: 5; metrics scalws_php_queue_depth and scalws_php_queue_rejected_total) and php.values (base PHP values of an external pool, sent as PHP_VALUE on every request, so that an application sharing the pool cannot leave its settings in a worker).
  • .htaccess: HTTP Basic authentication (AuthType Basic, AuthName, AuthUserFile, Require valid-user|user, Satisfy any|all; bcrypt, $apr1$, $6$, $5$, {SHA}), php_value/php_flag for the allowlisted PHP keys, and AddHandler/SetHandler/ AddType/ForceType lines that select PHP (cPanel MultiPHP included) or turn it off (SetHandler none in uploads: a PHP script there answers 403). New keys: server.security.htaccess_auth_failures (default 10 failed logins a minute per client and realm, then 429), htpasswd_dirs (where AuthUserFile may lie besides root), php.versions and php.own_version. Access rules now follow Apache 2.4: Require and Order/Allow/Deny are separate layers combined by Satisfy. Panel mode writes the cPanel .htpasswds and MultiPHP pools and the DirectAdmin password directories; scalwsctl panel check reports a .htaccess PHP version without a pool. See the how-to.
  • Panel mode: the rendered sites carry the pools' base PHP values and bound the requests to a pool by its pm.max_children (php.queue.max: a busy pool answers 503, not 504); scalwsctl panel check reports PHP pools of several accounts that share one OPcache (and PHP versions it could not read); on cPanel the sync watches every used PHP version's pool directory and php.ini.
  • server.tenant_users (warn by default, required, off): tenants whose managed applications would run as the same Unix user (no user, or the same one) are reported at start, on reload, by --check, scalwsctl check and the console; required refuses such a configuration.

Changed

  • Routes: a path with an encoded slash (%2F) whose decoded form selects another route answers 400, in every configuration (audit edge N2). With prefix routes /api and /api/v2, 1.0 served /api%2Fv2/x from /api; 1.1 answers 400. The same holds for an exact route (/api/health and /api%2Fhealth). A path above the root once decoded (/..%2fx) answers 400 instead of 404. A path whose two forms select the same route is served as before.
  • Logs: the JSON access event's remote writes an IPv4 client of a dual-stack [::] listener as IPv4 (remote=203.0.113.5, was remote=::ffff:203.0.113.5), as the combined and scalpanel lines do. Filters keyed on the [redacted address] form need the plain address.
  • Proxy: X-Forwarded-For and X-Real-IP send an IPv4 client of a dual-stack [::] listener as IPv4, as logs and address checks see it (was [redacted address].b.c.d).
  • Access log files: two access_log entries that name one file with different formats are a validation error naming both (the lines would interleave). The combined %u of an access_log file is the user of a Basic Authorization header when no .htaccess login set one (a route basic_auth user, as nginx $remote_user), not -.
  • server.compression.types without enabled: true is a validation warning (it compresses nothing).
  • Proxy: forwarded_for with an unknown value names the key in the error inside a route's runtime (serde named only the variant).
  • Proxy: proxied responses carry Server: scalws; the upstream's Server (for example Apache/2.4.62 (Debian)) is dropped, as nginx hides it. A 101 upgrade answer keeps the upstream's Server. Responses of every other handler are unchanged.
  • Redirects: with the Gateway fields (scheme, host, port, path, prefix), keep_path: false drops the request's query (it was ignored, so the query was kept), as nginx return 302 https://$host:2096/;. The ingress controller's app-root redirect sets keep_path: true and keeps the query as before.
  • server.security.per_ip.burst: 0 is accepted: a bucket of one request (nginx limit_req without burst; nginx burst=N is burst: N+1). It was a validation error. requests_per_second: 0 is still refused.
  • Route precedence is unchanged by default. The nginx order (exact, regex, prefix) is the new opt-in route_order: nginx (see "Added: edge features for ScalPanel" below); ADR-0050 is amended.
  • ScalPanel mode: PHP request bodies over 64 KiB are spooled to an unlinked file in site.json's temp_dir, no longer in $TMPDIR (else /tmp); with the sandbox in force temp_dir is writable. A temp_dir that is / or a top-level folder other than /tmp, or that is, holds or lies inside the document root, the .htpasswds folder or a log folder, is refused at start and on reload; a missing one is created (0700) at start and one that cannot take a file is one warning at start.
  • server.http1_server and server.upstream_client take own | hyper and default to own: ScalWS's own HTTP/1 server and upstream client replace hyper's for HTTP/1 connections and for proxied and managed applications. experimental is still accepted as an alias of own. To keep hyper, set http1_server: hyper and upstream_client: hyper (or client: hyper on a route); upstream_client is read at start-up, http1_server applies to connections accepted after a reload. HTTP/2, HTTP/3 and TLS connections that negotiate another protocol are unaffected. Measured against nginx 1.31 (6 CPUs, 3 x 2 instances): respond 0.93 (hyper 0.86), proxy 0.98 (0.83), static-small 1.03 (0.98); see docs/benchmarks/2026-11-12-xeon-1.0.0.md. Audit: docs/hardening/2026-11-13-own-http1-default-audit.md (no confirmed vulnerability; chunk extensions are capped at 16 KiB per body, as hyper).

Added: edge features for ScalPanel

ScalWS can run ScalPanel's edge from the configuration ScalPanel's generator writes, with the generator's key names (ScalPanel edge, ADR-0054). Every key is optional; a configuration without them behaves and costs as before.

  • Routes: route_order: nginx on an application tries exact, then regex (in order), then prefix routes, as nginx does; the default scalws order stays. Prefix paths may end with one / (/sp-ab12/ matches /sp-ab12/ and below, not /sp-ab12). rewrite.path may start with a capture ($1); a result without a leading / answers 400.
  • Network sets: server.networks.<NAME> from a CIDR list file (at most 32 MiB, 1 000 000 entries in all, read without following a final link) or from countries looked up in server.geoip.database (MaxMind DB format, read into memory); routes refuse or admit them with deny_networks and allow_networks (403, reason="networks"). Gauge scalws_geoip_build_timestamp_seconds. See Network sets.
  • scalwsctl geoip update: installs DB-IP's IP to Country Lite database (checked, written atomically as root, reloaded). "IP geolocation by DB-IP (https://db-ip.com), licensed CC BY 4.0". The packages ship scalws-geoip-update.service and a monthly scalws-geoip-update.timer (the 3rd at 04:00, up to one day of random delay), disabled.
  • Hotlink protection: route referer: {allow_empty, allow_own, hosts, status} with nginx valid_referers parity; refusals carry Cache-Control: no-store, counted as reason="referer". See Hotlink protection.
  • request_headers.remove_cookies: named cookies are dropped from every Cookie line before the runtime, upgrade requests included.
  • Proxy forwarded_for: client: one X-Forwarded-For value (the resolved client) and X-Real-IP; the default chain is the 1.0 behaviour.
  • Proxy rewrite_location and cookie: {path_prefix, domain: request_host} for previews under a path prefix (nginx proxy_redirect and proxy_cookie_path).
  • server.security.per_ip.max_upgraded: upgraded (WebSocket) tunnels per client address; beyond it 429 with Retry-After: 1, reason="upgraded". Under scalws-controller each instance enforces its share.
  • access_log: {file, format} on applications and routes, format combined or scalpanel (ScalPanel's nginx log_format, byte for byte); one writer thread, one bounded queue, scalws_access_log_dropped_total. Hard-linked log files are refused.
  • scalwsctl reopen-logs and admin POST /v1/logs/reopen: reopen every log file, as SIGUSR1, on every instance under scalws-controller.
  • server.compression.enabled, types and min_length: a server-wide default compression (the types plus text/html) for applications without their own; min_length (default 1024) replaces the fixed 1024 bytes.
  • scalwsd --version prints a fourth line, edge-features:, with the finished features in alphabetical order: access_log forwarded_for gzip max_upgraded networks prefix_proxy referer remove_cookies route_order.
  • The console knows the new keys: network sets and the country database are on the Security page; the others show with their help text where their parent is.

Removed

  • Plesk support: Plesk is no longer supported. Panel mode serves cPanel and DirectAdmin; panel detect prints none on a Plesk server and panel enable plesk is refused. The Plesk reader, its webmail PHP-FPM unit scalws-panel-webmail.service and its SELinux domain (scalws_webmail_t) are gone. A first install on a Plesk server changes nothing (no takeover, no start, no firewall rule) and says so in one line; a leftover Plesk panel state from 1.0 does not stop a first install (one line says it is ignored).
  • An upgrade of a server where panel mode serves Plesk's sites is refused by the package's pre-install step: run sudo scalwsctl panel disable with the installed version first (it gives the ports back to Plesk's nginx), then upgrade. 1.0 keeps working for Plesk users who stay on it.

Upgrade notes

  • Plesk: 1.1 does not install over 1.0 while Plesk panel mode is on (/var/lib/scalws-panel/state.json names Plesk). Run sudo scalwsctl panel disable with 1.0 first, then upgrade; or stay on 1.0, which keeps working with Plesk.

Fixed

  • Packages (systemd): scalwsd.service and scalws-controller.service make /var/log/scalws writable (ReadWritePaths=-/var/log/scalws). An access_log file or logging.access_file in a folder there, as the log guide suggests (/var/log/scalws/sites/), stayed unwritten ("Read-only file system", retried every second) under ProtectSystem=strict.
  • .htaccess: AuthGroupFile no longer denies the directory. Apache reads the group file only for Require group, which still denies; with Require valid-user or Require user the login applies. DirectAdmin's password-protected directories (AuthGroupFile /dev/null) answered 403 even with the right password. 1.0 has the same bug.
  • cPanel: a MultiPHP switch to a PHP version no site used served 502 for about 30 seconds. The sync's path unit watched only the pool directories of the versions in use, so the new pool did not start a sync until the retry; it now watches the pool directory of every installed ea-php* too, and /opt/cpanel for a version installed later (control panels).
  • Packaging: the first-install cgroup v1 notice on a CloudLinux host no longer advises the unified hierarchy (LVE depends on CloudLinux's layout); it says to keep it (CloudLinux).
  • DirectAdmin with OpenLiteSpeed: panel enable failed and its rollback left the web server disabled at boot. The unit is openlitespeed.service; lshttpd and lsws are its aliases, and disabling an alias disabled the unit and removed the aliases, so the next steps and the rollback found no unit. Each web server name is now resolved to its unit (systemctl show -p Id) and recorded, disabled, stopped, given its drop-in and restored under that name, once; its enablement is recorded truthfully (an alias link exists only while its unit is enabled, so alias counts as enabled). The services.status lines openlitespeed= and litespeed= (LiteSpeed Enterprise) are turned off and back like httpd=. 1.0 has the same bug.
  • DirectAdmin: a PHP slot without its own phpN_mode runs as php1_mode, as DirectAdmin 1.7x writes only php1_mode. panel enable refused such a server ("PHP slot 2 ... runs as (unset)") and the sync gave that slot's domains no PHP.
  • Fuzzing: the cargo-fuzz targets fuzz the vendored fastcgi-client and ktls that ScalWS ships (they fuzzed the upstream crates) at the dependency versions of the workspace lock (fuzz/Cargo.lock), run every night in CI (built once, two minutes per target), and cover HTTP/3 frame headers and FastCGI responses too.
  • A reload that keeps followed document roots no longer walks every protected directory for every such root: the protected directories' identities are taken once per reload, and each kept root is checked through its own open (not a map shared by path, whose stale entries could restart runtimes on every reload).
  • OpenRC: a drain with the controller running no longer waits its whole timeout when no instance is left (the top cgroup's populated counted the controller's own group).