cookiecutter-django/docs
Arkadiusz Michał Ryś 06369bfd4c
Add option to serve media files locally using nginx (#2457)
* Add option to serve media files locally using nginx

* Fix nginx media location and storage issue

* Fix traefik django-media typo

* Add certresolver property to web-media-router

* Add trailing slash in nginx configuration to avoid path traversal exploits

* Remove autoindexing from nginx configuration so nginx uses its default off setting

* Use nginx to serve media files if cloud provider is None

* Add back warning about lack of media files without Docker or Cloud providers

* Update documentation

* Fix typos and rephrase

Co-authored-by: Arkadiusz Ryś <arkadiusz.michal.rys@gmail.com>

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-03-04 18:36:11 +00:00
..
_static Add a _static folder to silence Sphinx' warning 2018-09-15 21:23:29 +01:00
__init__.py Beginning of reorganization of documentation per #335 2015-09-18 09:22:55 -07:00
conf.py Add pyupgrade to pre-commit config (#3702) 2022-05-07 19:21:15 +01:00
deployment-on-heroku.rst Add Webpack support (#3623) 2023-01-29 12:12:12 +00:00
deployment-on-pythonanywhere.rst Upgrade Python version from 3.9 to 3.10 (#3913) 2022-10-24 21:41:00 +01:00
deployment-with-docker.rst Add option to serve media files locally using nginx (#2457) 2023-03-04 18:36:11 +00:00
developing-locally-docker.rst Add note about which service to request when running locally with Docker & Webpack or Gulp (#4130) 2023-02-05 10:00:28 +00:00
developing-locally.rst Add Webpack support (#3623) 2023-01-29 12:12:12 +00:00
docker-postgres-backups.rst Backup - get container ID automatically from docker-compose 2021-07-14 16:06:38 +03:00
document.rst Change docs port to 9000 from 7000 (#3590) 2022-02-13 12:49:05 +00:00
faq.rst Fix typo in docs (#3850) 2022-08-26 15:00:57 +01:00
generate-project-block.rst Improve documentation for Getting started with Docker (#4003) 2022-12-13 21:32:57 +00:00
index.rst Reword introduction in documentation (#3452) 2021-12-08 18:05:19 +00:00
linters.rst Update linters.rst 2020-08-14 15:09:36 +03:00
mailgun.rst Clarify assumption with Mailgun on Heroku page 2021-11-24 21:10:26 +00:00
make.bat Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00
Makefile Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00
project-generation-options.rst Add option to serve media files locally using nginx (#2457) 2023-03-04 18:36:11 +00:00
requirements.txt Update sphinx to 6.1.3 (#4148) 2023-02-08 23:31:25 +00:00
settings.rst Add Azure Storage as an option to serve static and media files (#3967) 2022-11-30 18:26:58 +00:00
testing.rst Fix link, add non-Docker commands (#4036) 2023-01-06 17:48:39 +00:00
troubleshooting.rst Add Webpack support (#3623) 2023-01-29 12:12:12 +00:00
websocket.rst 📝 docs updated after review 2020-06-22 21:42:39 +03:00