Web servers software
Category · 107 posts
All posts
Set Up HTTP Basic Authentication with Nginx on AlmaLinux 9 / Rocky Linux 9
Password-protect an nginx site or a single directory on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 with htpasswd, auth_basic and a few useful variations.
ModSecurity and the OWASP Core Rule Set for Apache on AlmaLinux 9 and Rocky Linux 9
Install mod_security for Apache on the RHEL 9 family, load the OWASP Core Rule Set 4, run it in detection mode, then block and tune per site.
How to Redirect HTTP to HTTPS on Apache 2.4 (Ubuntu, Debian, RHEL 9 Family)
Send all HTTP traffic to HTTPS on Apache 2.4 using a virtual host Redirect or a .htaccess rule, check it with curl, and decide whether to add HSTS.
Install a Let's Encrypt SSL Certificate for Apache on AlmaLinux 9 / Rocky Linux 9
Get a free Let's Encrypt certificate for Apache on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 with Certbot, open firewalld, and confirm automatic renewal.
How to Set Up Varnish Cache in Front of Apache on AlmaLinux 9 / Rocky Linux 9
Put Varnish Cache on port 80 in front of Apache on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 using the packaged Varnish 6.6, a systemd override and a quick cache test.