Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve static files with nginx #57

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Conversation

dchiller
Copy link
Contributor

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.

@dchiller dchiller merged commit ac25879 into DDMAL:develop Oct 11, 2023
1 check passed
@dchiller dchiller deleted the static-files-fix branch October 11, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle serving of static files with nginx
2 participants