DaFresh

About

Username
DaFresh
Joined
Visits
5
Last Active
Roles
Member
Points
1
Surname
Muir
Preferred Name
Ian
  • Problem with Installation

    Sandra

    By the grace of God i've found the problem and thus the solution.

    In my nginx server block under location ~\.php$, was the line "include snippets/fastcgi-php.conf" and it was this file that was causing nginx to not properly redirect as intended.

    More specifically, two lines in that file caused the problem:
    ...
    set $path_info $fastcgi_path_info;
    fastcgi_param PATH_INFO $path_info;
    ...

    By commenting out those two lines, then the page loaded without issue.

    Because that snippet has always been there and all other sites work okay, I didn't want to comment out those lines in that file and possibly break another site, so I just took all the other entries from the fastcgi-conf file and placed them in the location block and left the file as is. So the location block now looks like this:

    location ~ \.php$ {
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    try_files $fastcgi_script_name =404;
    fastcgi_index index.php;
    include fastcgi.conf;
    fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    }

    Thanks for the assist regardless, now lemme finally put Gibbon through the paces.
    admin