Tandoor: Fix images not loading.

This commit is contained in:
Dmitry Voronin 2025-01-06 20:08:45 +03:00
parent bf02d9aeef
commit 02e466e971
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 7 additions and 0 deletions

View file

@ -3,5 +3,8 @@
enable = true;
address = "[::1]";
port = 33122;
extraConfig = {
GUNICORN_MEDIA = 1;
};
};
}

View file

@ -9,6 +9,10 @@
deny all;
proxy_pass http://[::1]:33122$request_uri;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto https;
}
ssl_certificate /etc/letsencrypt/live/voronind.com/fullchain.pem;