# GoChat Production Environment Overrides # Reference: Chatwoot config/environments/production.rb server: mode: "release" cors: # PRODUCTION: Must specify exact origins or wildcard patterns. # NEVER leave empty in production — empty + non-debug = no CORS allowed. allowed_origins: - "https://app.yourdomain.com" - "https://admin.yourdomain.com" - "*.yourdomain.com" # matches any subdomain allow_credentials: true # needed for JWT cookie-based auth max_age: 86400 database: name: "gochat_production" pool_max: 20 log_level: "warn" log: level: "info" format: "json" worker: concurrency: 10 redis: channel_prefix: "gochat_production"