fix(infra): trust reverse proxy headers for correct HTTPS redirect URLs
CapRover terminates SSL before forwarding to the container, so Laravel
needs to trust the X-Forwarded-* headers to generate https:// URLs in
redirects. Without this, all redirects pointed to http:// which then
triggered another redirect loop through CapRover's force-SSL setting.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment