# Don't Be Ch.ad Netlify Configuration [build] publish = "public" command = "hugo --minify" [build.environment] HUGO_VERSION = "0.121.0" HUGO_ENV = "production" [context.production] command = "hugo --minify" [context.deploy-preview] command = "hugo --minify --buildFuture" [context.branch-deploy] command = "hugo --minify" [[headers]] for = "/*" [headers.values] X-Frame-Options = "DENY" X-XSS-Protection = "1; mode=block" X-Content-Type-Options = "nosniff" Referrer-Policy = "strict-origin-when-cross-origin" Permissions-Policy = "geolocation=(), microphone=(), camera=()" [[headers]] for = "/css/*" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/js/*" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/images/*" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/*.html" [headers.values] Cache-Control = "public, max-age=3600" [[redirects]] from = "/bitcoin-mistakes" to = "/mistakes/" status = 301 [[redirects]] from = "/bitcoin-security" to = "/guides/security-best-practices/" status = 301 [[redirects]] from = "/bitcoin-guide" to = "/guides/getting-started/" status = 301