I recently became frustrated with my Samsung TV showing adverts and flicking between multiple apps. Having recently set up a UK VPN on my router, I was also looking for a way to watch iPlayer on my TV rather than through the computer. Install the iPlayer app onto Android TV/NVidia Shield This is relatively easy […]
I see a lot of attempts to brute force the login page of my self-hosted WordPress. While I have a strong password, I was looking for ways to limit the admin console’s exposure to the internet and minimize the risk of brute force attacks. I am also using Cloudflare to provide filtering to my site […]
A quick blog post to document how I changed the Next Post/Previous Post (sometimes known as Newer/Older) to link to posts within the same category. It took a few googles to get the right information, so posting here for ease of reference. By default, WordPress will link to the next post, regardless of category. With […]
For the past few days, I’ve been converting a site from Django to WordPress. For various reasons, I needed to use Nginx which means avoiding the standard WordPress Docker image which comes with Apache. Services Required I was hosting a few different services and had a single docker-compose.yml file for the services. Nginx It was […]
I’ve been working with Microsoft Azure recently and looking for ways to implement some basic security hygiene and automate controls. Most ransomware cases today are caused by some common threat vectors; phishing, vulnerable web apps and brute force attempts against RDP/SSH on ports 3389 and 22. We can use Azure policy to enforce rules on […]
Gunicorn chown -R www-data:www-data /var/lib/nginx See https://github.com/dockerfile/nginx/issues/4
I have been using AWS CodeDeploy to deploy code from a private GitHub repository to a EC2 server. As part of the deployment, I wanted to check that the deployment was sucessful, by validating there was a HTTP 200 OK response from the server. As part of the deployment, the web server and application server are both […]