Slash arguments problem on NGINX

Slash arguments problem on NGINX

by manh vu thanh -
Number of replies: 0
Hello,
I have some problems with moodle on NGINX.
1. I have disabled Slash argument with config.php website seems worked.
2. I  enabled Slash Argument all images, js don't load (404 error).
3. I try to config moodle on nginx using
             
$CFG->xsendfile = 'X-Accel-Redirect';
$CFG->xsendfilealiases = array(
    '/dataroot/' => $CFG->dataroot
);
      https://docs.moodle.org/30/en/Nginx#Nginx
I have never get job done, please help me.


Attachment 28-Mar-17 10-30-13 AM.png
Average of ratings: -