From 17be2fcb106ddc9c36628e9f5dece28369affc30 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 13 Feb 2026 08:45:49 +0100 Subject: Extract gallery app from perso/vps into standalone project Extracted all gallery-related files from ~/perso/vps: - gallery.go, gallery_test.go (Go source + tests) - templates/ (index, login, gallery HTML) - static/style.css - go.mod/go.sum (renamed module to github.com/kagamino/kagapics) - Caddyfile.example (gallery-only Caddy config) - DESIGN.md (from galery.md) --- Caddyfile.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Caddyfile.example (limited to 'Caddyfile.example') diff --git a/Caddyfile.example b/Caddyfile.example new file mode 100644 index 0000000..fa7fd56 --- /dev/null +++ b/Caddyfile.example @@ -0,0 +1,12 @@ +{ + supervisor { + ./gallery serve --addr :8020 --data ./gallery-data { + dir /home/ubuntu + restart_policy always + } + } +} + +pics.kagamino.dev { + reverse_proxy localhost:8020 +} -- cgit v1.3