Stasys
On-call, status pages, patching, security and audit evidence for every server you run, Linux or Windows. Installed on your own servers and wearing your brand, with AI staff doing the routine work inside the limits you set.
The web application firewall for your sites
How to set up the web application firewall on a server, choose a mode per site, mark API sites, add exclusions, see what was blocked and let a real visitor back in.
What it does
The web application firewall (WAF) inspects requests to the websites on your servers and can refuse attacks before they reach the site. Stasys sets it up, sends it a policy, checks the policy really took effect, and shows what it saw.
It works on servers that serve their sites with nginx or Apache. Stasys also reports what LiteSpeed's own firewall logs.
Who controls the firewall
Stasys only changes a firewall it set up itself. When a hosting platform such as Kontrol7, cPanel or Plesk manages a server's firewall, or someone else set it up, the server shows that Stasys reports only. Stasys shows what that firewall logs and never changes its rules or mode.
Set it up on a server
- Open the server and go to the Security tab.
- On the Web Application Firewall card, use the set-up button. You can preview the packages first. The set-up starts in detect mode: it logs, it does not block. If the web server's configuration test fails, the change is rolled back.
- Choose a Policy and press Apply. Stasys reads the result back from the server and shows Applied and verified, Applied, not verified or Apply failed.
- Press Test the WAF to send one harmless, marked request to each site and check that the firewall inspected it.
Policies live on Security → WAF policies. Built-in policies are read-only; clone one to change it. You can also roll a policy out to many servers from there.
Modes: detect first, then block
Each server has a Rollout stage:
- Detect logs attacks and blocks nothing.
- Learning detects for 7 days. When it ends, the card says whether the server is ready to promote to block or which exclusions to review.
- Block refuses requests that the policy scores as attacks.
Stasys asks you to confirm every step that turns blocking on. When blocking is switched on, your own address and Stasys's own addresses are added to the allow-list, so you cannot lock yourself out. Stasys's own connections to the server are never blocked.
A mode for each site
Under Sites, the card lists every site the server is known to serve, its WAF events in the last 7 days and whether the last test showed it inspected. For each site choose a Mode:
- Inherit host (the server's mode)
- Detect
- Block
- Off
A site's own mode changes only that site. The server's other sites keep theirs. If the whole server is off, no site can detect or block. If the agent on a server is too old for per-site modes, the card says so.
Website or JSON API
Each site also has a Kind: Website (the default) or JSON API, added in Stasys 0.68.
Mark a site JSON API when it is an API rather than pages for a browser. On that site the firewall stops refusing:
- requests that change or delete data (PUT, PATCH and DELETE);
- plain-text browser beacons and live-update polling;
- content sent to its
/api/v1/mcpaddress.
Every other protection keeps blocking on that site, and the server's other sites are unchanged. No agent update is needed. If normal requests to an API site are still refused, add an exclusion as described below.
See what was blocked
Security → WAF dashboard has three tabs:
- Overview: requests blocked, attacks detected but allowed through, unique attackers and servers attacked, for the last 24 hours, 7 days or 30 days. High-severity attacks that were detected but not blocked are listed first, each with a Block IP link.
- Hosts: which servers are protected, learning or not set up.
- Events: every WAF event. Filter by Host, Site, Rule id, Client IP, Outcome (blocked or let through) and Severity, then open an event to see the request, the rules that matched and the client.
Requests from your own servers and from your entries on Security → My addresses are not counted as attacks.
Exclusions for false positives
When the firewall flags a normal request, open the event on the Events tab and press Not an attack…. Choose how wide the exclusion is:
- Only this parameter
- This rule, on this path
- This rule, everywhere
This creates a pending change on the server's policy. Nothing changes on any server until someone accepts it on Security → WAF policies and the policy is applied again. You can also edit a policy's Exclusions directly in the policy editor.
Let a real visitor back in
- Ask for the visitor's address. On Security → WAF dashboard → Events, enter it in Client IP and press Filter.
- If the firewall refused their request, press Not an attack… on the event and accept the exclusion. For fast relief while you review, set that site's mode to Detect. To exempt one address or range from the firewall, add it to the policy's Allow-list (IP or CIDR, one per line) and apply the policy again.
- If their address is blocked, by automatic blocking or by a person, go to Security → IP control and press Unblock. This removes the block everywhere. Add the address to the Allowlist there so automatic blocking never blocks it again.
Last updated 2 December 2026

