stillbox/config.sample.yaml
2024-08-15 13:28:03 -04:00

16 lines
429 B
YAML

db:
driver: pgx
connect: 'postgres://postgres:password@localhost:5432/example'
cors:
allowedOrigins:
- 'http://localhost:*'
- 'https://stillbox.server'
auth:
jwtsecret: 'super secret string'
# this is the JWT cookie domain
domain: example.com
# this allows the JWT cookie to be served over plain HTTP only for these Host: header values
allowInsecureFor:
"localhost": true
listen: ':3050'
public: true