Self-host Shlink on your Nginx Classic Web Server Behind HAProxy on OPNSense

Download Markdown

Table of Contents

Shlink is an open-source, self-hostable URL shortener and link management platform. It allows users to create and manage short URLs, track click analytics, and provides API access for integration with other applications.

Some key features of Shlink include:

  • URL shortening with custom slugs
  • QR code generation for shortened URLs
  • Click analytics and geolocation tracking
  • API for programmatic access
  • Multi-domain support
  • Integration with various web servers and reverse proxies

In this tutorial, we will install Shlink as a self-hosted tool on our own infrastructure, giving us full control over our URLs. Each shortened URL is also provided with a QR code, which is super handy.