Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

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

Category: Security

Restrict file access—a security tweak—on an Nginx VPS—edit /etc/nginx/sites-available/default:
location /secure { deny all; }
reload:
nginx -s reload
On Hetzner secures hosting—blocks directory access

Back to All Tips