Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Security

Add secure headers—a web security—on an Apache VPS—edit /etc/httpd/conf/httpd conf:
Header set X-Content-Type-Options \"nosniff\"
restart:
systemctl restart httpd
On Hetzner test with
curl -I http://domain.com
—expect header Secures hosting—prevents MIME attacks

Back to All Tips