libretime/api/libretime_api
Jonas L 4603c1759f
feat!: use nginx to serve media files (#2860)
Closes #2522

To reduce the strain on the API service, we moved the media file serving
to the Nginx web server. The API is still handling the authentication,
but delegates the serving using the `X-Accel-Redirect` header.

BREAKING CHANGE: The media file serving is now handled by Nginx instead
of the API service. The `storage.path` field is now used in the Nginx
configuration, so make sure to update the Nginx configuration file if
you change it.
2023-12-30 18:59:15 +01:00
..
_fixtures feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
core refactor(api): fix deprecation warnings (#2839) 2023-12-27 15:46:38 +01:00
history feat(api): don't use hyperlinked serializers (#1984) 2022-07-27 09:54:57 +02:00
legacy feat(legacy): move session store to database (#2523) 2023-05-30 22:25:50 +02:00
podcasts feat(api): don't use hyperlinked serializers (#1984) 2022-07-27 09:54:57 +02:00
schedule chore(api): disable duplicate-code check (#2799) 2023-12-18 18:54:07 +01:00
settings feat!: the `general.secret_key` configuration field is now required (#2841) 2023-12-27 18:15:47 +01:00
storage feat!: use nginx to serve media files (#2860) 2023-12-30 18:59:15 +01:00
tests fix(api): upgrade django code (pre-commit) 2023-04-24 20:46:48 +01:00
__init__.py feat: add python packages version 2023-03-14 14:59:45 +00:00
_constants.py feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
asgi.py feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00
conftest.py test(api): conftest at top level for global fixture access (#2038) 2022-08-10 12:36:56 +02:00
gunicorn.py fix(api): move gunicorn worker config to python file (#2854) 2023-12-29 17:47:50 +01:00
manage.py chore(api): disable some linting rule 2022-06-22 13:37:17 +02:00
permission_constants.py chore(api): disable duplicate-code check (#2799) 2023-12-18 18:54:07 +01:00
permissions.py fix(api): upgrade django code (pre-commit) 2023-04-24 20:46:48 +01:00
urls.py feat(api): move /api-auth to /api/browser (#2094) 2022-09-06 21:30:43 +02:00
wsgi.py feat(api): split api into multiple apps (#1626) 2022-04-04 14:38:50 +02:00