Deploy Nginx Vhosts With Salt

one vhost is never enough

Prerequisites: Have a nginx reverse proxy (which is managed by salt) Have at least 2 websites / apps you want to reverse proxy serve Introduction Oke, this blogging is kinda cool. So here’s one more just before the weekend. In my personal evironment I have some VM’s, hypervisor, NAS en k8s deployments which i want to be reachable. I used to do this manually in apache with 301 redirects. But that was in an age when Ben Hur was still alive and kicking. [Read More]

Howto configure loadbalancing with upstream in nginx

May your k3s/k8s nodes never fail, but if they will, never fear upstream is here

Prerequisites: Have a nginx vm, container or pod / deployment Have at least 2 servers for backend purposes Introduction As I like to toy around with salt I decided to leave my nginx vm intact rather than migrate it to a k8s deployment. However when I added an extra node to my k3s cluster, it made me realize I should have som form of loadbalancing in the event that one of the nodes goes down. [Read More]