Error too many redirects after Deleting app/cache Directory

Error too many redirects after Deleting app/cache Directory



I have changed my mautic to SSL from Configuration by changing URL to https, and Changed Set-Cookie to Force SSL



Please Help

Error too many redirects after Deleting app/cache Directory

I have changed my mautic to SSL from Configuration by changing URL to https, and Changed Set-Cookie to Force SSL

Please Help

I am still getting too many redirect after setting this but when i did curl request on my mautic domain it shows this

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="1;url=https://m.mydomain.com/" />

        <title>Redirecting to https://m.mydomain.com/</title>
    </head>
    <body>
        Redirecting to <a href="https://m.mydomain.com/">https://m.mydomain.com/</a>.
    </body>
</html>

@escopecz Please help

Again CURL request i am redirected to

[code]curl https://m.domain.com/s/login

    <title>Redirecting to https://m.domain.com/s/login</title>
</head>
<body>
    Redirecting to <a href="https://m.domain.com/s/login">https://m.domain.com/s/login</a>.
</body>
[/code]

@escopecz I am using VestaCP cPanel

I’m facing the exact same problem. Everything was running smooth. I deleted the cache folder and it ruined the app. It won’t open and keeps redirecting in a constant loop.

If I test a curl get, I see the same data as yours.

Still looking for a solution.

1 Like

My solution : ensure to pass fastcgi_params HTTPS, see Installing Mautic in Ubuntu VM - About Lovia

    if ($http_x_forwarded_proto = 'https') {
      set $my_https 'on';
    }
    fastcgi_param HTTPS $my_https; # set $_SERVER['HTTPS']
1 Like

This is more of an apache / nginx / ssl problem than a Mautic problem. Are you using cloudflare?