The Awsm Dvlprz Blog

Tales of awesomazing adventures

With flat-file CMS like Grav gaining popularity, it is useful to maintain a single source of truth on GitHub. Once the site is on GitHub, it can be easily modified by multiple contributors. Using the Webhooks functionality available in GitHub, the hosted website can be updated automatically when any modifications are pushed to GitHub.

This update is usually a simple process with a short PHP script. But when working with private GitHub repositories, because of the security requirements of GitHub and the way Apache works on Ubuntu, it requires some additional configuration for the process to function seamlessly.

Continue reading...

Letsencrypt, the free, automated, and open Certificate Authority has revolutionized the way servers of all sorts are secured to use SSL/TLS. Usually the entire process is quite smooth, but under certain circumstances requires some additional configuration. This short note explains how to configure Apache2 to use a virtual host in a user directory and redirect all http traffic to https.

Continue reading...