feat: add HTTPS support via INTERCEPT_HTTPS config

Auto-generates a self-signed certificate into data/certs/ when
INTERCEPT_HTTPS=true, or accepts custom cert/key paths via
INTERCEPT_SSL_CERT and INTERCEPT_SSL_KEY. Resolves 400 errors
from browsers sending TLS ClientHello to the plain HTTP server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-02-23 21:26:33 +00:00
parent 367048e853
commit 365333d425
4 changed files with 65 additions and 1 deletions
+1
View File
@@ -250,6 +250,7 @@ RUN mkdir -p /app/data /app/data/weather_sat
# Expose web interface port
EXPOSE 5050
EXPOSE 5443
# Environment variables with defaults
ENV INTERCEPT_HOST=0.0.0.0 \