Added random server header and changed behavior of SERVER_HEADER env var

This commit is contained in:
Leonardo Bambini
2025-12-29 18:55:44 +01:00
parent c2c43ac985
commit a9808599dc
2 changed files with 9 additions and 1 deletions

View File

@@ -185,7 +185,7 @@ To customize the deception server installation several **environment variables**
| `CANARY_TOKEN_URL` | External canary token URL | None |
| `DASHBOARD_SECRET_PATH` | Custom dashboard path | Auto-generated |
| `PROBABILITY_ERROR_CODES` | Error response probability (0-100%) | `0` |
| `SERVER_HEADER` | HTTP Server header for deception | `Apache/2.2.22 (Ubuntu)` |
| `SERVER_HEADER` | HTTP Server header for deception, if not set use random server header | |
## robots.txt
The actual (juicy) robots.txt configuration is the following

View File

@@ -193,5 +193,13 @@
500,
502,
503
],
"server_headers": [
"Apache/2.4.41 (Ubuntu)",
"nginx/1.18.0",
"Microsoft-IIS/10.0",
"cloudflare",
"AmazonS3",
"gunicorn/20.1.0"
]
}