Skip to content

Linux

Hosting local https with trusted cert from Cloudflare with NPM

This is really just a helluva lot easier than what you need to do with Caddy.

Configure Cloudlfare DNS

Go to your DNS records in cloudflare and create an A record with a wild card to take care of all apps. Something like *.local. Determine the local IP address of your server. You can use ifconfig, or look at your router settings to find what the local IP is for that particular device. For Proxy status just do DNS only.

Sudo Two-Factor Authentication

Two factor authentication for Sudo access gives you an awesome security enhancement so that a hacker still will not be able to use sudo, i.e. admin privileges, even if they have discovered your password.