We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can I make the right conf of the media? When I access the media,the nginx shows 404. But the static url is right!
This is the part of local.py
#MEDIA_ROOT = os.path.join(BASE_DIR, "media") MEDIA_ROOT = '/home/taiga/media' #STATIC_ROOT = os.path.join(BASE_DIR, "static") STATIC_ROOT = '/home/taiga/static'
And the default.conf
# Static files location /static { alias /taiga/static; } # Media files location /media { alias /taiga/media; }
How can I fix the error? Regards.
The text was updated successfully, but these errors were encountered:
OH! I find the problem that it doesn't have the media volumes ! How can I add the volumes without the dockerFile?
Sorry, something went wrong.
No branches or pull requests
How can I make the right conf of the media? When I access the media,the nginx shows 404. But the static url is right!
This is the part of local.py
#MEDIA_ROOT = os.path.join(BASE_DIR, "media")
MEDIA_ROOT = '/home/taiga/media'
#STATIC_ROOT = os.path.join(BASE_DIR, "static")
STATIC_ROOT = '/home/taiga/static'
And the default.conf
How can I fix the error?
Regards.
The text was updated successfully, but these errors were encountered: