https 강제리다이렉팅 제거 htaccess

This commit is contained in:
root
2026-07-23 18:00:44 +09:00
parent 25a7675606
commit 914fe039f9
-6
View File
@@ -7,12 +7,6 @@ RewriteCond %{HTTP_HOST} ^(localhost|127\.0\.0\.1)(:[0-9]+)?$ [NC]
RewriteCond %{REQUEST_URI} ^/?$
RewriteRule ^$ /egbim/index.php [R=302,L]
# http -> https
RewriteCond %{ENV:APP_ENV} !=local
RewriteCond %{HTTP_HOST} !^(localhost|127\.0\.0\.1)(:[0-9]+)?$ [NC]
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# eg-bim.co.kr -> eg-bim.com
RewriteCond %{ENV:APP_ENV} !=local
RewriteCond %{HTTP_HOST} ^(www\.)?eg-bim\.co\.kr$ [NC]