Single-binary self-hosted market watcher for stocks, ETFs, indexes, and futures: live charts, key stats, fundamentals, SEC filings, and SSE streaming.
axumdockerfinancerustself-hostedsqlitestocksvite
1# Caddyfile for finance
2#
3# I like to use Caddy Server for simple reverse proxies since it has built in
4# automatic HTTPS support.
5{
6 servers {
7 protocol {
8 experimental_http3
9 }
10 }
11}
12
13(common) {
14 header /static/* {
15 Cache-Control "public, max-age=315360000"
16 }
17
18 header /* {
19 Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
20 X-XSS-Protection "1; mode=block"
21 X-Frame-Options DENY
22 X-Content-Type-Options nosniff
23 -Server
24 -X-Powered-By
25 }
26
27 encode zstd gzip
28}
29
30finance.example.com {
31 reverse_proxy localhost:8000
32
33 import common
34}