1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

moodle-nginx.conf.j2: Is MoodleBox using XSendfile to deliver files fast? Or not?

This commit is contained in:
A Holt 2021-07-02 14:59:55 -04:00 committed by GitHub
parent 89da8c9db9
commit 2cfff4fd3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
# https://docs.moodle.org/311/en/Nginx
# https://github.com/moodlebox/moodlebox/blob/master/roles/webserver/templates/etc/nginx/sites-available/default.j2
# Odd that MoodleBox.net is using only the 2nd half of https://docs.moodle.org/311/en/Nginx#XSendfile_aka_X-Accel-Redirect ?
#location ~ ^/moodle/dataroot/ {
# internal;
# alias {{ moodle_data }};