two handles

This commit is contained in:
Andreas Knuth 2024-05-14 15:16:14 -05:00
parent 7a004de033
commit 89fdcbb5bd
1 changed files with 9 additions and 7 deletions

View File

@ -27,16 +27,16 @@ gitea.bizmatch.net {
}
dev.bizmatch.net {
root * /srv
file_server
try_files {path} {path}/ /index.html
encode gzip
handle /pictures/* {
root * /home/aknuth/git/bizmatch-project/bizmatch-server
file_server
}
handle {
root * /srv
try_files {path} {path}/ /index.html
file_server
}
log {
output file /var/log/caddy/access.log {
@ -45,7 +45,9 @@ dev.bizmatch.net {
roll_keep_for 48h
}
}
encode gzip
tls {
dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG
}