Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles

chore(caddyfiles): add caddyfile userspace configs

I did some import magic to keep the main Caddyfile at parent
directory clean.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>

+40
+23
.config/caddyfiles/hackclub.app.Caddyfile
··· 1 + # Caddyfile configuration for Hack Club Nest 2 + http://ajhalili2006.hackclub.app { 3 + bind unix/.webserver.sock|777 4 + handle * { 5 + redir https://andreijiroh.xyz{uri} 6 + } 7 + handle /things/* { 8 + redir https://cdn.andreijiroh.xyz/{uri} 9 + encode gzip 10 + } 11 + } 12 + 13 + # Custom domains 14 + http://hackclub.beta.lorebooks.wiki { 15 + bind unix/.hackclub.beta.lorebooks.wiki.webserver.sock|777 16 + 17 + # Add your Caddy directives here! 18 + } 19 + http://hackclub.lorebooks.wiki { 20 + bind unix/.hackclub.lorebooks.wiki.webserver.sock|777 21 + 22 + redir https://hackclub.beta.lorebooks.wiki{uri} 23 + }
+11
.config/caddyfiles/p.psf.lt.Caddyfile
··· 1 + # Caddyfile configuration for p.psf.lt 2 + http://ajhalili2006.p.projectsegfau.lt { 3 + bind unix/.webserver.sock|777 4 + handle * { 5 + redir https://andreijiroh.xyz{uri} 6 + } 7 + handle /things/* { 8 + redir https://cdn.andreijiroh.xyz/{uri} 9 + encode gzip 10 + } 11 + }
+6
Caddyfile
··· 1 + { 2 + admin unix//home/ajhalili2006/.caddy-admin.sock 3 + } 4 + 5 + import "./.config/caddyfiles/p.psf.lt.Caddyfile" 6 + import "./.config/caddyfiles/hackclub.app.Caddyfile"