feat: build CouchOS Melee appliance
Some checks failed
ci / verify (push) Has been cancelled

This commit is contained in:
jackmhny
2026-08-03 02:52:28 +02:00
commit 04ef2a0d74
42 changed files with 3671 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
couch.mhny.dev {
root * /var/www/couchos
handle_path /api/* {
reverse_proxy 100.64.0.15:8765 {
header_up Authorization "Bearer {env.COUCHD_BEARER_TOKEN}"
}
}
handle {
file_server
}
header {
Content-Security-Policy "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self'; connect-src 'self'; base-uri 'none'; frame-ancestors 'none'"
Permissions-Policy "camera=(), geolocation=(), microphone=()"
Referrer-Policy "no-referrer"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
}
}