projects/web/.env.example

# Website server only. Never use a VITE_ prefix for private configuration
# The Convex deployment owns the website origin and the Fluxer OAuth application
# ID, so the web server reads both from it and keeps only these values
CONVEX_URL=
# The secret of the Fluxer OAuth application the deployment's FLUXER_CLIENT_ID names
FLUXER_CLIENT_SECRET=
# Generate at least 32 random bytes. Used to authenticate the short-lived OAuth handshake
# and to encrypt the cookie that keeps the Fluxer refresh token. Changing it stops token
# renewal, so each sign-in then ends when its Fluxer access token runs out
WEB_SESSION_SECRET=
# Public widget site key. The secret is validated in the Convex backend
TURNSTILE_SITE_KEY=
# Optional behind a reverse proxy or Cloudflare: set to "cloudflare" or "forwarded" so rate limiting and HSTS trust proxy headers
# TRUST_PROXY=
# Optional fallback origin (for example https://dashboard.example.com) so HSTS applies on the very first SSR response before Convex is queried
# NEONFLUX_WEBSITE_URL=