fix: add configurable uwsgi_read_timeout to fix 504 timeout on large M3U imports (fixes #745)

This commit is contained in:
Nicholas Gerrer 2026-02-25 23:34:56 -05:00
parent 03c8d55ab9
commit 6f54910986
3 changed files with 3 additions and 0 deletions

View file

@ -36,6 +36,7 @@ if ! [[ "$DISPATCHARR_PORT" =~ ^[0-9]+$ ]]; then
DISPATCHARR_PORT=9191
fi
sed -i "s/NGINX_PORT/${DISPATCHARR_PORT}/g" /etc/nginx/sites-enabled/default
sed -i "s/NGINX_UWSGI_TIMEOUT/${NGINX_UWSGI_TIMEOUT}/g" /etc/nginx/sites-enabled/default
# Configure nginx based on IPv6 availability
if ip -6 addr show | grep -q "inet6"; then