📝 My Blog

Welcome to my blog subdomain! This demonstrates static file serving with subdomain routing.

Getting Started with Home Proxy

Today I set up a home proxy server that can handle both reverse proxy routing and static file serving. The system is designed to prioritize configuration-based routes while falling back to static file serving for subdomains.

Subdomain Routing Magic

The proxy automatically maps subdomains to folders in the public directory. For example, blog.peter87.dk serves files from public/blog/, while stories.peter87.dk serves from public/stories/.

Configuration Priority

Config routes always take priority over static file serving. This means if you have a specific route configured in config.json, it will be used instead of looking for static files.