fix: apply local patches for self-hosted dev environment
Some checks failed
deploy api / channel-vars (push) Successful in 14s
deploy app / channel-vars (push) Successful in 4s
test cassandra-backup / Test latest Cassandra backup (push) Has been cancelled
deploy api / Deploy api (push) Has been cancelled
deploy app / Deploy app (push) Has been cancelled

- Caddyfile: add security headers, X-Forwarded-For, serve app from static files
- compose: add FLUXER_API_PUBLIC_ENDPOINT for admin service
- rate limits: relax auth register/login for dev (50/60s)
- rspack: read CDN_ENDPOINT from env instead of hardcoded fluxerstatic.com
- gitignore: add dev/secret.txt
- add dev/livekit.yaml for local LiveKit config
This commit is contained in:
root
2026-03-13 09:57:30 +01:00
parent 09fe201063
commit a714af3cd8
5 changed files with 46 additions and 12 deletions

View File

@@ -22,12 +22,12 @@ import type {RouteRateLimitConfig} from '~/middleware/RateLimitMiddleware';
export const AuthRateLimitConfigs = {
AUTH_REGISTER: {
bucket: 'auth:register',
config: {limit: 10, windowMs: 10000},
config: {limit: 50, windowMs: 60000},
} as RouteRateLimitConfig,
AUTH_LOGIN: {
bucket: 'auth:login',
config: {limit: 10, windowMs: 10000},
config: {limit: 50, windowMs: 60000},
} as RouteRateLimitConfig,
AUTH_LOGIN_MFA: {