<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webserver on Holmq.dk</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/categories/webserver/</link><description>Recent content in Webserver on Holmq.dk</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 08 Apr 2026 13:59:59 +0200</lastBuildDate><atom:link href="https://e41943f8.hugo-holmq-dk.pages.dev/categories/webserver/index.xml" rel="self" type="application/rss+xml"/><item><title>Caddy + GeoIP + Fail2Ban (Pushover) — Setup Notes</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2026-01-27-caddy-geoip-fail2ban/</link><pubDate>Tue, 27 Jan 2026 13:50:37 +0100</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2026-01-27-caddy-geoip-fail2ban/</guid><description>&lt;p>This document describes:&lt;/p>
&lt;ul>
&lt;li>Building a &lt;strong>custom Caddy container image&lt;/strong> with the &lt;strong>GeoIP plugin&lt;/strong> (so Caddy can enrich access logs with country code/name). - Configuring &lt;strong>Caddy JSON access logs&lt;/strong> to include GeoIP fields. - Setting up &lt;strong>Fail2Ban&lt;/strong> to parse Caddy logs and send &lt;strong>Pushover notifications&lt;/strong> with GeoIP info via &lt;code>mmdblookup&lt;/code>. - Optional “SOC dashboard” style fields (severity, jail type, ban time, until).&lt;/li>
&lt;/ul></description></item><item><title>Tips and trick using curl</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2023-08-18-curl-tricks/</link><pubDate>Fri, 18 Aug 2023 13:01:44 +0200</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2023-08-18-curl-tricks/</guid><description>&lt;h4 id="download-files">Download files&lt;/h4>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>curl -O https://test.example.com/madplan.json
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>curl -O -L http://test.example.com/madplan.json &lt;span style="color:#75715e"># Follows links. In this example the http request will be redirected to https&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>curl -o test.json https://test.example.com/test.json &lt;span style="color:#75715e"># Saves the file as test.json&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h4 id="send-host-header">Send host header&lt;/h4>
&lt;p>Usefull when the server is hosting multiple domains&lt;/p></description></item><item><title>Nginx Active-Passive Cluster</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2023-02-21-active-passive-nginx-cluster/</link><pubDate>Tue, 21 Feb 2023 15:07:10 +0100</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2023-02-21-active-passive-nginx-cluster/</guid><description>How I built my own nginx cluster</description></item><item><title>Nginx Syntax Highlight in Vim</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2021-09-22-vim-syntax-highlight-nginx/</link><pubDate>Wed, 22 Sep 2021 15:12:16 +0200</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2021-09-22-vim-syntax-highlight-nginx/</guid><description>Make your vim colourful when editing nginx configuration files</description></item><item><title>Let's Encrypt certificates + Nginx + Cloudflare</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2021-08-20-lets-encrypt-nginx/</link><pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2021-08-20-lets-encrypt-nginx/</guid><description>&lt;p>This is how I have setup automatic certificate renewal on my linux Webserver. I&amp;rsquo;m using Cloudflare as a DNS provider and are using their API Tokens to verify ownership of my domain, when requesting a certificate from Let&amp;rsquo;s Encrypt&lt;/p></description></item><item><title>Nginx - Redirect to https</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2019-11-18-nginx-redirect-to-https/</link><pubDate>Mon, 18 Nov 2019 00:00:00 +0000</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2019-11-18-nginx-redirect-to-https/</guid><description>&lt;p>Insert this code into your Nginx server {} block&lt;/p></description></item><item><title>Hotlink Protection with Nginx</title><link>https://e41943f8.hugo-holmq-dk.pages.dev/post/2019-11-15-nginx-hotlink-protection/</link><pubDate>Fri, 15 Nov 2019 00:00:00 +0000</pubDate><guid>https://e41943f8.hugo-holmq-dk.pages.dev/post/2019-11-15-nginx-hotlink-protection/</guid><description>&lt;p>Insert this code into your Nginx server {} block&lt;/p></description></item></channel></rss>