Hide the Nginx version in response headers

Posted on Mon 04 October 2021 in devops • Tagged with devops, k8s, nginx, security

We run a couple of Kubernetes (k8s) clusters in Azure and on the back of a pentest exercise we were requested to ensure that we do not return the Nginx version in the HTTP response headers.

Due to our Infrastructure as Code (IaC) first approach we could easily ensure this …


Continue reading

Automate the deploy of my blog using Bitbucket Pipelines

Posted on Sun 12 January 2020 in ci/cd • Tagged with ci/cd, bitbucket

Bitbucket is my cloud version control platform of choice for all my private personal projects. I chose it due to being exposed to it daily at work and their free plan provides more than enough useful features for my needs.

AWS Permissions

To make this work you need to grant …


Continue reading

Hosting this blog in S3 with CloudFront and Route 53

Posted on Fri 03 January 2020 in aws • Tagged with s3, cloudfront, route53, hosting

I chose Pelican for setting up my site purely because of my bias towards Python, this post is not about that decision but on how I use AWS services to host it. So here goes:

Setting up S3

Create a S3 bucket named the same as your website url (exclude …


Continue reading

Migrate from one git repo to another

Posted on Sat 14 December 2019 in git • Tagged with git

It does happen from time to time that you need to migrate an existing git repo to a new remote repo. Doing some googling I found the following steps to work best for me.

First make sure you have a local copy of all the old repo branches and tags …


Continue reading