final touches for beta skymoney (at least i think)

This commit is contained in:
2026-01-18 00:00:44 -06:00
parent 4eae966f96
commit f4f0ae5df2
161 changed files with 26016 additions and 1966 deletions

28
Caddyfile.prod Normal file
View File

@@ -0,0 +1,28 @@
# Caddyfile.prod — production (HTTPS)
{
email admin@skymoneybudget.com
}
skymoneybudget.com {
encode zstd gzip
# Security headers
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"
}
# Serve static SPA
root * /var/www/skymoney/dist
file_server
# SPA fallback
try_files {path} /index.html
# Proxy API
handle_path /api/* {
reverse_proxy 127.0.0.1:8081
}
}
}