fix URLs
This commit is contained in:
30
.env.example
30
.env.example
@@ -87,9 +87,9 @@ JWT_SECRET=your_jwt_secret_here
|
||||
# The frontend URL that is allowed to make requests to the backend
|
||||
# IMPORTANT: Must match your frontend URL exactly!
|
||||
# Development: http://localhost:5173 (Vite dev server)
|
||||
# Production: https://dashboard.yourdomain.com
|
||||
# Production: https://start.feuerwehr-rems.at
|
||||
# Multiple origins: Use comma-separated values (if supported by your setup)
|
||||
CORS_ORIGIN=http://localhost:80
|
||||
CORS_ORIGIN=https://start.feuerwehr-rems.at
|
||||
|
||||
# ============================================================================
|
||||
# FRONTEND CONFIGURATION
|
||||
@@ -103,16 +103,16 @@ FRONTEND_PORT=80
|
||||
# API URL for frontend
|
||||
# The URL where the frontend will send API requests
|
||||
# Development: http://localhost:3000
|
||||
# Production: https://api.yourdomain.com
|
||||
# Production: https://start.feuerwehr-rems.at (proxied via nginx /api/)
|
||||
# IMPORTANT: Must be accessible from the user's browser!
|
||||
VITE_API_URL=http://localhost:3000
|
||||
VITE_API_URL=https://start.feuerwehr-rems.at
|
||||
|
||||
# Authentik URL for frontend
|
||||
# The base URL of your Authentik instance (without application path)
|
||||
# Development: http://localhost:9000
|
||||
# Production: https://auth.yourdomain.com
|
||||
# Production: https://auth.firesuite.feuerwehr-rems.at
|
||||
# IMPORTANT: Used for OAuth redirect URL construction
|
||||
VITE_AUTHENTIK_URL=https://auth.yourdomain.com
|
||||
VITE_AUTHENTIK_URL=https://auth.firesuite.feuerwehr-rems.at
|
||||
|
||||
# ============================================================================
|
||||
# AUTHENTIK OAUTH CONFIGURATION
|
||||
@@ -133,18 +133,18 @@ AUTHENTIK_CLIENT_SECRET=your_client_secret_here
|
||||
|
||||
# OAuth Issuer URL
|
||||
# From Authentik: Applications → Providers → Your Provider → OpenID Configuration
|
||||
# Format: https://auth.yourdomain.com/application/o/your-app-slug/
|
||||
# Format: https://auth.firesuite.feuerwehr-rems.at/application/o/your-app-slug/
|
||||
# IMPORTANT: Must end with a trailing slash (/)
|
||||
# Development: http://localhost:9000/application/o/feuerwehr-dashboard/
|
||||
# Production: https://auth.yourdomain.com/application/o/feuerwehr-dashboard/
|
||||
AUTHENTIK_ISSUER=https://auth.yourdomain.com/application/o/feuerwehr-dashboard/
|
||||
# Production: https://auth.firesuite.feuerwehr-rems.at/application/o/feuerwehr-dashboard/
|
||||
AUTHENTIK_ISSUER=https://auth.firesuite.feuerwehr-rems.at/application/o/feuerwehr-dashboard/
|
||||
|
||||
# OAuth Redirect URI
|
||||
# The URL where Authentik will redirect after successful authentication
|
||||
# Must match EXACTLY what you configured in Authentik
|
||||
# Development: http://localhost:5173/auth/callback
|
||||
# Production: https://dashboard.yourdomain.com/auth/callback
|
||||
AUTHENTIK_REDIRECT_URI=https://dashboard.yourdomain.com/auth/callback
|
||||
# Production: https://start.feuerwehr-rems.at/auth/callback
|
||||
AUTHENTIK_REDIRECT_URI=https://start.feuerwehr-rems.at/auth/callback
|
||||
|
||||
# OAuth Scopes (optional, has defaults)
|
||||
# Default: openid profile email
|
||||
@@ -227,13 +227,13 @@ AUTHENTIK_REDIRECT_URI=https://dashboard.yourdomain.com/auth/callback
|
||||
# BACKEND_PORT=3000
|
||||
# NODE_ENV=production
|
||||
# JWT_SECRET=<generated-with-openssl-rand-base64-32>
|
||||
# CORS_ORIGIN=https://dashboard.yourdomain.com
|
||||
# CORS_ORIGIN=https://start.feuerwehr-rems.at
|
||||
# FRONTEND_PORT=80
|
||||
# VITE_API_URL=https://api.yourdomain.com
|
||||
# VITE_API_URL=https://start.feuerwehr-rems.at
|
||||
# AUTHENTIK_CLIENT_ID=<from-authentik>
|
||||
# AUTHENTIK_CLIENT_SECRET=<from-authentik>
|
||||
# AUTHENTIK_ISSUER=https://auth.yourdomain.com/application/o/feuerwehr-dashboard/
|
||||
# AUTHENTIK_REDIRECT_URI=https://dashboard.yourdomain.com/auth/callback
|
||||
# AUTHENTIK_ISSUER=https://auth.firesuite.feuerwehr-rems.at/application/o/feuerwehr-dashboard/
|
||||
# AUTHENTIK_REDIRECT_URI=https://start.feuerwehr-rems.at/auth/callback
|
||||
# LOG_LEVEL=info
|
||||
#
|
||||
# ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user