mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-21 09:09:22 +00:00
Revert "fix: add configurable uwsgi_read_timeout to fix 504 timeout on large M3U imports (fixes #745)"
This reverts commit 6f54910986.
This commit is contained in:
parent
858c81f826
commit
f53dd7e016
3 changed files with 0 additions and 3 deletions
|
|
@ -41,7 +41,6 @@ export REDIS_DB=${REDIS_DB:-0}
|
|||
export REDIS_PASSWORD=${REDIS_PASSWORD:-}
|
||||
export REDIS_USER=${REDIS_USER:-}
|
||||
export DISPATCHARR_PORT=${DISPATCHARR_PORT:-9191}
|
||||
export NGINX_UWSGI_TIMEOUT=${NGINX_UWSGI_TIMEOUT:-300}
|
||||
export LIBVA_DRIVERS_PATH='/usr/local/lib/x86_64-linux-gnu/dri'
|
||||
export LD_LIBRARY_PATH='/usr/local/lib'
|
||||
export SECRET_FILE="/data/jwt"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ 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
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ server {
|
|||
location / {
|
||||
include uwsgi_params;
|
||||
uwsgi_pass unix:/app/uwsgi.sock;
|
||||
uwsgi_read_timeout NGINX_UWSGI_TIMEOUT;
|
||||
}
|
||||
|
||||
location /assets/ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue