mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-20 20:22:07 +00:00
I did some import magic to keep the main Caddyfile at parent directory clean. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
23 lines
No EOL
537 B
Caddyfile
23 lines
No EOL
537 B
Caddyfile
# Caddyfile configuration for Hack Club Nest
|
|
http://ajhalili2006.hackclub.app {
|
|
bind unix/.webserver.sock|777
|
|
handle * {
|
|
redir https://andreijiroh.xyz{uri}
|
|
}
|
|
handle /things/* {
|
|
redir https://cdn.andreijiroh.xyz/{uri}
|
|
encode gzip
|
|
}
|
|
}
|
|
|
|
# Custom domains
|
|
http://hackclub.beta.lorebooks.wiki {
|
|
bind unix/.hackclub.beta.lorebooks.wiki.webserver.sock|777
|
|
|
|
# Add your Caddy directives here!
|
|
}
|
|
http://hackclub.lorebooks.wiki {
|
|
bind unix/.hackclub.lorebooks.wiki.webserver.sock|777
|
|
|
|
redir https://hackclub.beta.lorebooks.wiki{uri}
|
|
} |