feat(lab11): hardened nginx reverse proxy + ModSecurity WAF#1420
Open
wannebetheshy wants to merge 6 commits into
Open
feat(lab11): hardened nginx reverse proxy + ModSecurity WAF#1420wannebetheshy wants to merge 6 commits into
wannebetheshy wants to merge 6 commits into
Conversation
wannebetheshy
commented
Jul 4, 2026
- Task 1 β TLS 1.3 + 6 security headers (with proof)
- Task 2 β Rate limit + timeouts + cipher hardening + 7-step cert-rotation runbook
- Bonus β ModSecurity v3 (OWASP CRS 4.28.0) WAF blocks SQL injection that Nginx-alone passes
feat(lab3): SSH signing + gitleaks pre-commit + history rewrite practice
- TLS 1.3 only (ssl_protocols TLSv1.3), X25519:secp384r1, session tickets off - 6 required security headers + COOP/CORP extras, all with `always` - HSTS max-age=63072000 (2-year preload), HTTP 308 β HTTPS redirect - Rate limit 10r/m burst=5 on /rest/user/login; limit_conn 50/IP - Fail-closed timeouts: client 10s, proxy read 30s, connect 5s - Bonus: owasp/modsecurity-crs:nginx-alpine WAF (CRS 4.28.0, 851 rules) blocks SQL injection ' OR 1=1-- with 403; rule 949110 fired
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.