Applications shouldn't handle SSL, WAF, rate limiting or load balancing directly. These are infrastructure responsibilities.
Architecture components
- HAProxy + keepalived HA
- Nginx reverse proxy
- Varnish HTTP cache
- Traefik for containers
- ModSecurity WAF
- Let's Encrypt
What we deliver
HA reverse proxy cluster, auto-renewable SSL, WAF, monitoring dashboards.
Example: Nginx reverse proxy
A minimal, ready-to-use block for an app behind Nginx with TLS:
# /etc/nginx/conf.d/app.conf — reverse proxy + TLS
server {
listen 443 ssl;
server_name app.example.com;
ssl_certificate /etc/letsencrypt/live/app.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/app.example.com/privkey.pem;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
}
}