update
CI / Lint, types, build, tests (push) Canceled after 0s
CI / Docker images build (push) Canceled after 0s

This commit is contained in:
olehhapuk
2026-12-03 10:53:09 +02:00
parent f8de87955b
commit 98b2e0ce4b
182 changed files with 24134 additions and 288 deletions
+39
View File
@@ -0,0 +1,39 @@
# The one door from the internet: gets and renews the TLS certificates, and
# hands each name to its service. DOMAIN comes from .env beside
# docker-compose.yml; all three names must point at this server.
(common) {
encode zstd gzip
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
-Server
}
}
# The web app.
{$DOMAIN} {
import common
header {
X-Content-Type-Options nosniff
X-Frame-Options DENY
Referrer-Policy strict-origin-when-cross-origin
# Calls ask for these; nothing embedded in the page may.
Permissions-Policy "camera=(self), microphone=(self), display-capture=(self), geolocation=()"
}
# Built files carry a hash of their content in their name.
@built path /assets/*
header @built Cache-Control "public, max-age=31536000, immutable"
reverse_proxy web:3000
}
# The API and its socket. It sets its own security headers.
api.{$DOMAIN} {
import common
reverse_proxy api:3000
}
# Signalling for calls. The media itself doesn't pass through here: browsers
# send it straight to LiveKit, on the ports docker-compose.yml opens.
livekit.{$DOMAIN} {
import common
reverse_proxy livekit:7880
}