From 91c3458d55af251582131497c5951ebe68d918e9 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 17 Jan 2024 05:15:19 -0800 Subject: [PATCH] wip attempt to tweak uwsgi to try to serve archive media files with byte range requests --- etc/uwsgi.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/uwsgi.ini b/etc/uwsgi.ini index 9fa83abe..5690281d 100644 --- a/etc/uwsgi.ini +++ b/etc/uwsgi.ini @@ -7,7 +7,12 @@ wsgi-file = archivebox/core/wsgi.py processes = 4 threads = 1 stats = 127.0.0.1:9191 -static-map /static=./archivebox/templates/static +static-map = /static=./archivebox/templates/static +static-map = /static=./archivebox/plugins/replaywebpage/static +static-map = /archive=$(PWD)/archive +static=index = index.html harakiri = 172800 post-buffering = 1 disable-logging = True +check-static +honour-range = True \ No newline at end of file