Files

21 lines
534 B
Caddyfile

__SITE_ADDRESS__ {
root * /var/www/innersquare
encode zstd gzip
try_files {path}.html {path}
file_server
header {
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
Permissions-Policy "geolocation=(), microphone=(), camera=()"
X-Robots-Tag "noindex, nofollow"
}
@immutable path /fonts/* /favicon.ico
header @immutable Cache-Control "public, max-age=31536000, immutable"
@html path / /index.html /privacy /terms-conditions
header @html Cache-Control "no-cache"
}