{"id":50911126,"url":"https://github.com/eilandert/webserver-hardening","last_synced_at":"2026-06-16T10:04:24.878Z","repository":{"id":363006096,"uuid":"1261615014","full_name":"eilandert/webserver-hardening","owner":"eilandert","description":"Hardening patches + config snippets for nginx, Angie and OpenSSL — the deb.myguard.nl stack","archived":false,"fork":false,"pushed_at":"2026-06-07T01:15:07.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-07T01:17:03.362Z","etag":null,"topics":["angie","certificate-compression","hardening","ja4","nginx","openssl","reverse-proxy","security","tls","webserver"],"latest_commit_sha":null,"homepage":"https://deb.myguard.nl/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eilandert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-06T23:40:53.000Z","updated_at":"2026-06-07T01:15:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eilandert/webserver-hardening","commit_stats":null,"previous_names":["eilandert/webserver-hardening"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/eilandert/webserver-hardening","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilandert%2Fwebserver-hardening","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilandert%2Fwebserver-hardening/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilandert%2Fwebserver-hardening/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilandert%2Fwebserver-hardening/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eilandert","download_url":"https://codeload.github.com/eilandert/webserver-hardening/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eilandert%2Fwebserver-hardening/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34400456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angie","certificate-compression","hardening","ja4","nginx","openssl","reverse-proxy","security","tls","webserver"],"created_at":"2026-06-16T10:04:24.145Z","updated_at":"2026-06-16T10:04:24.870Z","avatar_url":"https://github.com/eilandert.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# webserver-hardening\n\nPatches and config snippets that harden **nginx**, **Angie** and **OpenSSL**\nfor production — the same set that powers [deb.myguard.nl](https://deb.myguard.nl/)\nand the matching container images.\n\nThis repo is the source-of-truth, human-readable companion to the pre-built\npackages. If you just want the binaries, point `apt` at\n[deb.myguard.nl](https://deb.myguard.nl/); if you want to understand *what* is\nchanged and *why*, or rebuild it yourself, read on.\n\n## What's here\n\n| Path | Contents |\n|------|----------|\n| [`nginx/patches/`](nginx/patches/) | Core nginx patches: zlib-ng, dynamic TLS records, full HPACK, async cert callback, **certificate compression** (brotli/zstd), **JA3/JA4 fingerprinting** hooks. → [README](nginx/README.md) |\n| [`nginx/snippets/`](nginx/snippets/) | Drop-in `include` files: TLS hardening, security headers, **AI-bot/scanner blocking**, PageSpeed, and ready-made hardened vhosts for Roundcube, ViMbAdmin and Vaultwarden. → [README](nginx/snippets/README.md) |\n| [`openssl/patches/`](openssl/patches/) | `openssl-nginx` (OpenSSL 4.0.0) patches: async session-lookup yield, JA4 ClientHello accessor. → [README](openssl/README.md) |\n\n## Why\n\nUpstream nginx and OpenSSL leave a lot of practical hardening and performance\non the table because it's \"out of scope\" for them. This repo collects the\ndeltas that matter for a real, attacked-every-second public server:\n\n- **Performance:** zlib-ng compression, dynamic TLS record sizing, full HTTP/2\n  HPACK, RFC 8879 certificate compression (brotli).\n- **Security/visibility:** JA3/JA4 TLS fingerprinting, async cert/session\n  callbacks for per-SNI logic, and a battle-tested set of vhost hardening\n  snippets.\n- **Bots:** the snippets include a coarse-but-cheap gate against scanners and\n  the new wave of automated AI exploit crawlers — background reading:\n  **[Defending your webserver against vibe-coded AI exploit scanners and bots](https://deb.myguard.nl/2026/06/defend-webserver-vibe-coded-ai-exploit-scanners-bots/)**.\n\n## The stack these target\n\n- **Packages:** [deb.myguard.nl](https://deb.myguard.nl/) — hardened nginx,\n  Angie, ModSecurity, openssl-nginx, PHP, Postfix, Dovecot, rspamd.\n  - [nginx modules list](https://deb.myguard.nl/nginx-modules/) ·\n    [modules synopsis](https://deb.myguard.nl/nginx/modules-synopsis/) ·\n    [optimized/extended Angie](https://deb.myguard.nl/angie-modules-optimized-extended/)\n- **Containers:** [github.com/eilandert/dockerized](https://github.com/eilandert/dockerized)\n  → `docker.io/eilandert/{nginx,angie,roundcube,vimbadmin,…}` — same hardened\n  packages, in a container.\n- **Chat / bugs / module requests:** Discord\n  [discord.gg/UQNsFg2y](https://discord.gg/UQNsFg2y).\n\n## Using it\n\nPatches are quilt-style (`-p1`), apply in the order documented in\n[nginx/README.md](nginx/README.md) and verified zero-fuzz (`patch -F0`).\nSnippets go in `/etc/nginx/snippets/` (or `/etc/angie/snippets/`) and are\n`include`d per vhost — see [nginx/snippets/README.md](nginx/snippets/README.md).\n\n## License\n\nPatches retain their upstream authorship/licence (noted in each patch header\nand the per-directory READMEs). Original snippets and docs in this repo are\nreleased under the **MIT License** unless a file states otherwise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feilandert%2Fwebserver-hardening","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feilandert%2Fwebserver-hardening","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feilandert%2Fwebserver-hardening/lists"}