Initial commit

Co-Authored-By: Oz <oz-agent@warp.dev>
This commit is contained in:
Raghav
2026-04-16 09:04:22 +05:30
commit bb68b6b9f2
11 changed files with 617 additions and 0 deletions

19
caddy/Caddyfile Normal file
View File

@ -0,0 +1,19 @@
{
email {$TLS_EMAIL}
}
{$GITEA_DOMAIN} {
encode zstd gzip
reverse_proxy gitea:3000
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "strict-origin-when-cross-origin"
}
}
:80 {
redir https://{$GITEA_DOMAIN}{uri} permanent
}