DDMAL / VIM

The Virtual Instrument Museum website repository
MIT License
0 stars 2 forks source link

Serve static files with nginx #57

Closed dchiller closed 9 months ago

dchiller commented 9 months ago

Closes #48.

Static files are collected into a docker volume that is shared between the app and nginx containers. Nginx then serves these static files. NOTE: this means all static files must be placed in static folders recognized by django (configurable in settings.py) and all references to static files (eg. in templates) should use the /static/ url.