This commit is contained in:
Mateusz Gruszczyński
2026-03-13 11:03:13 +01:00
commit 35571df778
132 changed files with 11197 additions and 0 deletions

31
deploy/caddy/Caddyfile Normal file
View File

@@ -0,0 +1,31 @@
{
auto_https off
admin off
https_port {$EXPOSE_PORT:8785}
servers :{$EXPOSE_PORT:8785} {
protocols h1 h2 h3
}
}
https://{$APP_DOMAIN:localhost}:{$EXPOSE_PORT:8785} {
tls /certs/server.crt /certs/server.key
encode gzip zstd
request_body {
max_size 25MB
}
header {
-Server
-Via
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "strict-origin-when-cross-origin"
Permissions-Policy "geolocation=(), microphone=(), camera=()"
Strict-Transport-Security "max-age=31536000"
}
reverse_proxy web:5000
}