From 2cfff4fd3adfb22ff4f90bf6c4c2f192bbdb2287 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 2 Jul 2021 14:59:55 -0400 Subject: [PATCH] moodle-nginx.conf.j2: Is MoodleBox using XSendfile to deliver files fast? Or not? --- roles/moodle/templates/moodle-nginx.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/moodle/templates/moodle-nginx.conf.j2 b/roles/moodle/templates/moodle-nginx.conf.j2 index 2f19718e4..a005652eb 100644 --- a/roles/moodle/templates/moodle-nginx.conf.j2 +++ b/roles/moodle/templates/moodle-nginx.conf.j2 @@ -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 }};