django-nginx-upload
django-nginx-upload copied to clipboard
Django - gunicorn - nginx 403 forbidden
i have set the configuration files for nginx but it is not giving me file content. please help
I can help only if I can reproduce your error, so please provide complete instructions from downloading the repository to doing so. I would first check inside both containers that the containers in /tmp are created, as this is a bug I've seen before.
actually i want to collect static and media files to the nginx server for that i am getting error.
I am sending you the config files and the code

but i am getting error when i run 'python manage.py collectstatic' (DEBUG=False)


I am not able to add the static and media files to my var/www/html folder so that it can be accessed through nginx server. please help thanks
The issue seems to be STATIC_SERVER_BASEPATH
Sir can you please guide me how to solve this issue. I am trying to solve but didnt. Please help
On Sun, 12 Jul 2020, 9:08 pm Vanessasaurus, [email protected] wrote:
The issue seems to be STATIC_SERVER_BASEPATH
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vsoch/django-nginx-upload/issues/8#issuecomment-657242693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AITHKTHVHWDYQ57D5Q6RJWTR3HNZTANCNFSM4OWKL56A .
Listen to the error message. It’s trying to copy files to a web address, a path that doesn’t exist obviously. Does that make any sense? That path should not have a web address but should be a path on your system. I’m happy to help but this is outside of the scope of the module here and you might consider posting on other general Django help boards. I’m also not a sir.