mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-07-03 09:26:00 +00:00
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>
This commit is contained in:
parent
0658bee1be
commit
5123aa45ba
3 changed files with 40 additions and 0 deletions
11
.config/caddyfiles/p.psf.lt.Caddyfile
Normal file
11
.config/caddyfiles/p.psf.lt.Caddyfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Caddyfile configuration for p.psf.lt
|
||||
http://ajhalili2006.p.projectsegfau.lt {
|
||||
bind unix/.webserver.sock|777
|
||||
handle * {
|
||||
redir https://andreijiroh.xyz{uri}
|
||||
}
|
||||
handle /things/* {
|
||||
redir https://cdn.andreijiroh.xyz/{uri}
|
||||
encode gzip
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue