Shield sits in front of your site, on your own server, and decides who gets in: customers and search engines go through, bots, scrapers, attacks and traffic waves are stopped. It installs in four guided steps and checks by itself that every site answers as before.
Before you start. You need your own Linux server with Docker installed, and administrator access. To check Docker, type docker --version: if it answers with a version number you are fine. If this means nothing to you, forward this page to whoever runs your server, or ask us for an assisted install.
curl -fsSLO https://luviner.com/downloads/shield-setup.pypython3 shield-setup.py analyzepython3 shield-setup.py plan. In doubt, press Enter: the suggested answer is fine. Your account token is in the Shield panel on luviner.com.sudo). Shield checks that every site answers as before; if anything differs, it rolls back by itself.With Apache on Debian or Ubuntu it does everything by itself. With nginx or Traefik there are two manual edits, described in section 3.
sudo shield mode enforce. That is the only optional step.shield status should say "healthy".sudo shield mode observe lets everyone through at once; then send us the file from shield support > shield-support.txt.sudo shield uninstall removes Shield and restores the configuration saved at install. With nginx or Traefik, first remove the line or labels you added by hand.Shield sits in front of your site, on the same server. Your application is not modified and does not need to know Shield exists.
robots.txt and sitemaps are never stopped.Whatever runs behind the web server (PHP, Python, Java, Node…) does not matter.
| Receives the visitors today | Install |
|---|---|
| Apache on Debian or Ubuntu | Fully automatic: install, checks, rollback |
| nginx | Shield starts by itself; you add one line to each protected server block |
| Traefik (Docker) | Shield starts by itself; you add the labels to the protected routers |
Plus: Linux, Docker, Python 3.8 or newer, and an administrator (sudo). Shield keeps within 1 GB of memory.
plan asks only what it cannot detect: which sites to protect, online payments (so their notifications always get through), other addresses called by external servers (couriers, ERP, marketplaces), addresses always let through, observe or enforce, your Luviner account token, and whether Shield may update itself every night (section 6).
127.0.0.1; nginx takes the public addresses. A few seconds without service.shield command and keeps a copy of the package for a clean uninstall.Run sudo ./shield-setup-*/start-shield.sh, copy nginx/shield-http.conf to /etc/nginx/conf.d/shield.conf and nginx/shield-server.conf to /etc/nginx/snippets/, then add one line in each protected server block and reload nginx:
If Shield stops, nginx lets visitors in.
Run sudo ./shield-setup-*/start-shield.sh (it joins Traefik's network), then add the labels from traefik-labels.txt to the protected sites' containers and recreate them.
After the install, one command does everything. Every change is checked the same way: Shield must answer, keep what it learnt and the site must answer as before, otherwise it goes back by itself.
| Command | What it does |
|---|---|
shield status | Version, mode, health, waves, what was stopped since the start |
sudo shield update | Newer version, same settings; back to the previous one by itself on any problem |
sudo shield rollback | Back to the previous version |
sudo shield mode enforce | Full protection (or observe) |
sudo shield set SHIELD_TRUSTED_IPS=203.0.113.0/24 | Change any setting (section 9); an empty value removes it |
sudo shield autoupdate on|off | Nightly update with the same checks |
sudo shield uninstall | Puts the server back as it was before the install (--purge also deletes what Shield learnt) |
shield support | A summary to send to support: no visitor address, no secret value |
Settings live in /etc/shield-setup/shield.env, readable by root only. The same guide is in README.txt inside the install package, in English and Italian.
Shield starts in observe mode: traffic waves and attacks are stopped, every other bot is only noted. After about a week, look at the dashboard or at shield status. When the noted visitors contain no customers, switch on full protection:
sudo shield update, or a given version: sudo shield update --to 2.13.sudo shield rollback returns to it in seconds. What Shield learnt is kept across versions.include lines can be removed when convenient.Shield can report to your Luviner account, so you see every server in one page and get an email when a traffic wave starts and ends.
shield-setup.py plan asks. Already installed: sudo shield set SHIELD_REPORT_TOKEN=…/.env), with numbers and tokens masked. Every minute, and at once when a wave starts or ends. No visitor address, no visited page, no header. The connection is outbound only: no port is opened. If luviner.com cannot be reached, protection is not affected.
Community plan: connecting to your Luviner account is the condition of the free plan. On the paid plans the connection is optional and everything can stay on your server.
Change them with sudo shield set NAME=value.
| Setting | Default | Description |
|---|---|---|
SHIELD_GATE_MODE | install: observe | observe or enforce (use shield mode) |
SHIELD_FLOOD_ACTION | challenge | During a wave: challenge unknown visitors, only observe, or off |
SHIELD_TRUSTED_IPS | the server itself | Addresses or networks always let through, comma-separated |
SHIELD_ALWAYS_ALLOW_PATHS | robots, sitemaps… | Pages always served to everyone (payment notifications, webhooks) |
SHIELD_PROBE_ALLOW | — | Platform paths the site uses legitimately (e.g. wordpress, graphql); set by shield-setup |
SHIELD_DECLARED_BOT_ACTION | allow | Bots that say who they are (SEO tools, AI crawlers): allow or block |
SHIELD_LOGIN_MAX_ATTEMPTS | preset | Limit on login form submissions per visitor (configurable) |
SHIELD_SITE_HOST | — | Your site's name, set by shield-setup |
SHIELD_REPORT_TOKEN | — | Luviner account token (section 8); empty: nothing is sent |
SHIELD_NODE_NAME | site name | How this server is called in the dashboard |
Shield can also be asked directly by your application, without a web server in front: POST /check on port 9741 with the request's details returns allow or block. Use it for APIs or to add Shield's verdict to your own logic. It does not protect against traffic waves, because the requests have already reached your application.
| Endpoint | Method | Description |
|---|---|---|
/check | POST | Verdict on one request: allow or block |
/gate/status | GET | Waves, refusals and mode (what shield status reads) |
/health | GET | Health check |
/stats | GET | Operational statistics |
/metrics | GET | Prometheus metrics |
Real logs of an online shop, replayed with the October 2026 version of Shield in front: the morning a distributed scraper sent 18,560 requests in 5 minutes from 17,416 addresses and took the site down for over an hour.
| Without Shield | With Shield | |
|---|---|---|
| Wave recognised | — | after 38 seconds |
| Requests reaching the site, first 5 minutes | peak 122/s | 1.2/s on average |
| Connections held | by the site (exhausted) | by nginx |
| False wave alarms in the previous week | — | 0 |
| Customer actions refused (cart, login) | — | 0 |
| Real browsers that saw the check page | — | 207 of 683, once |
Shield has protected that site in production since 26 October 2026 (observe mode), in full protection since 2 November. On 9 November 2026 a real wave arrived: 6,270 new addresses in about 20 seconds, up to about 1,100 requests a second. Shield served the check page from the second second, almost none of those addresses came back, the site answered normally throughout, and every customer who was buying at that moment went on buying.
shield_pass): list it in your cookie policy.plan again.