Harden request origin checks and configure allowed hosts
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Public website URL (HTTPS for hosted contributor pairing)
|
||||
MINEGEO_URL=http://localhost:3000
|
||||
# Bind to 0.0.0.0 when intentionally accessing a development server over the LAN.
|
||||
MINEGEO_HOST=127.0.0.1
|
||||
# Optional comma-separated exact public origins for a reverse proxy or aliases.
|
||||
MINEGEO_ALLOWED_ORIGINS=
|
||||
# Testing only: true bypasses browser origin checks (including CSRF origin protection).
|
||||
MINEGEO_ALLOW_ANY_ORIGIN=false
|
||||
NEXT_PUBLIC_SUPABASE_URL=
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
|
||||
# Server only. Never prefix this key with NEXT_PUBLIC_.
|
||||
|
||||
Reference in New Issue
Block a user