mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-21 01:05:30 +00:00
fix: add configurable uwsgi_read_timeout to fix 504 timeout on large M3U imports (fixes #745)
This commit is contained in:
parent
03c8d55ab9
commit
6f54910986
3 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue