Too many redirects error with Unit

Valentin V. Bartenev vbart at nginx.com
Thu Jun 21 18:49:21 UTC 2018


On Thursday 21 June 2018 19:31:30 Danny Horne via unit wrote:
> Hi,
> 
> Previously I've been running Nginx + php-fpm on a Fedora 28 box, this
> has run fine.  For various reasons I want to migrate to Nginx + Unit,
> and because I haven't been able to install this on Fedora 28 (have no
> intention of compiling, install has to be through repos) I've set up a
> CentOS 7.5 box to migrate to.
> 
> Static http / php pages work fine, but my sites redirect from http to
> https (config below) and I'm now getting 'too many redirects' errors.
> 
> Any clues as to what I need to do to fix this?
> 
[..]

It looks like that your php application try to redirect to https again
and again.  Usually such behaviour is configurable in widely used php
applications and frameworks.

What do you use?  Is it some kind of cms?

  wbr, Valentin V. Bartenev



More information about the unit mailing list