feat: add reverse proxy support with HTTPS configuration

This commit is contained in:
Christian Krakau-Louis
2025-06-09 15:01:24 +02:00
parent bc4055ded5
commit d71dda4828
7 changed files with 37 additions and 17 deletions
+6
View File
@@ -27,6 +27,12 @@ LASTFM_API_KEY=your-lastfm-api-key
SQLALCHEMY_DATABASE_URI=sqlite:///data/song_data.db
SQLALCHEMY_TRACK_MODIFICATIONS=False
# HTTPS Configuration (for reverse proxy environments)
# Set to True when running behind a reverse proxy with HTTPS offloading (e.g., Traefik)
USE_HTTPS=False
# Uncomment and set to 'https' for production environments behind HTTPS proxy
# PREFERRED_URL_SCHEME=https
# Spotify API configuration
SPOTIFY_CLIENT_ID=your-spotify-client-id
SPOTIFY_CLIENT_SECRET=your-spotify-client-secret