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 HSTS—a security header—on an Nginx VPS—edit /etc/nginx/sites-available/default:
add_header Strict-Transport-Security \"max-age=31536000\";
reload:
nginx -s reload
On Vultr test with
curl -I https://domain.com
—expect HSTS Secures hosting—enforces HTTPS

Back to All Tips