Release v1.7.41: fix Traefik startup and clean JSON API responses.

PHP 8.2 deprecations no longer corrupt health_check JSON; .htaccess
respects X-Forwarded-Proto behind reverse proxies.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dadaloop82
2026-06-08 12:32:10 +00:00
parent ec1aae2a25
commit 5831e3bcea
7 changed files with 19 additions and 5 deletions
+2 -1
View File
@@ -14,8 +14,9 @@ RewriteEngine On
Require all denied
</FilesMatch>
# Force HTTPS
# Force HTTPS (skip when terminated TLS is forwarded — Traefik, Caddy, NPM, …)
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !^https$ [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# API routing