init program-2026
This commit is contained in:
11
app.Caddyfile
Normal file
11
app.Caddyfile
Normal file
@@ -0,0 +1,11 @@
|
||||
:80 {
|
||||
root * /srv/sites/{$SITE_DIR}
|
||||
file_server
|
||||
|
||||
header X-Robots-Tag "index, follow, max-image-preview:large"
|
||||
|
||||
@assets path /assets/*
|
||||
header @assets Cache-Control "public, max-age=31536000, immutable"
|
||||
|
||||
header /index.html Cache-Control "no-cache"
|
||||
}
|
||||
Reference in New Issue
Block a user