{"batchcomplete":"","continue":{"lecontinue":"20260330020344|2277","continue":"-||"},"query":{"logevents":[{"logid":2287,"ns":0,"title":"TeslaMate Custom","pageid":601,"logpage":601,"revid":2724,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-05-31T10:13:05Z","comment":"Created page with \"This is built on top of the [[TeslaMate]] install instructions.  I have modified the Drives data to include categories Personal, Work, and Other.  = Build = Build the docker image. <pre> cd /opt/teslamate</pre> First time pull. <pre>git pull https://git.klaverstyn.com.au/david/teslamate.git</pre> Rebuilding as repo already know. <pre>git pull</pre> <pre>docker build --network=host -t teslamate:local .</pre>  Only required if there has been changes to Grafana dashboards....\""},{"logid":2286,"ns":0,"title":"iRedAdmin Custom","pageid":0,"logpage":597,"revid":2714,"params":{"target_ns":0,"target_title":"MX Admin","suppressredirect":""},"type":"move","action":"move","user":"David","timestamp":"2026-05-04T03:13:52Z","comment":""},{"logid":2285,"ns":0,"title":"forgejo git","pageid":600,"logpage":600,"revid":2706,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-05-02T01:35:49Z","comment":"Created page with \"= docker = <pre>   mygit:     image: codeberg.org/forgejo/forgejo:14     container_name: forgejo     restart: always     environment:       - USER_UID=1000       - USER_GID=1000     networks:       - forgejo     volumes:       - ./git/data:/data       - /etc/localtime:/etc/localtime:ro     ports:       - \"3003:3000\"       - \"2222:22\" </pre>  = nginx = <pre> server {     listen 192.168.1.1:80;     listen [fe80::4c9a:23d2:1f45:6a12]:80;      server_name git.klaverstyn.com....\""},{"logid":2284,"ns":0,"title":"2fauth","pageid":599,"logpage":599,"revid":2704,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-05-02T01:27:40Z","comment":"Created page with \"= docker = <pre>   2fauth:     image: 2fauth/2fauth     container_name: 2fauth     restart: unless-stopped     user: 1000:1000     volumes:       - ./2fauth:/2fauth     ports:       - 8001:8000/tcp     environment:       - APP_NAME=2FAuth       - APP_ENV=production       - APP_TIMEZONE=Australia/Brisbane       - APP_DEBUG=false       - SITE_OWNER=david@klaverstyn.com.au       - APP_KEY=createyourappkey       - APP_URL=https://2fa.klaverstyn.com.au       - ASSET_URL=https...\""},{"logid":2283,"ns":0,"title":"corentinth it-tools","pageid":598,"logpage":598,"revid":2703,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-05-02T01:04:42Z","comment":"Created page with \"= docker = <pre>   corentinth:     image: ghcr.io/corentinth/it-tools:latest     container_name: it-tools     hostname: it-tools     restart: unless-stopped     ports:       - 8090:80 </pre>  = nginx = <pre>vi /etc/nginx/sites-available/pwpush</pre>  <pre> server {     listen 192.168.1.1:80;     listen [fe80::4c9a:23d2:1f45:6a12]:80;      server_name pwpush.klaverstyn.com.au;      return 301 https://pwpush.klaverstyn.com.au;      access_log /var/log/nginx/access_pwpush.l...\""},{"logid":2282,"ns":0,"title":"iRedAdmin Custom","pageid":0,"logpage":597,"revid":2693,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-04-28T03:43:40Z","comment":"Created page with \"To install my iRedMail Custom Administration Pages <pre>vi /etc/nginx/sites-available/00-default-ssl.conf</pre> Add the following line before any other includes. <pre>    include /etc/nginx/templates/iredadmin-custom.tmpl;</pre>  <pre>vi /etc/nginx/templates/iredadmin-custom.tmpl</pre> <pre> location ^~ /iredadmin/custom/ {     alias /var/www/iredadmin-custom/;     index index.php;      # Ensure we handle the PHP files correctly within this specific alias     location ~...\""},{"logid":2281,"ns":0,"title":"iRedMail Migration","pageid":596,"logpage":596,"revid":2690,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-04-17T10:28:19Z","comment":"Created page with \"To migrate a iRedMail server from one host to another, these are the steps that I completed.  Install iRedMail onto a fresh server as you would normally complete an install.   = vmail1 dkim backup = On Source. Copy the files from source to destination. <pre> rsync -azvh /var/vmail/vmail1/ root@192.168.1.25:/var/vmail/vmail1/ rsync -azvh /var/lib/dkim/ root@192.168.1.25:/var/lib/dkim/ rsync -azvh /var/vmail/backup/ root@192.168.1.25:/var/vmail/backup/ </pre>  = Export SQL...\""},{"logid":2280,"ns":0,"title":"GeoIP","pageid":595,"logpage":595,"revid":2686,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-04-08T00:21:17Z","comment":"Created page with \"This configuration is to on enable GeoIP and only allow certain countries to access a specific web site.  = Install Debian Applications = <pre>apt install libnginx-mod-http-geoip2 libmaxminddb0 libmaxminddb-dev mmdb-bin</pre>  = Configure nginx = <pre>vi /etc/nginx/nginx.conf</pre> <pre>         # Load the GeoIP2 database         geoip2 /var/lib/GeoIP/GeoLite2-Country.mmdb {             auto_reload 5m;             $geoip2_data_country_code country iso_code;        }...\""},{"logid":2279,"ns":0,"title":"n8n","pageid":594,"logpage":594,"revid":2684,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-04-07T08:18:35Z","comment":"Created page with \"<pre>   n8n:     image: n8nio/n8n:latest     container_name: n8n     restart: unless-stopped     user: \"1000:1000\"     ports:       - 5678:5678     environment:       - GENERIC_TIMEZONE=Australia/Brisbane       - N8N_BASIC_AUTH_ACTIVE=true       - N8N_BASIC_AUTH_USER=n8nuser       - N8N_BASIC_AUTH_PASSWORD=your_strong_password       - NODE_ENV=production       - N8N_SECURE_COOKIE=true       - N8N_EDITOR_BASE_URL=https://n8n.klaverstyn.com.au/       - WEBHOOK_URL=https://...\""},{"logid":2278,"ns":0,"title":"NGINX SNMP","pageid":593,"logpage":593,"revid":2683,"params":{},"type":"create","action":"create","user":"David","timestamp":"2026-04-05T01:46:35Z","comment":"Created page with \"To retrieve NGINX counters from SNMP. <pre>apt install python3-pip python3-dateutil</pre>  <pre> wget https://github.com/librenms/librenms-agent/raw/master/snmp/docker-stats.py -O /etc/snmp/docker-stats.py chmod +x /etc/snmp/docker-stats.py </pre>  <pre>usermod -a -G docker Debian-snmp</pre>  <pre>vi /etc/snmp/snmpd.conf</pre> <pre>extend nginx /etc/snmp/nginx</pre>  [[Category : Debian]] [[Category : NGINX]]\""}]}}