From 3651d541eff3a3dc59edfc05fa0c194273b682fe Mon Sep 17 00:00:00 2001 From: Kenio Date: Thu, 3 Jul 2025 13:53:11 -0300 Subject: [PATCH] fix: Corrige loop de redirecionamento no .htaccess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Adiciona condição X-Forwarded-Proto para evitar redirecionamento infinito em ambientes com proxy SSL. --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index 58bfa2d..4ebe958 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,6 @@ RewriteEngine on RewriteCond %{HTTPS} off +RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] DirectoryIndex index.php