0 Members and 2 Guests are viewing this topic.
What u use? Apache ningx varnish or? I had loop problem i solve it setting default WebServer in nginx insted php-fpm. Also rebuild apache, and php to latest version. And remove all configs ( if u have) in domain conf.
SetEnvIf X-Forwarded-Proto "https" HTTPS=on<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{HTTPS} !=onRewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]</IFModule>
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) { $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];}