update for https traffic and setup

This commit is contained in:
2025-08-10 13:25:48 +01:00
parent f400736df2
commit 4105262f22
3 changed files with 264 additions and 7 deletions

View File

@@ -10,8 +10,13 @@ MONGODB_DATABASE=scoffer
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Frontend API URL for server deployment
# IMPORTANT: This should point to your EXTERNAL domain with HTTPS
# The reverse proxy handles SSL termination and forwards HTTP to containers
# Replace 'your-domain.com' with your actual domain
REACT_APP_API_URL=https://your-domain.com/api
# Alternative: If backend runs on different port/subdomain
# REACT_APP_API_URL=https://api.your-domain.com
# For local testing with containers (no SSL)
# REACT_APP_API_URL=http://localhost:5000/api