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

nginx/templates/nginx.conf.j2: proxy_force_ranges on;

This commit is contained in:
A Holt 2021-06-22 12:07:25 -04:00 committed by GitHub
parent f6c3ec322b
commit eb4144c08b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# IIAB notes:
# /etc/nginx/sites-enabled is for server declarations
# /etc/nginx/conf.d is for location declarations within the main server block
# /etc/nginx/conf.d/* are included by /etc/nginx/server.conf
# /etc/nginx/sites-enabled/*.conf includes other sites
user www-data;
worker_processes auto;
@ -79,6 +79,11 @@ http {
'' close;
}
# 2021-06-22: Enables HTTP/1.1 byte-range, so Kolibri videos play on Apple
# and LG devices: https://github.com/learningequality/kolibri/issues/8164
# http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_force_ranges
proxy_force_ranges on;
##
# Virtual Host Configs
##