First Commit

This commit is contained in:
Fabian Stamm
2020-12-09 22:56:43 +01:00
commit e5c3c5862e
5 changed files with 90 additions and 0 deletions

19
Caddyfile Normal file
View File

@ -0,0 +1,19 @@
http://* {
root * /var/lib/caddy/
@notmedia {
not path /media/*
}
@media {
path /media/*
}
header @media {
Cache-Control "public, max-age=604800, immutable"
Access-Control-Allow-Origin *
}
file_server
}