Files
main-site/deploy/caddy/nohype.caddy
codex_a 4ea1e66cdf
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / ci (pull_request) Successful in 1m32s
CI / pr-e2e (pull_request) Successful in 1m34s
fix(preview): align frame policy and canonical host for Wagtail preview
2026-03-04 20:51:23 +00:00

27 lines
466 B
Plaintext

www.nohypeai.net {
redir https://nohypeai.net{uri} permanent
}
nohypeai.net {
encode gzip zstd
header {
X-Content-Type-Options nosniff
Referrer-Policy strict-origin-when-cross-origin
Permissions-Policy "geolocation=(), microphone=(), camera=()"
X-Forwarded-Proto https
}
handle_path /static/* {
root * /srv/sum/nohype/static
file_server
}
handle_path /media/* {
root * /srv/sum/nohype/media
file_server
}
reverse_proxy localhost:8001
}