Moodle fix?

Discussion in 'Installation/Configuration' started by fbarcenas, Apr 13, 2020.

  1. fbarcenas

    fbarcenas Member

    Everytime I try diagnosing a problem by regenerating the websites under tools; I have go to the website cofnig file and add these lines to make my moodle site work.
    Code:
    location ~ [^/]\.php(/|$) {
        fastcgi_split_path_info  ^(.+\.php)(/.+)$;
        fastcgi_index            index.php;
        fastcgi_pass 127.0.0.1:9085;
    #    fastcgi_pass unix:/var/lib/php5-fpm/web98.sock;
        include                  fastcgi_params;
        fastcgi_param   PATH_INFO       $fastcgi_path_info;
        fastcgi_param   SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }
    Is there is anything I can do to avoid that?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Use the Nginx directives field of the website and do not edit website config files manually.
     
    Th0m likes this.

Share This Page