Merge pull request #488 from stlalpha/feature/automated-backups

Enhancement: Add automated configuration backups
This commit is contained in:
SergeantPanda 2025-12-15 16:17:33 -06:00 committed by GitHub
commit 4878e92f44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 3280 additions and 0 deletions

View file

@ -35,6 +35,13 @@ server {
root /data;
}
# Internal location for X-Accel-Redirect backup downloads
# Django handles auth, nginx serves the file directly
location /protected-backups/ {
internal;
alias /data/backups/;
}
location /api/logos/(?<logo_id>\d+)/cache/ {
proxy_pass http://127.0.0.1:5656;
proxy_cache logo_cache;

View file

@ -21,6 +21,7 @@ module = dispatcharr.wsgi:application
virtualenv = /dispatcharrpy
master = true
env = DJANGO_SETTINGS_MODULE=dispatcharr.settings
env = USE_NGINX_ACCEL=true
socket = /app/uwsgi.sock
chmod-socket = 777
vacuum = true