Repository: github.com/detoxd/detoxd | Images: images/nginx
NGINX is a high-performance HTTP server, reverse proxy, and load balancer created by Igor Sysoev in 2004. Originally designed to solve the C10K problem (handling 10,000+ concurrent connections), NGINX has become one of the most widely deployed web servers in the world.
NGINX, like any web-facing software, can be vulnerable to:
server_tokens off;) to hide version informationX-Content-Type-Options: nosniff to prevent MIME sniffingX-Frame-Options: DENY to prevent clickjackingX-XSS-Protection: 1; mode=block for XSS protection# Add to your nginx.conf
http {
# Rate limiting
limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
# SSL hardening
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256;
# Hide version
server_tokens off;
# Security headers
add_header X-Content-Type-Options "nosniff" always;
add_header X-Frame-Options "DENY" always;
add_header Content-Security-Policy "default-src 'self'" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
}
Content type
Image
Digest
sha256:962f68e85…
Size
24.9 MB
Last updated
6 months ago
docker pull detoxd/nginx:1.29.7-alpine3.23-detox.1