FBA-DeploymentScripts/Caddyfile
2020-12-09 22:56:43 +01:00

19 lines
247 B
Caddyfile

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
}