You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-13Lines changed: 0 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -239,19 +239,6 @@ add and/or remove moodle site folders and files with any ftp client program in `
239
239
240
240
#### Webserver
241
241
242
-
##### XSendfile aka X-Accel-Redirect
243
-
244
-
Setting Moodle and Nginx to use XSendfile functionality is a big win as it frees PHP from delivering files allowing Nginx to do what it does best, i.e. deliver files.
245
-
246
-
```
247
-
$CFG->xsendfile = 'X-Accel-Redirect';
248
-
$CFG->xsendfilealiases = array(
249
-
'/dataroot/' => $CFG->dataroot
250
-
);
251
-
```
252
-
253
-
add the above code in the ```./moodle/moodle/config.php``` file.
254
-
255
242
add or remove code in the ```./webserver/templates/nginx.conf.template``` file for custom nginx configurations.
0 commit comments