NGINX Headers For Docker

In case you run docker behind nginx some of your container might need specific headers otherwise a browser trying to access them might want to connect to a local or private address, something like https://127.0.0.1:8080. […]

How To Extend HDD

How to extend ZFS on FreeBSD How to extend ext4 on Ubuntu using LVM (Linux Volume Group)

LibreNMS & docker-compose

librenms

If you don’t know LibreNMS, it is a great monitoring tool with auto discovery, auto operating system detection, custom alert settings, extended application support and more. For details check out: https://www.librenms.org, https://github.com/librenms I was recently […]

Fun With /etc/cron.*

If you are reading this you probably know what /etc/cron.hourly/ , /etc/cron.daily/ and so on does. What you might not know is that on CentOS, RHEL, Fedora you can name a script living in these […]

MikroTik OpenDNS with DoH

mikrotik

OpenDNS is my preferred DNS service. This is how you can configure a MikroTik router for OpenDNS using DoH or DNS over HTTPS. Athe actual URL of the server, then, because you have no other […]

Block Adds With MikroTik

mikrotik

Ionut Micu created a cool MikroTik script to block adds by assigning 127.0.0.1 to their hostname, similar to Pihole. This is basically the same I just included a few allow list that I usually use, […]

Capture IP From PING

terminal

This is just a simple sed to capture IP address from ping. Note host must allow ICMP. This was tested on sh, bash and zsh. An example:

newsyslog: don’t rotate empty log files

My idea about not to rotate empty log files on FreeBSD has made it to newsyslog, yay 😀 ! Big thanks for Dan Langille who made this happen!