Django Static Files #1981
Unanswered
EfraimGENC
asked this question in
Q&A
Replies: 1 comment
-
Same problem, is there a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm publishing my django project as docker container with these settings below:
Scheme:
http
Forward Hostname / IP:
my_django_container_name
Port:
8000
It works fine. Thanks for NPM :)
However, I need to publish/show my static files. My static file folder paths are:
/home/apps/my_django/staticfiles
/app/staticfiles
I tried both of paths above with
alias
tag inCustom Nginx Configuration
like this:but I'm getting
404 Not Found openresty
error only.Is there anyone who has idea to fix this?
Thanks for all..
Beta Was this translation helpful? Give feedback.
All reactions