Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

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

Category: Security

Force HTTPS—a secure protocol—on an Nginx VPS—edit /etc/nginx/sites-available/default:
return 301 https://$host$request_uri;
reload:
nginx -s reload
On Linode test with
curl -I http://ip
—expect 301 Secures hosting traffic

Back to All Tips